Modify

Opened 4 years ago

Last modified 4 years ago

#19591 new enhancement

[RFC] Add a datepicker interface to JOSM

Reported by: taylor.smock Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by taylor.smock)

See comment:36:ticket:14921 for a potential usecase in core.

I've got an implementation over here: https://gitlab.com/smocktaylor/josm_datepicker/-/blob/master/src/main/java/org/openstreetmap/josm/plugins/datepicker/IDatePicker.java .

Would it be a good idea to put that in core? If so, I'll make some modifications and post it.

Notes: Currently uses java.time.LocalDate instead of java.util.Date. There probably won't be a UI, at least initially, to set the config value that determines the appropriate class to initialize.

Right now, my intent is to use this in the Mapillary plugin to remove the JavaFX dependency. I will probably post a patch for the JavaFX plugin that will enable it to be used as a date picker without being a hard dependency for other plugins.

Alternatively, I can just use it as a plugin, but I'd like to avoid having Mapillary depend upon libraries that are not modifiable by core developers.

So I would like to put the plugin in a location where core developers can make modifications to it if I cannot (i.e., a bus hits me).

Options:

1) OSM SVN. Not an option (#19509)
2) Add the plugin to the JOSM GitHub group, probably with a bidirectional mirror on Gitlab's end (I dislike using Github)
3) Wait for the JOSM Gitlab instance to be spun up and become available for plugin authors (#16857). This would make Mapillary depend upon out-of-tree plugins for some period of time.

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 4 years ago

Description: modified (diff)

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 taylor.smock.
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.