-
Notifications
You must be signed in to change notification settings - Fork 46
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
Integrate layerList to store and add breadcrumbs #80
Integrate layerList to store and add breadcrumbs #80
Conversation
Signed-off-by: Junqiu Lei <[email protected]>
Shall we update breadcrumb immediately with name once it is saved for first time? |
Makes sense to immediately update breadcrumb once saved. Updated the code, you could check the updated demo as well. |
Signed-off-by: Junqiu Lei <[email protected]>
maps_dashboards/public/components/layer_control_panel/layer_control_panel.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Junqiu Lei <[email protected]>
maps_dashboards/public/components/layer_control_panel/layer_control_panel.tsx
Outdated
Show resolved
Hide resolved
@ashwin-pc Thanks your helpful feedback here and offline discussion! I updated the PR to make fetch saved object at top level component, and for the layers hook, I found most of components need use it and it doesn't have too much levels of component, I prefer to remain the existing hooks to use. |
Signed-off-by: Junqiu Lei <[email protected]>
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.
The updates look nice! The code is much more readable. A few additional comments, some suggestions and a few questions. No real blockers. Just want to see your responses to my comments before approving.
maps_dashboards/public/components/layer_control_panel/layer_control_panel.tsx
Show resolved
Hide resolved
Signed-off-by: Junqiu Lei <[email protected]>
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.
LGTM
Signed-off-by: Junqiu Lei [email protected]
Description
app/maps-dashboards/{id}
Issues Resolved
#68
Demo
map_demo_integrate_layers_to_store.mov
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.