-
Notifications
You must be signed in to change notification settings - Fork 0
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
Map type plugin feature #399
Conversation
Changes include: - Variable renaming - Modifications to finding active menu item and active map type - Extracting some components
* Move active viz to realm of map type config, and clean up some labels and ids.
@bobular you won the dice roll for this review! |
I've converted this back to a draft, because I don't think it should be merged this close to a release. Also, the UI changes are likely not desired until we have a collections map type implemented. |
Side panel UX improvements
* Remove marker-related props from MapVEuMap * Move onBoundsChange logic to MapVEuMap; clean up SemanticMarkers hooks * Extract getDefaultAxisRange function * Move DraggableLegendPanel to its own module * Move defaultAnimation to its own module * Extract bubble overlay config into its own function * Add MapType plugins * Wire up MapType plugins * Use plugin displayName in menu * Reduce props passed to getData * Checkpoint commit using @tanstack/query * Incorporate additional changes from merge * Checkpoint - Remove `getData` from `MapTypePlugin` interface - Utilize react-query to cache network requests - Move constants from index module, to prevent circular imports * Add TODO * Propagate selected values for marker configuration to overlay config * Remove TODO * Keep previous query data; use isFetching status to show spinners for maker data * Introduce `MapTypeHeaderDetails` to `MapTypePlugin` * Remove unused type * Crudely reimplment "flyToData" * Pass valueSpec to standalone map markers * Remove out of date comments and code * Remove old comments * Move shared interface to shared file * Use destructured variables * bring back old behaviour for now --------- Co-authored-by: Bob <uncoolbob@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Don't forget the REMOVE_ME file.
__REMOVE_BEFORE_MERGING.md
Outdated
@@ -0,0 +1 @@ | |||
This branch is the target for work done to address #241 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you see this ☝️ ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested but l trust you that this works!
Overview
related to #241
fixes #403
This branch is the target of some PRs related to #241. The changes to merge are primarily concerned with restructuring the left hand menu.
Here is an image of what it looks like now:
Note that merged child PRs (listed below) have been approved. Please look at those individual PRs for details. This PR should be approved when we are ready to merge (due to data availability, etc).
Child PRs