Modify

Opened 7 years ago

Last modified 2 years ago

#14982 new enhancement

Drop down menu for Undelete Plugin

Reported by: TBKMrt Owned by: team
Priority: normal Milestone:
Component: Plugin undelete Version:
Keywords: drop down menu Cc:

Description (last modified by Don-vip)

An idea to make the plugin more entry-level friendly would be to add a drop down menu so that you can select what you want to undelete.
If you want to undelete only a single node, way or relation you can select the type and then enter the number. If you want to undelete a list of things you can select "List" and you can write multiple objects in there. There could also be a infobox that tells you how to use the list when you hover over the "Elements" section.

If people want to keep the current way to select eg a node with n123456 then the "Select Type" could be used for that. Just enter the objects either in "Object ID" or "Elements" and click to undelete the object(s).

Take a look at the images for a possible layout.

Drop down menu with open menu.

Attachments (1)

undelete-open.2.png (24.9 KB ) - added by TBKMrt 7 years ago.
Drop down menu with open menu.

Download all attachments as: .zip

Change History (5)

by TBKMrt, 7 years ago

Attachment: undelete-open.2.png added

Drop down menu with open menu.

comment:1 by Don-vip, 7 years ago

Description: modified (diff)

comment:2 by skyper, 4 years ago

First step would be to harmonize it with download object and have a combo for object type. In general, keeping similar dialogs in similar/same format is a good idea and user friendly.

comment:3 by skyper, 3 years ago

I guess many code from Download object could be reused for Undelete.

  • the paste recognition
  • the additional drop down for object type
  • the history for object id with drop down
  • even the checkbox for downloading relation members makes sense.
Screenshot for Download Object dialog (updated) undelete screenshot
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-05-17 21:27:21 +0200 (Mon, 17 May 2021)
Revision:17903
Build-Date:2021-05-18 01:31:02
URL:https://josm.openstreetmap.de/svn/trunk

Plugins:
+ undelete (35640)

comment:4 by skyper, 2 years ago

See also #22000 for a better support when pasting fro buffer.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to TBKMrt.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.