Skip to content

Improvement suggestions color selector #1196

@anders-kiaer

Description

@anders-kiaer
  • 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.

Metadata

Metadata

Labels

AspenTechTask owned by AspenTechenhancementNew feature or requestmap-componentIssues related to the map component.

Type

No type

Projects

Status

Done 🏁

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions