Skip to content

feat(unix-gui): align sidebar scroll with Win client - #13

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/sidebar-scroll-59a1
Jul 29, 2026
Merged

feat(unix-gui): align sidebar scroll with Win client#13
cursor[bot] merged 2 commits into
mainfrom
cursor/sidebar-scroll-59a1

Conversation

@mgttt

@mgttt mgttt commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

Aligns Unix embedded GUI sidebar scrolling with the Windows remote_win_app behavior:

  • Shared ui_geometry helpers for sidebar scrollbar track, row capacity, tree row geometry with scrollbar column, and scrollbar thumb geometry
  • sidebar_scroll_offset with wheel scrolling when the pointer is over the sidebar tree
  • Sidebar scrollbar click/drag interaction (parallel to terminal scrollbar)
  • layout.sidebar.scrollbar populated in ui-snapshot instead of null
  • Sidebar scrollbar rendered in unix_app/render

Validation

  • cargo fmt
  • cargo clippy --target x86_64-unknown-linux-gnu --bin agenterm --bin agenterm-cli -- -D warnings
  • cargo clippy --target x86_64-pc-windows-msvc --all-targets -- -D warnings
  • cargo test --lib (247 passed)

Updates plan/plan-unix-gui-win-parity.md P1 sidebar scroll item to done.

Open in Web Open in Cursor 

cursoragent and others added 2 commits July 29, 2026 17:49
Add shared sidebar scrollbar geometry helpers in ui_geometry.
Unix GUI tracks sidebar_scroll_offset, wheel scrolling in the tree
area, scrollbar click/drag, and emits layout.sidebar.scrollbar in
ui-snapshot. Render sidebar scrollbar alongside tree rows.

Co-authored-by: datakk <mgttt@users.noreply.github.com>
Co-authored-by: datakk <mgttt@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review July 29, 2026 17:58
@cursor
cursor Bot merged commit 04a5287 into main Jul 29, 2026
@cursor
cursor Bot deleted the cursor/sidebar-scroll-59a1 branch July 30, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants