VEuPathDB / web-monorepo

A monorepo that contains all frontend code for VEuPathDB websites
Apache License 2.0
2 stars 0 forks source link

Map - improve visual feedback of multiple-selecting markers and snackbar notifications when they are removed without direct user action #617

Closed bobular closed 5 months ago

bobular commented 11 months ago

Currently there isn't great visual feedback when selecting a marker See from 00m35s in the video in this comment: https://github.com/VEuPathDB/web-monorepo/pull/588#issuecomment-1792724120

One option could be to highlight the popup at the same time.

Another could be to add a yellow fill to the geohash rectangle.

Going to discuss this in Map UX today.

Tacking on the snackbar work to this so here are some checkboxes:

bobular commented 5 months ago

I just noticed that the snackbar messages come up as a result of filtering. This was an inevitability of my simple approach - oops!

Example 1.

This could be ameliorated with some minor verbiage changes. The code that produces the message doesn't know about filters and subsets AFAIK.

Example 2.

This is coming up because consolidatedMarkers.length is zero. This can be fixed with a new message for when there are no markers on the screen any more.