-
Notifications
You must be signed in to change notification settings - Fork 16.6k
refactor: consolidating ColorSchemeEnum settings into one place #37591
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
base: master
Are you sure you want to change the base?
Conversation
Sequence DiagramThe PR centralizes duplicate ColorSchemeEnum definitions into the @superset-ui/chart-controls package. Plugins and UI controls now import the single enum and use it for conditional formatting and control panels. sequenceDiagram
participant Plugin as Plugin (Table / AgGrid / ECharts)
participant ChartControls as @superset-ui/chart-controls
participant UI as Explore UI / FormattingPopover
participant Test as Unit Tests / ControlPanel tests
Plugin->>ChartControls: import ColorSchemeEnum
ChartControls-->>Plugin: exports central ColorSchemeEnum
Plugin->>UI: use ColorSchemeEnum for conditional formatting & control panel options
UI-->>Plugin: render controls / formatting using enum values
Test->>Plugin: import config that references ColorSchemeEnum
Test-->>ChartControls: resolves enum import (ensures single source)
Generated by CodeAnt AI |
Code Review Agent Run #ea0a37Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Code Review Agent Run #102d42Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
SUMMARY
The ColorSchemeEnum declarations, which were duplicated, have been merged.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION