Repository navigation
[2.1] Backport #38410 - #38959
[2.1] Backport #38410#38959ShaileshParmar11 wants to merge 1 commit into
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟡 Medium riskClearing Incident Manager filters now removes stale page and cursor parameters, changing navigation so users return to the unfiltered results from the start. Backports the Incident Manager fix so clicking Clear all on a later page drops VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Backport of #38410 (
295f502d4ae) to2.1.What it fixes
In the Incident Manager, clicking Clear all on a later page of a filtered list kept
currentPage,cursorTypeandcursorValuein the URL, so the user stayed on page N of a different (unfiltered) result set.clearFiltersinuseIncidentFilters.tsnow omits those three params along with the filter params; unrelated params such aspageSizeanddomainare kept.Clean cherry-pick (
git cherry-pick -x), same three files as on main:useIncidentFilters.ts(+3),useIncidentFilters.test.ts(new test),IncidentManager.test.tsx(paging params added to the existing Clear all test).Related
2.1, not on it.git mergeof the two branches is conflict-free in either order.Tests (local, Node 22, 2.1 dependencies)
npx jest src/components/IncidentManager: 9 suites, 102/102 passed🤖 Generated with Claude Code