codeant-ai-for-open-source[bot] commented on PR #38277:
URL: https://github.com/apache/superset/pull/38277#issuecomment-4049592605
## **Sequence Diagram**
This PR fixes major MCP tool failures by moving owner and favorite filtering
into DAO-level query handling, and by making url chart previews return an
explore link instead of an unsupported format error. The diagram shows the main
success paths for both behaviors.
```mermaid
sequenceDiagram
participant Client
participant MCPService
participant DAOLayer
participant Database
alt List dashboards or datasets with owner favorite filters
Client->>MCPService: Request list with owner or favorite filters
MCPService->>DAOLayer: find_all with column operators
DAOLayer->>Database: Run owner or favorite subquery filters
Database-->>DAOLayer: Matching resource ids
DAOLayer->>Database: Fetch filtered records
Database-->>MCPService: Filtered items with counts
MCPService-->>Client: Return list response with pagination
else Get chart preview in url format
Client->>MCPService: Request chart preview with url format
MCPService-->>Client: Return explore link preview
end
```
---
*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]