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

Feature names get dropped if only one Feature in a Theme #343

Open
edwardsmarc opened this issue Aug 23, 2023 · 1 comment
Open

Feature names get dropped if only one Feature in a Theme #343

edwardsmarc opened this issue Aug 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@edwardsmarc
Copy link
Contributor

I'm doing some data prep for a small AOI which results in a couple of the national data themes only having a single species.

When opened in the app, the theme name (e.g. Critical Habitat: Threatened Species (ECCC)) is displayed along with the color legend, but the species name (e.g. Bank swallow) is dropped.

image

For cases where a Theme only has one Feature, I wonder if we can display them using the same UI code as Themes with multiple Features. So you'd have the nested structure with only a single layer in the Theme dropdown.

I realise this may have been setup for Themes like Rivers and Shoreline that will only ever have one Feature per Theme and so look nicer with the simplified display. But losing the species names is a problem.

This could be fixed in data prep by changing the Theme name in the meta data table, but that get's a bit unruly because the name gets quite long (and I prefer the consistency of having all Themes display in the same style):

image

@edwardsmarc edwardsmarc added the bug Something isn't working label Aug 23, 2023
@DanWismer
Copy link
Contributor

I agree, it would be nice if a single theme could have the nested structure. And also the the single look for features such as Rivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants