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

Improvement suggestions color selector #1196

Closed
anders-kiaer opened this issue Sep 14, 2022 · 0 comments
Closed

Improvement suggestions color selector #1196

anders-kiaer opened this issue Sep 14, 2022 · 0 comments
Assignees
Labels
AspenTech Task owned by AspenTech enhancement New feature or request map-component Issues related to the map component.

Comments

@anders-kiaer
Copy link
Collaborator

anders-kiaer commented Sep 14, 2022

  • Independent usage (outside of map) - Support "preview" possibility and standalone usage emerson-eps/color-tables#273
    • Preview of color scale
    • When clicking on the preview, open up the dialog
      • Ensure dialog box is always visible (use e.g. React portal and append to <body> in order to add it at top level).
      • Ensure dialog box pops up left/right/top/bottom according to where on screen you are
    • Find a good UI way for closing the dialog box (clicking outside closes and/or add X to close).
      • Add a modal prop (modal=true: close it clicking outside, modal=false: add an X to close + clicking on color selector).
  • In color scale selector - ColorSelector: hover state and pointer cursor emerson-eps/color-tables#252
    • Highlight currently selected color scale.
    • CSS improvements: On-hover for changing background + cursor pointer.
@anders-kiaer anders-kiaer added enhancement New feature or request AspenTech Task owned by AspenTech map-component Issues related to the map component. labels Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AspenTech Task owned by AspenTech enhancement New feature or request map-component Issues related to the map component.
Projects
Status: Done 🏁
Development

No branches or pull requests

3 participants