Skip to content

Animate the call failure and Call Ended cards in and out - #116

Merged
Tarquinen merged 1 commit into
devfrom
call-card-presence
Nov 18, 2026
Merged

Tarquinen merged 1 commit into
devfrom
call-card-presence

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

The Couldn't Start Call and Call Ended cards above the composer popped in over the transcript in one frame, then the transcript jumped up by the card's height. Close cut the card out and the transcript dropped back.

Now the cards come and go through OpenCodeNoticePresence, the shared component the server pill uses: they expand and fade in, and shrink and fade out, so the transcript moves with them. Reduce Motion is respected. A leaving card stays drawn as it last read. The Connecting caption also hides when the call goes away, so it fades out instead of being cut.

Verified: check :feature:session passes, run again after rebasing onto #135, which replaced the pill's own transition with that component. On the VM emulator with the voice demo and a forced failure, I recorded before/after at real speed and at 5× animator scale, in light and dark, and checked them frame by frame. The recordings are from before the rebase. Not checked on a phone, and the Call Ended card wasn't recorded (same code path).

The video shows v0.8.0 on the left and this branch on the right: start a call, the failure card appears, then Close. Real speed first, then slowed 5×.

before-after.mp4

The Couldn't Start Call and Call Ended cards above the composer were plain
ifs: a card appeared in one frame over the transcript, then the transcript
jumped up by its height, and Close cut it out so the transcript dropped.

Now the cards use the server pill's presence transition
(ServerConnectionPillTransition: expand + fade in, shrink + fade out, with
Reduce Motion). The leaving card stays drawn as it last read, even after the
call store is gone. The Connecting caption also hides when the call store
goes away, so it fades out instead of being cut.

Verified: vm.sh check :feature:session passes. On the VM emulator with the
voice demo and a forced failure, before/after recordings at real speed and
5x animator scale, light and dark: the card grows in and the transcript
rises with it; Close shrinks and fades it while the transcript slides down.
Not checked on a phone.
@Tarquinen
Tarquinen merged commit a269624 into dev Nov 18, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 18, 2026

This branch was previously deployed

1 inactive deployment
release — 68a836ce Deployed Nov 18, 2026 by Tarquinen via check #473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant