Skip to content

fix(issues): Stop the seerDrawer redirect from looping on the autofix tab - #127123

Merged
scttcper merged 1 commit into
masterfrom
scttcper/fix-seer-drawer-redirect-loop
Oct 9, 2026
Merged

scttcper merged 1 commit into
masterfrom
scttcper/fix-seer-drawer-redirect-loop

Conversation

@scttcper

@scttcper scttcper commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Legacy ?seerDrawer=true links crash issue details with "Maximum update depth exceeded" when autofix-page is on. The redirect lived in an effect that navigated while reading seerDrawer from nuqs, and since #127078 nuqs syncs router navigations in a transition, so the value stayed stale and every navigation reran the effect.

Moves the redirect to a <Navigate replace> keyed on the router location, and the drawer effect no longer navigates.

fixes JAVASCRIPT-3DQB
fixes JAVASCRIPT-3B0Z

… tab

Legacy `?seerDrawer=true` links crash issue details with "Maximum update
depth exceeded" when `autofix-page` is on. The drawer effect called
`openSeerDrawer`, which navigates to the autofix tab, but it read
`seerDrawer` from nuqs. Since the nuqs bump in #127078, nuqs syncs
router navigations in a transition, so the value stays `true` for a few
renders. Every navigation recreated the callback, reran the effect, and
navigated again.

The redirect is now a `<Navigate replace>` that reads the router
location, so it renders once. The drawer effect only opens the drawer
for orgs without `autofix-page` and never navigates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 9, 2026
@scttcper
scttcper marked this pull request as ready for review October 9, 2026 23:14
@scttcper
scttcper requested a review from a team as a code owner October 9, 2026 23:14
@scttcper
scttcper merged commit 1a7a323 into master Oct 9, 2026
75 checks passed
@scttcper
scttcper deleted the scttcper/fix-seer-drawer-redirect-loop branch October 9, 2026 23:21

This branch was successfully deployed

1 active deployment
Preview — 15aef85a Deployed Oct 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants