codeant-ai-for-open-source[bot] commented on PR #38277:
URL: https://github.com/apache/superset/pull/38277#issuecomment-4054213860
## **Sequence Diagram**
This PR fixes key MCP failures by adding DAO-level handling for dashboard
and dataset owner or favorite filters, then returning stable paginated list
results. It also changes URL chart preview behavior to return an explore link
for saved charts instead of failing as an unsupported format.
```mermaid
sequenceDiagram
participant Client
participant MCP
participant DashboardDAO
participant DatasetDAO
participant Database
Client->>MCP: List dashboards or datasets with owner favorite filters
MCP->>DashboardDAO: Apply dashboard column operators
DashboardDAO->>Database: Filter by owner relation and current user
favorites
MCP->>DatasetDAO: Apply dataset column operators
DatasetDAO->>Database: Filter by owner relation
Database-->>MCP: Return filtered rows and counts
MCP-->>Client: Return list response with 1 based page value
Client->>MCP: Request chart preview in url format
MCP->>MCP: Build explore link from chart id
MCP-->>Client: Return url preview response
```
---
*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]