codeant-ai-for-open-source[bot] commented on PR #37975:
URL: https://github.com/apache/superset/pull/37975#issuecomment-4053029188
## **Sequence Diagram**
This PR updates DrillDetailPane so pagination changes can include page size
changes, and data fetching now uses the active page size instead of a fixed
constant. When page size changes, cached pages are cleared and paging resets to
the first page to keep results consistent.
```mermaid
sequenceDiagram
participant User
participant Table
participant DrillDetailPane
participant SamplesAPI
User->>Table: Change page or page size
Table->>DrillDetailPane: Send pagination change
alt Page size changed
DrillDetailPane->>DrillDetailPane: Update page size clear cache
reset to page one
else Page changed only
DrillDetailPane->>DrillDetailPane: Update current page index
end
DrillDetailPane->>SamplesAPI: Fetch samples with current page size and
page
SamplesAPI-->>DrillDetailPane: Return rows and total count
DrillDetailPane-->>Table: Render updated paginated data
```
---
*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]