Repository navigation
sidebar scrollbar always visible — should only appear when content overflows - #3267
lawrencecchen wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA single line modifier added to the sidebar's vertical Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 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. Review rate limit: 0/8 reviews remaining, refill in 57 minutes and 39 seconds.Comment |
Greptile SummaryThis PR fixes the always-visible sidebar scrollbar (issue #3241) by adding Confidence Score: 5/5Safe to merge — minimal, targeted one-line fix with no side effects on the broader view hierarchy. Single-line change using a well-understood SwiftUI modifier. The existing notification/generation-counter infrastructure already handles dynamic scrollbar visibility transitions. No logic, layout, or data-flow changes involved. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[workspaceScrollArea] --> B[ScrollView]
B -->|Before PR| C[Default: scrollbar always visible]
B -->|After PR .scrollIndicators.automatic| D{Content overflows?}
D -->|Yes| E[Show scrollbar indicator]
D -->|No| F[Hide scrollbar indicator]
E --> G[terminalScrollBarVisibilityGeneration bumped\nvia notification observer]
F --> G
Reviews (1): Last reviewed commit: "Address https://github.com/manaflow-ai/c..." | Re-trigger Greptile |
|
Closing this loader dogfood PR because the downloaded video artifacts do not actually show cmux. Both required recordings show the macOS setup assistant sheet, so the video evidence is invalid even though the loader accepted the files. I am patching the setup suppression and will rerun from a fresh branch. |
Addresses #3241
Generated by cmux-loader.
Recorded videos:
Run artifacts: https://github.com/manaflow-ai/cmux-loader/actions/runs/25087560184
Codex final message:
Implemented a narrow fix for #3241 on branch
loader/issue-3241-sidebar-scrollbar-video13.What changed
Sources/ContentView.swiftto use.scrollIndicators(.automatic)inworkspaceScrollArea(...).Validation performed
./scripts/reload.sh --tag loaderrepro-before→/Users/runner/work/cmux-loader/cmux-loader/.runner/videos/repro-before.mov(status=ok)fixed-after→/Users/runner/work/cmux-loader/cmux-loader/.runner/videos/fixed-after.mov(status=ok)computer-use(app path and accessibility state confirmed for tagged build).Notes
Summary by cubic
Fixes #3241 by switching the workspace sidebar to automatic scroll indicators so the scrollbar only shows when content overflows.
Written for commit 38fb01d. Summary will update on new commits. Review in cubic
Summary by CodeRabbit