Skip to content

Fade in the assistant's new text as it arrives - #37

Merged
TechNomadCode merged 3 commits into
mainfrom
feat/fade-in-text
Oct 21, 2026
Merged

TechNomadCode merged 3 commits into
mainfrom
feat/fade-in-text

Conversation

@TechNomadCode

@TechNomadCode TechNomadCode commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Slice 16: the assistant's text fades in instead of appearing in a jump (opencode's markdown-word-enter, a 180ms opacity fade).

  • Only an answer that arrives after the chat showed fades; a finished answer, a conversation brought back after a reload, and everything under reduced motion show at once.
  • Each update's words fade as one span per run: a reply that arrives whole, as on staging, fades once; the fake model's words fade by groups. Words already shown never fade again, even when a table taking shape re-renders them.
  • The conversation stays out of any live region, so screen readers hear nothing new.
  • The accessibility check now waits until no word is fading: axe read a word mid-fade as low contrast.

Changes nothing in src/server or src/lib, so the measurement lane needn't wait for it.

Checks, local: verify (464 unit tests, 10 new) and test:e2e (61, 2 new) passed in two full runs back to back.

Also settles the next piece's copy button on opencode's form (docs only).

TechNomadCode and others added 3 commits October 21, 2026 00:22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TechNomadCode
TechNomadCode merged commit 3bc53f8 into main Oct 21, 2026
5 checks passed
@TechNomadCode
TechNomadCode deleted the feat/fade-in-text branch October 21, 2026 07:12
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