SiLeBAT / fcl-client

Web app for analyzing food delivery networks
https://silebat.github.io/fcl-client/
GNU General Public License v3.0
7 stars 2 forks source link

Refine display of legend entries #785

Closed afalenski closed 3 months ago

afalenski commented 4 months ago

As a user I would like the position of legend entries to be comprehensible.

At the moment, the position of an entry in the station highlighting list defines its position in the legend. However, if there is only a delivery highlighting active (e.g. Outbreak, Kill Contamination) and if you move this to another position in the Highlightings tab, it does not move in the legend or moves to surprising positions:

Example: In the highlighting conditions list Outbreak is at the first position in delivery and station highlightings. However, if only deliveries are marked as outbreak, the entry "Outbreak" is the last entry in the legend. If you add an outbreak station, it becomes the first entry. Outbreak should always at the same position in the legend as in the highlighting conditions list.

Could the rule for the position in the legend be amended?

arne-z commented 3 months ago

After discussion with Marion: The duplicate names issue is will be considered out of scope for this story, and will be handled in a separate ticket.

afalenski commented 3 months ago

OS: Windows 10

Datasets:

Browsers: