mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
Add transcript search and per-activity detail controls (#46734)
## What changed - Add incremental, case-insensitive literal search across transcript details, loading older history as needed. Use `F3` to start Find, or `/` in the transcript pager, and navigate matches in either direction. Closing Find restores the previous presentation and reading position. - Add clickable activity detail controls and `F4` keyboard focus for inspecting individual activity groups in the owned transcript. Preserve expansion state as live activity becomes history. - Expose configurable `global.find_transcript`, `global.focus_activity`, and `pager.find` bindings under `tui.keymap`. Let new defaults yield to existing custom bindings and show available completions for pending chords. ## Testing Add regression coverage for Unicode matching, bounded scanning, paginated and changing history, selection during search, composer input isolation, activity controls, and custom shortcut conflicts. GitOrigin-RevId: 5bcbcdfbca7c5c296c635ec9b079ccd7a908e336
This commit is contained in:
@@ -45,7 +45,11 @@ fn layouts_refresh_for_width_animation_and_mutable_frames() {
|
||||
cache.get(
|
||||
&history,
|
||||
width,
|
||||
CellPresentation { separated: false },
|
||||
CellPresentation {
|
||||
separated: false,
|
||||
expanded: false,
|
||||
disclosure: false,
|
||||
},
|
||||
|| TextLayout::new(history.transcript_hyperlink_lines(width), width),
|
||||
)
|
||||
};
|
||||
@@ -95,7 +99,11 @@ fn recent_entries_are_reused_and_old_entries_are_evicted() {
|
||||
cache.get(
|
||||
&history,
|
||||
/*width*/ 20,
|
||||
CellPresentation { separated: false },
|
||||
CellPresentation {
|
||||
separated: false,
|
||||
expanded: false,
|
||||
disclosure: false,
|
||||
},
|
||||
|| {
|
||||
TextLayout::new(
|
||||
history.transcript_hyperlink_lines(/*width*/ 20),
|
||||
@@ -109,7 +117,11 @@ fn recent_entries_are_reused_and_old_entries_are_evicted() {
|
||||
cache.get(
|
||||
&history,
|
||||
/*width*/ 20,
|
||||
CellPresentation { separated: false },
|
||||
CellPresentation {
|
||||
separated: false,
|
||||
expanded: false,
|
||||
disclosure: false,
|
||||
},
|
||||
|| {
|
||||
TextLayout::new(
|
||||
history.transcript_hyperlink_lines(/*width*/ 20),
|
||||
|
||||
Reference in New Issue
Block a user