The new component for "Active Layers" has some unexpected behavior. Sometimes labels are lost or repeated, and the drag-to-reorder behavior sometimes doesn't work. Sometimes the order of the labels does not represent the order of the layers.
Tangential to this fix, I think it would be useful to have "X"s on each row to remove individual layers. Maybe the gear could be moved to the left after the grab icon to make room for an "X" on the right.
Also shown in this video: the labels in the "Available Datasets" are not wrapping properly, so they get cut off by the edge of the side drawer. Adding some CSS to make these wrap should fix this.
The new component for "Active Layers" has some unexpected behavior. Sometimes labels are lost or repeated, and the drag-to-reorder behavior sometimes doesn't work. Sometimes the order of the labels does not represent the order of the layers.
Tangential to this fix, I think it would be useful to have "X"s on each row to remove individual layers. Maybe the gear could be moved to the left after the grab icon to make room for an "X" on the right.
https://github.com/OpenGeoscience/uvdat/assets/44912689/3bfb6de3-dadc-4e89-8a85-61204a6a4e28
Also shown in this video: the labels in the "Available Datasets" are not wrapping properly, so they get cut off by the edge of the side drawer. Adding some CSS to make these wrap should fix this.