codeant-ai-for-open-source[bot] commented on PR #38054:
URL: https://github.com/apache/superset/pull/38054#issuecomment-3919147029
## **Sequence Diagram**
When opening the report edit modal, the component now seeds Select options
from saved report resource nativeFilters so friendly names display immediately;
when the dashboard tabs API returns it overwrites with the full filter list.
This prevents the Select from showing raw native filter IDs due to a race.
```mermaid
sequenceDiagram
participant User
participant AlertReportModal
participant Resource (saved report)
participant DashboardAPI
User->>AlertReportModal: Open report in edit mode
AlertReportModal->>Resource: Read resource.extra.dashboard.nativeFilters
Resource-->>AlertReportModal: saved filters (id + filterName)
AlertReportModal->>AlertReportModal: Seed nativeFilterOptions from saved
filterName (show friendly names)
AlertReportModal-->>User: Render Select with friendly names
AlertReportModal->>DashboardAPI: Async fetch /api/v1/dashboard/{id}/tabs
DashboardAPI-->>AlertReportModal: Full native filter list
AlertReportModal->>AlertReportModal: Overwrite nativeFilterOptions with
full list
```
---
*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]