Fleet UI: Fix self-service page > 0 toggle#46336
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #46336 +/- ##
========================================
Coverage 66.89% 66.89%
========================================
Files 2782 2782
Lines 221734 221734
Branches 11356 11221 -135
========================================
Hits 148334 148334
- Misses 59999 60000 +1
+ Partials 13401 13400 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR fixes erratic pagination behavior on the Software Library self-service toggle by removing a duplicate TableContainer query-change trigger; the toggle handler already resets pagination to page 0.
Changes:
- Removed
additionalQueries={String(selfServiceOnly)}from the Software Library table. - Keeps self-service toggle pagination reset centralized in
handleSelfServiceToggle.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Actionable comments posted: 0 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
WalkthroughThis PR removes the 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Issue
Closes #45868
Description
handleSelfServiceTogglesetting page: 0 online 152. Removing the duplicate path that raced with resetting the page.Screen recording of test (used pagination of 4 in my test)
Screen.Recording.2026-05-28.at.10.53.49.AM.mov
Testing
Summary by CodeRabbit