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
+1 -1
View File
@@ -336,7 +336,7 @@ impl TranscriptView {
self.cache.clear();
self.suppressed_prompt_header = None;
self.live_key = None;
// Search temporarily expands content without changing either presentation's position.
// Keep search's origin independent of either presentation's saved position.
if self.detailed != detailed && !self.search.is_active() {
let previous = self.position;
self.position = self.saved_position.take().unwrap_or(previous);