codeant-ai-for-open-source[bot] commented on PR #37863:
URL: https://github.com/apache/superset/pull/37863#issuecomment-3880875833
## **Sequence Diagram**
Shows how switching from a static pagination prop to a default prop lets the
Ant Design Table manage page-size state so a user's selection persists. The
diagram highlights the initial setup and the successful user-driven page-size
change flow introduced by this PR.
```mermaid
sequenceDiagram
participant User
participant DocsPage as "DatabaseIndex (Docs Page)"
participant Table as "AntD Table"
participant Data as "filteredDatabases"
User->>DocsPage: Open database overview
DocsPage->>Table: Render with pagination={ defaultPageSize: 20,
showSizeChanger: true }
User->>Table: Select new page size (e.g., 50)
Table->>Data: Render first page with new pageSize (internal state)
Table-->>User: Display 50 items per page (selection persists)
```
---
*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]