Closed tordans closed 4 weeks ago
The newest version supports reordering of tags by drag & drop.
https://trafficsigns.osm-verkehrswende.org/DE?signs=DE%3A239%2C1022-10%3B1000-31
This was harder to implement than I expected, mainly due to issues with handling the state in NUQS (URL) and using the list state library that react aria components rely on. I am now using framer motion reorder.
Context
The order is relevant for the
traffic_sign=*
tag.It probably also need to be considered when updating tags.
Right now one needs to add the signs in the right order and remove them to reorder them.
Story
Add drag and drop to reorder
Research