codeant-ai-for-open-source[bot] commented on PR #37591:
URL: https://github.com/apache/superset/pull/37591#issuecomment-3829488442
## **Sequence Diagram**
The 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.
```mermaid
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](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]