-
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
Add layer panel component #51
Add layer panel component #51
Conversation
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.
Please make use of aria-label
for all the UI elements added (for all semantic HTML tags). https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
src/plugins/maps_dashboards/public/components/layer_control_panel/layer_control_panel.tsx
Outdated
Show resolved
Hide resolved
src/plugins/maps_dashboards/public/components/layer_control_panel/layer_control_panel.scss
Outdated
Show resolved
Hide resolved
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.
Functionally the code looks good :) All my comments are about styling but not blockers.
src/plugins/maps_dashboards/public/components/add_layer_panel/add_layer_panel.scss
Outdated
Show resolved
Hide resolved
src/plugins/maps_dashboards/public/components/layer_control_panel/layer_control_panel.scss
Outdated
Show resolved
Hide resolved
src/plugins/maps_dashboards/public/components/layer_control_panel/layer_control_panel.scss
Outdated
Show resolved
Hide resolved
src/plugins/maps_dashboards/public/components/layer_control_panel/layer_control_panel.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Junqiu Lei <[email protected]>
Signed-off-by: Junqiu Lei [email protected]
Description
Added UI: add layer button, hide layer button and delete layer button.
Added function: When click on "Add layer" button at layer control panel, it will go to Add layer panel modal.
Screenshot
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.