fix(web): stop the settings sidebar shifting when switching pages - #10705
Conversation
Remove the per-page sub-section list that expanded under the active nav item. It pushed every item below it down on each page change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a narrowly scoped settings-sidebar fix that removes the subsection observer and submenu responsible for layout shifting while preserving top-level navigation, search, and settings content. The associated helper, tests, and now-unused DOM marker are removed without affecting schemas, deployment, or sensitive functionality. You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
There was a problem hiding this comment.
All clear
Posted via Macroscope — Effect Service Conventions
This comment has been minimized.
This comment has been minimized.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe settings sidebar no longer renders per-page section submenus or observes section visibility. Active navigation uses pathname prefixes. The settings layout no longer includes the section visibility marker. ChangesSettings navigation simplification
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to Settings navigation now remains a flat, pathname-highlighted list, avoiding layout shifts caused by expandable section submenus. No concrete current-head merge risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Every settings page with sub-sections expanded a submenu under its nav item. Clicking through pages pushed the rest of the list down and back up on each click, so items moved out from under the cursor.
This removes the submenu and the scroll-spy that highlighted it. The nav is a flat list again. Settings search still jumps to individual sections.
The behavior came from three commits: #9354 added the submenu, #9811 animated it, and #9812 added the highlighting. #9354 was mostly the page reorganization, which stays. A clean revert of any of them would not apply, so this removes the submenu code by hand and deletes the visibility helper and its test, which nothing else used.
Created with Claude Fable 5.1 in Claude Code.
🤖 Generated with Claude Code
Note
Remove nested subsection links from settings sidebar to stop shifting
SettingsSidebarNav, leaving only top-level navigation items active by route match.data-settings-page-layoutDOM marker from the outerSidebarInsetin settings.tsx.Macroscope summarized b557dfa.
Summary by CodeRabbit