sidebar scrollbar always visible — should only appear when content overflows
Closed
LA
7mo ago+1+1+0123456789-0-0-0123456789
Addresses https://github.com/manaflow-ai/cmux/issues/3241
Generated by cmux-loader.
Recorded videos:
- repro-before: .runner/videos/repro-before.mov (ok)
- fixed-after: .runner/videos/fixed-after.mov (ok)
Run artifacts: https://github.com/manaflow-ai/cmux-loader/actions/runs/25087560184
Codex final message:
Implemented a narrow fix for https://github.com/manaflow-ai/cmux/issues/3241 on branch loader/issue-3241-sidebar-scrollbar-video13.
What changed
- Updated the workspace sidebar scroll container in
Sources/ContentView.swiftto use.scrollIndicators(.automatic)inworkspaceScrollArea(...). - This changes scrollbar behavior to only surface when content overflows / as macOS decides (instead of always rendering a track).
Validation performed
- Built tagged app (required) after change:
./scripts/reload.sh --tag loader
- Recorded required GUI evidence (as requested by loader workflow):
repro-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)
- Approved and inspected the tagged app state via
computer-use(app path and accessibility state confirmed for tagged build).
Notes
- I did not open a PR.
- I did not run tests (per repo policy to avoid local test runs).
Summary by cubic
Fixes #3241 by switching the workspace sidebar to automatic scroll indicators so the scrollbar only shows when content overflows.
Summary by CodeRabbit
- Style
- Enabled automatic scroll indicators on the sidebar to improve visual feedback when scrolling through content.