codeant-ai-for-open-source[bot] commented on PR #38909:
URL: https://github.com/apache/superset/pull/38909#issuecomment-4142163693
## **Sequence Diagram**
This PR changes the native filter configuration modal to avoid auto-creating
filters when opened with no items, showing coordinated empty states in both
panels and only creating a filter when the user explicitly adds one from the
sidebar dropdown.
```mermaid
sequenceDiagram
participant User
participant FilterBar
participant FilterConfigModal
participant Sidebar
participant ContentPanel
User->>FilterBar: Open filter settings
FilterBar->>FilterConfigModal: Open modal with createNewOnOpen false
FilterConfigModal->>FilterConfigModal: Detect no filters or
customizations
FilterConfigModal->>Sidebar: Render empty state message
FilterConfigModal->>ContentPanel: Render empty state guidance
User->>Sidebar: Add filter from dropdown
Sidebar->>FilterConfigModal: Create new filter item
FilterConfigModal->>Sidebar: Show filter in list
FilterConfigModal->>ContentPanel: Show filter editor
```
---
*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]