Repository navigation
feat(tui): borderless conversation panel with scrollbar - #661
Merged
Merged
Conversation
Match the conversation-panel layout from the reference mock: the sidebar transcript is a flat surface, not a bordered box. - Drop the sidebar `Borders::ALL` block. The padding now reproduces the exact origin and measure the border+padding provided (PANE_PAD_X + 1 per side, one row top/bottom), so no transcript line moves. - Paint a thin scrollbar in the right padding only when the transcript overflows: `│` track, `▐` thumb, no arrows. Position follows the view's scroll-from-bottom offset (0 = pinned to the newest line). - Borderless focus cue: while the Sidebar block owns the keyboard the scrollbar takes the accent `█` thumb and track; otherwise it stays muted. Shape plus colour keeps the "one visible keyboard owner" invariant without a box, and the unfocused state matches the mock exactly. - Composer, navigator and other panes untouched (explicit scope). Docs: FORGE-DESIGN SS7.1, SS8.4, SS9.4 updated. Tests: new scrollbar unit test (fit = no track, thumb position, focused shape); forge-tui 1266 lib + integration pass; fmt/clippy clean. PTY verified: no box around the transcript, track/thumb at 160x44, thumb turns solid accent when the conversation is focused.
mohitranka
enabled auto-merge (squash)
September 12, 2026 17:21
`git status` (and `git diff`) refresh the index and take `index.lock` by default. The TUI polls status in the background, so a foreground `s` / `u` stage could collide with a poll and fail with "Unable to create 'index.lock': File exists" — intermittently, which is how CI caught it: `app::tests::diff::s_stages_the_selected_file_and_u_puts_it_back` failed with the file still staged after `u`. Pass `--no-optional-locks` to both background reads so they never take the lock. Re-ran the diff suite 20x locally with no failures; forge-workspace and forge-tui suites pass.
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.
Re-lands the change reverted in #660 through the normal review path.
Original intent (unchanged): the sidebar transcript becomes a flat surface instead of a bordered box.
Borders::ALLblock; padding reproduces the exact origin and measure the border+padding provided (PANE_PAD_X + 1per side, one row top/bottom), so no transcript line moves.│track,▐thumb, no arrows; position follows the scroll-from-bottom offset.█thumb and track; otherwise muted. Shape + colour keeps the one-keyboard-owner invariant without a box; the unfocused state matches the reference mock.Docs: FORGE-DESIGN §7.1, §8.4, §9.4. Tests: new scrollbar unit test (fit = no track, thumb position, focused shape); forge-tui 1266 lib + integration pass; fmt/clippy clean. PTY-verified at 160×44.