Repository navigation
feat(tui): name the viewed child in the transcript frame title - #696
Merged
Merged
Conversation
P5's last behavior gap: with a child session on screen, nothing above the transcript said whose session it was. The header still describes the parent (workspace, branch) — the child runs in its own worktree, so those do not match while the view is open — and the composer hint alone carried the orientation. The frame title now reads `Chat ‹ explore` while a child view is open, and the parent's own `Chat` comes back with it on `←`. The `‹` reads as "drilled into" rather than a path: there is no parent-task lineage to draw (`BackgroundTaskHandle.parent_task_id` is the foreground `TaskId`), so inventing a breadcrumb trail would be a lie. One title, one name. Also documents the child view as `FORGE-DESIGN.md` §9.13 (out-of-band notification moves to §9.14), covering the title rule, the live-refresh contract, the parent-header mismatch, and the no-activity-rows trade. Tests: the rendered frame carries no breadcrumb for the parent, names the child while viewing, and restores the parent's title on `←`.
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.
P5's last piece: with a child session on screen, nothing above the transcript said whose session it was.
The gap
The header still describes the parent session (workspace, branch) — the child runs in its own worktree, so those do not match while the view is open — and only the composer hint carried the orientation. Now the frame title reads
Chat ‹ explorewhile a child view is open, and the parent's ownChatcomes back with it on←.The
‹reads as "drilled into" rather than a path: there is no parent-task lineage to draw (BackgroundTaskHandle.parent_task_idis the foregroundTaskId), so inventing a breadcrumb trail would be a lie. One title, one name.Design doc
The child view is now
FORGE-DESIGN.md§9.13 (out-of-band notification moves to §9.14, no other §9.13 references exist in code or docs), covering:TurnEvents are not replayed) and the shell-task refusal.Verification
cargo fmt --all -- --checkclean;cargo clippy --package forge-tui --all-targets --locked -- -D warningsclean.←.completed_turn_renders_unfinished_checks…, which fails identically on a stashed (unmodified) tree.