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

If Favorites are not Implemented, hide Stars in Catalog #852

Open
tchaddad opened this issue Feb 14, 2024 · 2 comments
Open

If Favorites are not Implemented, hide Stars in Catalog #852

tchaddad opened this issue Feb 14, 2024 · 2 comments

Comments

@tchaddad
Copy link
Collaborator

Currently, I think if a GeoMoose app is not configured to use the Favorites option, we still get the "Stars" option appearing in the Catalog items. This can be confusing for users who wonder what the stars are for.

If the stars could be hidden in cases where app.js does not specify app.add(gm3.components.Favorites, 'favorites') that would be a nice enhancement.

@theduckylittle
Copy link
Member

Fix for this can be done with CSS:

.layer .favorite {
  display: none;
}

.layer .layer-label {
   display: flex;
   align-items: center;
}

@theduckylittle
Copy link
Member

Can we add this to the how-to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants