Animate live voice transcripts with split-flap tiles (#43656)

## What changed

Render live voice transcripts with a split-flap effect, a black background, and brief speaker-colored highlights as characters settle. Preserve settled characters when text is appended and include animation ticks in the active transcript cache key so frames refresh.

Respect `animations = false`, preserve Unicode graphemes and raw transcript text, and keep completed transcripts as ordinary history cells. Stop requesting animation frames once the effect settles.

## Testing

Add frame snapshots and regression coverage for row styling, speaker colors, appended text, reduced motion, Unicode width, frame scheduling, and unchanged final transcript history.

GitOrigin-RevId: 934f577c7279158f9161d6232634087ab32b0ea3
This commit is contained in:
Benjamin Carlsson
2026-09-08 02:46:14 +00:00
committed by copyberry
parent 4b0d9669cc
commit 4e93cf9b4e
6 changed files with 560 additions and 5 deletions
+3 -1
View File
@@ -1972,7 +1972,9 @@ impl ChatWidget {
is_stream_continuation: cell
.map(|cell| cell.is_stream_continuation())
.unwrap_or(false),
animation_tick: cell.and_then(|cell| cell.transcript_animation_tick()),
animation_tick: cell
.and_then(|cell| cell.transcript_animation_tick())
.or_else(|| realtime_cell.and_then(|cell| cell.transcript_animation_tick())),
})
}