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:
Felipe Coury
2026-10-01 17:27:03 +00:00
committed by copyberry
parent a97fb78085
commit 1cc9917508
22 changed files with 643 additions and 115 deletions
+4 -1
View File
@@ -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(