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/layer actions #23

Closed
wants to merge 14 commits into from
Closed

Feature/layer actions #23

wants to merge 14 commits into from

Conversation

mbwatson
Copy link
Member

@mbwatson mbwatson commented May 6, 2024

this PR brings in a changes to layer cards in the layers tray. the data rendered in the card itself is tidied up (not sure it's what we ultimately want, but a step in the right direction in terms of less clutter) and action buttons are introduced for metadata, opacity, color ramp, delete layer. layer reordering is also implemented, although not via drag-and-drop for the sake of simplicity for now.

this PR also comes with setting up theming and a dark mode toggle in settings. i created a couple styles in mapbox studio for simple light and dark basemaps. of course, we can customize later.

mbwatson added 14 commits May 4, 2024 09:55
add up/down buttons to layer cards

add adjacent swap ordering buttons to layers

add layer move and delete actions
use small expand button
fix move button flex

minor styling

remove comment
align inconsistent indentation
we don't keep expanded cards in state any longer.
@mbwatson mbwatson requested a review from lstillwe May 6, 2024 14:18
@mbwatson mbwatson closed this May 6, 2024
@mbwatson mbwatson deleted the feature/layer-actions branch May 6, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant