VEuPathDB / web-monorepo

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

Tweak marker selection snackbar messages so they are more suitable for filter-related scenarios. #1054

Closed bobular closed 5 months ago

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.

Originally posted by @bobular in https://github.com/VEuPathDB/web-monorepo/issues/617#issuecomment-2079398286

bobular commented 5 months ago

The new message could be Marker selection has been cancelled because there are no visible markers in the current view

bobular commented 5 months ago

The tweaked message could be Selected markers that are no longer visible have been deselected