-
Notifications
You must be signed in to change notification settings - Fork 50
Added Pagination For Team Listing Page #1212
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
base: 3.x
Are you sure you want to change the base?
Added Pagination For Team Listing Page #1212
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.x #1212 +/- ##
=========================================
Coverage 44.24% 44.24%
Complexity 3070 3070
=========================================
Files 344 344
Lines 11235 11235
=========================================
Hits 4971 4971
Misses 6264 6264
🚀 New features to boost your workflow:
|
|
Hi @shailesh-google , Thank you for this pagination patch, which I just gave a try. As a test, I have a local site with drupal/apigee_edge:3.0.13 which is configured to fetch ALL the Apigee-related data for the
Also worth noting that while this pagination does decrease the page load times quite a bit, it also removes the possibility to find a particular team by (part of) its name using the browser's find-in-page functionality, as one might have to paginate thru quite a bunch of pages until the correct team is found. The situation is a bit better if the user knows the WHOLE name of the team (or searches for the first part of it), as it's still possible to order this list by the teams' name or status. To mitigate this, it would be nice to have Views support for listing teams, so the sitebuilder could add some exposed filters as needed. |
|
Thank you, @boobaa for testing this PR and providing the excellent performance metrics. We agree that pagination makes browser-based search (find-in-page) a significant issue.
If you are satisfied with the performance gains, please provide your LGTM (Looks Good To Me) for both PRs so we can merge and release them. Thanks again for your effort. |
|
Hi @boobaa @shishir-intelli , We can give administrators more control over the paginated team listing by adding an Admin Configuration page. This new configuration would offer two key options:
|
|
Hi @divya-intelli , Thank you for the ideas, they totally make sense. I'm a bit concerned about turning off pagination, tho: would that mean we're back to square one regarding page load times? In other words, would this solution mean that the sitebuilder MUST choose which finger to bite:
So is it either this or that, but we cannot satisfy BOTH requirements (search AND "good-enough" page load times)? |
|
Hi @boobaa, Following up on our previous discussion regarding the usability of the teams list: I have implemented the Search Feature to team listing page. This addresses the concern you raised about navigating 20k+ teams. With this update, users can now locate specific teams without needing to manually click through paginated results, restoring the core functionality needed for high-volume accounts. Please refer to PR #1216 for the implementation . |
Fixing Performance issue of team list page by Adding Pagination.
Fix For #1150