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

   ## **Sequence Diagram**
   
   This PR fixes stale filtering by making the table filter callback react to 
updated filter text instead of closing over an initial value. It also adjusts 
the ResultSet container spacing so the bottom rows are not visually clipped.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant ResultSet
       participant FilterableTable
       participant GridTable
   
       User->>ResultSet: Enter filter text
       ResultSet->>FilterableTable: Pass current filterText prop
       FilterableTable->>FilterableTable: Build keyword filter with latest 
filterText
       FilterableTable->>GridTable: Apply keyword filter to table rows
       GridTable-->>User: Show matching rows
   
       User->>ResultSet: Clear or change filter text
       ResultSet->>FilterableTable: Re render with new filterText
       FilterableTable->>GridTable: Reapply filter and show all or new matches
   ```
   
   ---
   *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