Skip to content

fix(dashboard): Keep a linked Settings section in view and in the URL - #3462

Merged
BYK merged 3 commits into
mainfrom
fix/dashboard-settings-anchor-scroll
Nov 15, 2026
Merged

BYK merged 3 commits into
mainfrom
fix/dashboard-settings-anchor-scroll

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Fixes the two Bugbot findings on #3452, which merged before they were fixed.

  • Section scroll after load. A section link such as /settings/mcp scrolled once, when its heading mounted. General, API Tokens and Identities load after that and grow, so they pushed MCP out of view. AnchorHeading now scrolls the heading back into view each time the page changes size, until the reader scrolls, clicks, taps or types. This also covers the other pages that use AnchorHeading.
  • Cancel on the Preview handoff. Cancel cleared the query with setSearchParams({}), which also dropped #api-tokens, so a refresh opened General. Cancel now clears only the query and keeps the hash.

Nothing visible changes: only the scroll position and the URL differ.

via @BYK.

--

View Session [Sentry]

@sentry-junior
sentry-junior Bot requested a review from BYK November 15, 2026 00:06
@vercel

vercel Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 15, 2026 8:06am UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 15, 2026
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

25 screenshot changes — 25 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Child Agents · Desktop
Conversation Child Agents · Desktop
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Event Log Virtual · Desktop
Conversation Event Log Virtual · Desktop
Changed
Show 12 more changed screenshots
Conversation Event Log Virtual · Mobile
Conversation Event Log Virtual · Mobile
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Memory List Jump · Desktop
Conversation Memory List Jump · Desktop
Changed
Conversation Memory List Jump · Mobile
Conversation Memory List Jump · Mobile
Changed
Conversation Question Picks And Text · Desktop
Conversation Question Picks And Text · Desktop
Changed
Conversation Share Details · Desktop
Conversation Share Details · Desktop
Changed
Conversation Task Line · Desktop
Conversation Task Line · Desktop
Changed
Conversation Text Attachment · Desktop
Conversation Text Attachment · Desktop
Changed
Conversations Sections Collapsed · Desktop
Conversations Sections Collapsed · Desktop
Changed
Push Notifications Tip · Desktop
Push Notifications Tip · Desktop
Changed
Settings · Desktop
Settings · Desktop
Changed
Settings Api Tokens · Desktop
Settings Api Tokens · Desktop
Changed

7 more changed screenshots in Frameshift.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f57f96f. Configure here.

@BYK
BYK enabled auto-merge (squash) November 15, 2026 07:56
@BYK
BYK merged commit a613491 into main Nov 15, 2026
44 checks passed
@BYK
BYK deleted the fix/dashboard-settings-anchor-scroll branch November 15, 2026 08:12
sentry-junior Bot added a commit that referenced this pull request Nov 15, 2026
Main now has the per-user UI switch and the split shells (#3446). This
branch's UI becomes InboxShell; ClassicShell stays main's current UI.

- Old-only modules that this branch deleted come back from main.
- Modules that this branch changed in a way the current UI would see are
  forked under src/client/inbox/, or keep main's behaviour by default and
  take the new behaviour through useInboxUi() or an optional prop.
- Main's ports win where they overlap: the code state filter, counts,
  idle and People paging (#3439, #3464), the tab title and icon count
  (#3460), and Settings as one page (#3452, #3462).

Co-Authored-By: BYK <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — aad914df Deployed Nov 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant