codeant-ai-for-open-source[bot] commented on PR #38746:
URL: https://github.com/apache/superset/pull/38746#issuecomment-4091033176
## **Sequence Diagram**
This PR aligns chart templates with the expected group by list format and
centralizes group by normalization logic used by both XY and mixed timeseries
schemas. It also expands secondary group by alias support so more payload
variants are accepted consistently.
```mermaid
sequenceDiagram
participant User
participant MCPService
participant ChartTemplates
participant SchemaValidator
participant ChartConfigModel
User->>MCPService: Request chart configuration example
MCPService->>ChartTemplates: Load example template
ChartTemplates-->>MCPService: Return group by as list format
User->>MCPService: Submit chart config payload
MCPService->>SchemaValidator: Validate XY or Mixed config
SchemaValidator->>SchemaValidator: Normalize group by input and map
secondary alias
SchemaValidator-->>MCPService: Return normalized config model
MCPService-->>User: Accept config for chart generation
```
---
*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]