Modify

Opened 2 years ago

Last modified 2 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 Changed 2 years ago by taylor.smock

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.
to The owner will be changed from team to the specified user.
The owner will change to taylor.smock
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.