feat(claudbg-mfpd): Esc/Backspace returns to session transcript from agent transcript
When on SubagentTranscript, Esc or Backspace now goes back to the parent session's Transcript view (lazy-reloads entries) instead of jumping all the way to the session list. Transcript → session list path unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
a6a0b9a0db
commit
76870fa306
@ -1,10 +1,17 @@
|
||||
---
|
||||
# claudbg-mfpd
|
||||
title: 'TUI: navigate back to main session transcript from agent transcript'
|
||||
status: todo
|
||||
status: completed
|
||||
type: feature
|
||||
priority: normal
|
||||
created_at: 2026-03-31T23:45:12Z
|
||||
updated_at: 2026-03-31T23:45:12Z
|
||||
updated_at: 2026-04-01T05:55:11Z
|
||||
---
|
||||
|
||||
There is currently no way to navigate back to the main session transcript after drilling into an agent transcript. Add a keybinding (e.g. Backspace or Escape) to return to the parent session view.
|
||||
|
||||
## Summary of Changes
|
||||
|
||||
Added `go_back_to_transcript(parent_session_id)` to `AppState` in `state.rs`: transitions to `Screen::Transcript { session_id: parent_session_id }`, clears transcript entries (to trigger lazy-reload), and leaves `subagents` intact (they belong to the parent session).
|
||||
|
||||
Changed the Esc/Backspace arm in `handle_transcript_event` (`transcript.rs`) to be context-aware: when on `SubagentTranscript`, calls `go_back_to_transcript` to return to the parent session view; when on `Transcript`, calls `go_back` to return to the session list. Backspace is added as a second binding alongside Escape.
|
||||
|
||||
Loading…
Reference in New Issue