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

Side panel UX improvements #421

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

chowington
Copy link
Member

@chowington chowington commented Aug 14, 2023

Resolves #403

I'm marking this as ready to merge while we're still considering the idea of general UI persistence. Further work can be in another ticket.

@chowington chowington changed the title Have the active map type config panel open by default Side panel UX improvements Aug 21, 2023
@chowington chowington marked this pull request as ready for review August 21, 2023 20:28
Copy link
Member

@bobular bobular left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. The functionality works for the marker mode and menu/drawer open/hidden state is preserved on page refresh.

I made a comment for the follow-on work #444 (comment)

@@ -222,6 +224,7 @@ export function useAppState(uiStateKey: string, analysisState: AnalysisState) {
),
setMarkerConfigurations: useSetter('markerConfigurations'),
setBoundsZoomLevel: useSetter('boundsZoomLevel'),
setIsSidePanelExpanded: useSetter('isSidePanelExpanded'),
setIsSubsetPanelOpen: useSetter('isSubsetPanelOpen'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it's outside the scope of this PR but isSubsetPanelOpen seems to be unused.
If you agree, maybe we could remove it here, rather than make a trivial tech debt ticket?

@chowington chowington merged commit eb7f285 into map-collection-variable-map-type Aug 30, 2023
@chowington chowington deleted the 403-maptype-config-UX branch August 30, 2023 17:36
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.

3 participants