-
Notifications
You must be signed in to change notification settings - Fork 76
fix(FR-890): Fix pagination count issue in agent summary table #3567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(FR-890): Fix pagination count issue in agent summary table #3567
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 3.93% | 409/10408 |
🔴 | Branches | 3.3% | 240/7277 |
🔴 | Functions | 2.39% | 79/3299 |
🔴 | Lines | 3.87% | 394/10185 |
Test suite run success
124 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from 251d35d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the pagination total count in the AgentSummaryList component so that it reflects the number of filtered agent summaries rather than the entire list.
- Replaces the use of agent_summary_list.total_count with filteredAgentSummaryList.length for the pagination total.
- Updates the pagination configuration in AgentSummaryList to accurately display the count after filtering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge activity
|
Resolves #3566 ([FR-890](https://lablup.atlassian.net/browse/FR-890)) # Fix pagination total count in AgentSummaryList This PR updates the pagination total count in the AgentSummaryList component to use the length of the filtered agent summary list instead of the total count from the agent summary list. This ensures that the pagination accurately reflects the number of items currently being displayed after filtering. **Checklist:** - [ ] Documentation - [ ] Minium required manager version - [x] Specific setting for review (eg., KB link, endpoint or how to setup): dogbowl - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after [FR-890]: https://lablup.atlassian.net/browse/FR-890?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
b2c9448
to
251d35d
Compare
Resolves #3566 (FR-890)
Fix pagination total count in AgentSummaryList
This PR updates the pagination total count in the AgentSummaryList component to use the length of the filtered agent summary list instead of the total count from the agent summary list. This ensures that the pagination accurately reflects the number of items currently being displayed after filtering.
Checklist: