Repository navigation
feat: chat navigation, prompt rail, and resizable/hideable sidebar - #167
Merged
Merged
Conversation
Long transcripts were hard to move around in. Add: - a floating "Scroll to end" pill that appears once the user scrolls away from the bottom and turns into "New messages" when output arrives while reading further up; clicking it re-pins the transcript - a prompt rail along the left edge with one marker per user prompt, the current one highlighted, a hover preview of the prompt and the start of its reply, and click-to-jump - keyboard shortcuts: Alt+Up / Alt+Down step between prompts, Alt+End jumps to the end Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- collapsing now hides the sidebar entirely (offcanvas) instead of shrinking it to an icon strip; the toggle sits next to the logo in the sidebar header and the title-bar toggle only shows while the sidebar is hidden (or on the mobile drawer layout) - drop the stray `relative` class on AppSidebar that overrode the container's `fixed` positioning and kept the space reserved when hidden - drag the sidebar's inner edge to resize (200-480px, persisted); double-click resets, and the handle is a focusable separator that also responds to arrow keys and Home/End - left-align the logo next to the toggle so it stays put while resizing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 16, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Usability improvements for moving around long chats and managing the sidebar. Split into two commits so they can be reviewed (or reverted) independently.
1. Chat navigation (
feat(chat))Alt+↑/Alt+↓step between prompts,Alt+Endjumps to the end.Implementation notes:
usePinnedScrollgainsscrollToBottom(); jumps re-align on the next frame because rows usecontent-visibility: autoand heights settle after scrolling.data-transcript-role/data-message-idso navigation works on the rendered DOM; prompt previews come from a purebuildPromptMarkers(rows)(unit-tested).2. Sidebar (
feat(sidebar))collapsible="offcanvas"). The toggle now sits next to the logo in the sidebar header; the title-bar toggle only shows while the sidebar is hidden (or in the mobile drawer layout).Ctrl+Bstill works.AppSidebarpassedclassName="relative", which overrode the container'sfixedpositioning. With icon collapsing this went unnoticed, but with offcanvas it kept the sidebar's space reserved after hiding.sidebarWidthsetting). Double-click resets. The handle is a focusablerole="separator"with arrow keys and Home/End support. Width updates live via the CSS variable during drag and is persisted once on release; transitions are disabled while dragging.All new strings are added to
en,deandes.Testing
vp checkpasses (format, lint, types)vp test: all suites pass, including new tests for the navigation pill,Alt+End, prompt markers, the prompt rail, and sidebar resizing (keyboard, reset, clamping)Notes / open questions
CollapsedProjectPopover) is no longer reachable fromAppSidebar. I left that code untouched to keep the diff focused; happy to remove it, or to keep icon mode as an option if you prefer.🤖 Generated with Claude Code