codeant-ai-for-open-source[bot] commented on PR #38470:
URL: https://github.com/apache/superset/pull/38470#issuecomment-4038540203

   ## **Sequence Diagram**
   
   This PR lets filter creators choose a match type for Select filters and, 
when an ILIKE option is selected on a string column, switches the runtime UI to 
a debounced text input that sends ILIKE or NOT ILIKE queries with appropriate 
wildcards.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant ConfigUI as Filter config UI
       participant Dashboard as Dashboard filter
       participant Backend as Query engine
   
       User->>ConfigUI: Configure Select filter
       ConfigUI->>ConfigUI: Choose Match type for column
       ConfigUI->>Dashboard: Save operatorType and reset default data mask
   
       User->>Dashboard: Use Select filter on dashboard
   
       alt Match type is Exact
           Dashboard->>Dashboard: Render dropdown and collect selected values
           Dashboard->>Backend: Send IN or NOT IN filter via extra form data
       else Match type is ILIKE and column is string
           Dashboard->>Dashboard: Render text input with operator-specific hint
           User->>Dashboard: Type search text
           Dashboard->>Backend: Send ILIKE or NOT ILIKE filter with wildcard
       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]

Reply via email to