Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legend previews from toolbar in Cesium #2465

Closed
robyngit opened this issue Jun 20, 2024 · 0 comments · Fixed by #2526
Closed

Remove legend previews from toolbar in Cesium #2465

robyngit opened this issue Jun 20, 2024 · 0 comments · Fixed by #2526
Assignees
Labels
cesium enhancement pdg Permafrost Discovery Gateway portals Anything related to portals
Milestone

Comments

@robyngit
Copy link
Member

In the new cesium map UX design, we are transitioning from showing legend previews in the layers list and layer details view to displaying a full legend at the bottom left corner of the map.

This work is already done in PR #2448, but we need to consider whether to keep or remove the image previews from base layers and other imagery layers, as they are not shown in the legend view.

Mockups: https://www.figma.com/design/6bbLaj8VZViuArkhpzMm9M/PDG-Enhancements?node-id=42-2041&t=moYEH5sCJgehbqL6-4

Here is some of the feedback already collected from Slack:

As the inline legend is hard to read and interpret, I think the complete replacement makes sense, assuming others agree and we're not losing functionality.

I really like the idea of showing the legend values at all times (whether they are categories or the min/med/max of the continuous values) without the requirement for the user to hover.

That mini legend evolved partly out of a concern that users might have trouble quickly identifying which layer in the list belongs to which layer on the map. I thinking when you show/hide the layer, it's very clear which is which, but I'm curious what others think?

I do like the little previews that are shown for imagery layers (e.g. for the satellite imagery), and they aren't shown in the legend view. Is there room to keep those, or are they not really needed?

@robyngit robyngit added enhancement portals Anything related to portals pdg Permafrost Discovery Gateway cesium labels Jun 20, 2024
@robyngit robyngit linked a pull request Jun 20, 2024 that will close this issue
@robyngit robyngit added this to the 2.31.0 milestone Jun 20, 2024
@robyngit robyngit removed this from the 2.31.0 milestone Sep 9, 2024
@robyngit robyngit linked a pull request Sep 17, 2024 that will close this issue
@robyngit robyngit added this to the 2.32.0 milestone Sep 17, 2024
@robyngit robyngit closed this as completed Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cesium enhancement pdg Permafrost Discovery Gateway portals Anything related to portals
Projects
None yet
3 participants