Render live transcript segments before persistence#5842
Merged
Conversation
Show live-only transcript segments when no transcript row exists yet, and cover the partial-only renderer case.
✅ Deploy Preview for old-char canceled.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Show live-only transcript segments when no transcript row exists yet, and cover the partial-only renderer case.
Note
Low Risk
Small UI rendering change in the desktop transcript viewer with no auth, persistence, or API changes in this diff.
Overview
Live STT text now appears in the transcript viewer before any persisted transcript ID is available, instead of rendering nothing when
transcriptIdsis empty.TranscriptViewerderivesvisibleTranscriptIdsfrom real IDs when present, otherwise uses a single placeholder id__live-transcript__whenliveSegmentsis non-empty. Rendering, separators, and “last transcript” live-segment attachment all use that list so auto-scroll and bottom-pinning behave the same as for a normal last row.A unit test asserts that with empty
transcriptIdsand active live segments,RenderTranscriptreceives one live segment and the placeholder transcript id.Reviewed by Cursor Bugbot for commit 1d86751. Bugbot is set up for automated code reviews on this repo. Configure here.