kmpoppe / noteSolver

JOSM Plugin: Automatically resolve notes after uploading a changeset.
https://wiki.openstreetmap.org/wiki/User:Kmpoppe/Plugins#noteSolver
GNU General Public License v3.0
12 stars 3 forks source link

Add/Edit Default message #19

Closed risturiz closed 1 year ago

risturiz commented 2 years ago

Hi, im using this plugin and making some tests... The option to add/edit default message should help a lot ( add additional hashtags, etc ).

Thanks.

kmpoppe commented 2 years ago

Hello Rafael,

thanks for your suggestion. What exactly do you mean? Like an input box before the Upload of the changeset asking for a default comment that should get added to all notes that the upload will close together with the changeset?

K

risturiz commented 2 years ago

Yes, like preference box? So we can add some defaults hashtags to the "close" message ( i don't know if this can be different from changeset upload and the note close upload message )... This help to save a lot of time on Notathon :-)

Thanks!

kmpoppe commented 2 years ago

As you might have seen, there isn't a preferences dialog as of yet. I don't remember what I was planning on doing one for, I might have to look into that again :)

natrius commented 2 years ago

Sounds usefull. But with variables. Because i sometimes tend to go out and resolve quite a lot of notes i stumbled already on the max-cs-comment-size as well, so i tend to shorten the links. As said, with some predefined variables for [csnumber] or something like that, sounds good.

angoca commented 2 years ago

Another way could be add the following Strings in the Advanced Preferences (Expert mode), with defaults the current values.

File org.openstreetmap.josm.plugins.notesolver.NoteSolverPlugin.java

With keys like:

In this way, the automatic messages can be personalized, and there is no need for a dialog.

kmpoppe commented 1 year ago

Closed by 4b96a6b

kmpoppe commented 1 year ago

This is now in the released state, the plugin should automagically update within JOSM.

risturiz commented 1 year ago

For the record... Thanks again, this help a lot!

notesolver-config