mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
Keep transcript Find expansion scoped to the current match (#50045)
## Why Starting Find expanded the entire transcript into detailed mode. Searching hidden content should preserve the compact view and manually expanded activities. ## What changed - Search full transcript content, including hidden live output, and temporarily expand only the current matching entry. - Preserve manual disclosure state and retained text revisions while reading or selecting a match. Allow activity controls while reading results. - Use `Enter` or `Ctrl+P` for older matches and `Ctrl+N` for newer matches, with matching footer hints. ## Testing Add regression tests and snapshots for selective expansion, manual disclosures, hidden live matches, retained selections across updates and resizing, and Find in compact transcript overlays. GitOrigin-RevId: 618ee47ba6c3f3a5138c9e3fe0961e7faa3383da
This commit is contained in:
@@ -831,7 +831,10 @@ fn mutable_history_formats_once_per_frame_and_refreshes_the_next_frame() {
|
||||
)),
|
||||
matched
|
||||
);
|
||||
view.handle_key(KeyCode::Enter.into(), &cells);
|
||||
view.handle_key(
|
||||
KeyEvent::new(KeyCode::Char('n'), KeyModifiers::CONTROL),
|
||||
&cells,
|
||||
);
|
||||
assert!(!view.advance_search(&cells));
|
||||
assert!(
|
||||
text(&render(
|
||||
|
||||
Reference in New Issue
Block a user