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

   ## **Sequence Diagram**
   
   This diagram shows how the new Match type option on the Select native filter 
configures LIKE and ILIKE behavior, and how user input is translated into 
wildcard ILIKE filters when using partial text matching.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant FiltersConfigModal
       participant SelectFilterPlugin
       participant FilterUtils
       participant Backend
   
       User->>FiltersConfigModal: Open Select filter settings
       FiltersConfigModal->>FiltersConfigModal: Load column metadata and 
available match types
       User->>FiltersConfigModal: Choose Match type Contains text
       FiltersConfigModal-->>SelectFilterPlugin: Save operatorType for this 
filter
   
       User->>SelectFilterPlugin: Type search text in filter input
       SelectFilterPlugin->>FilterUtils: Build extra form data with operator 
type and value
       FilterUtils-->>SelectFilterPlugin: Return filters using ILIKE with 
wildcards
       SelectFilterPlugin-->>Backend: Update data mask and run query with new 
filter
       Backend-->>User: Return results matching partial text
   ```
   
   ---
   *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