openstreetmap-ng icon indicating copy to clipboard operation
openstreetmap-ng copied to clipboard

Automatic note closing on changeset close

Open Zaczero opened this issue 1 year ago • 2 comments
trafficstars

I thought of an idea, some editors indicate which notes have been closed during the editing process:

image

However, closing a note before uploading the changes is not practically correct and may introduce confusion.

  • Let's introduce a special changeset tagging closes:note that will automatically close the given notes whenever that changeset is closed.
  • Format is similar to closed:note: numeric IDs separated by ;.
  • By default, the changeset's comment is used as the closing message on the notes (if provided).
  • It is possible to provide alternate comment for all notes via closes:note:comment.
  • Individual note comments can be set using closes:note:ID:comment.
  • If no comment is provided on the changeset, or in the override tagging, the notes are closed without a message.
  • In a case the note is already closed, do nothing.
  • Testing would be nice but we can do that later (outside of the scope of the bounty).

Zaczero avatar Oct 18 '24 10:10 Zaczero

noteSolver plugin for JOSM could potentially use such tags: https://github.com/kmpoppe/noteSolver

starsep avatar Oct 18 '24 10:10 starsep

noteSolver plugin for JOSM could potentially use such tags: https://github.com/kmpoppe/noteSolver

It's a good idea to associate changeset with the note closing messages. We will do that in a separate issue and likely store the association info in the db.

Zaczero avatar Oct 18 '24 10:10 Zaczero