josm icon indicating copy to clipboard operation
josm copied to clipboard

JOSM #21944 - Add 'replace selected' action to relation editor

Open Woazboat opened this issue 3 years ago • 4 comments

Add a new action + button to the relation editor to replace chosen member primitives with objects from selection (while keeping the roles).

Woazboat avatar Mar 17 '22 01:03 Woazboat

Don't forget to open a ticket on the JOSM side and to link the ticket here and this PR there.

grischard avatar Mar 17 '22 03:03 grischard

Ah sorry, forgot to add the reverse link here https://josm.openstreetmap.de/ticket/21944

Woazboat avatar Mar 17 '22 15:03 Woazboat

One comment with the replaceselectedright.svg: As we are replacing something, should some portion of the blue bar be red (maybe two pixels or something?).

I'm pretty sure a better icon than the one I quickly added here could be created. Unfortunately I didn't really have any good ideas how to represent replacement (and have limited art skills), so any suggestions or icon contributions are welcome.

Woazboat avatar Aug 31 '22 14:08 Woazboat

I changed the icon to be partially red and fixed some checkstyle issues

Woazboat avatar Jan 11 '23 01:01 Woazboat