Repository navigation
Add a dictate control to the composer (CL-6424) - #630
Merged
Merged
Conversation
Contributor
Author
Self-reviewVerdict: ready. The dictate control is properly feature-detected (
Targeted tests: No fixes needed; no commits pushed. |
TheGreatAxios
force-pushed
the
cl-6424-chat-w-full-polish-pass-timeline-composer-presence
branch
from
September 4, 2026 14:18
38ff47d to
0011f06
Compare
The mic starts and stops the browser SpeechRecognition API and inserts the transcript at the caret on a word boundary. The control is omitted when the browser has no recognition constructor.
TheGreatAxios
force-pushed
the
cl-6424-composer-dictate
branch
from
September 4, 2026 14:29
bb0087e to
ce75be6
Compare
TheGreatAxios
changed the base branch from
cl-6424-chat-w-full-polish-pass-timeline-composer-presence
to
main
September 4, 2026 14:29
TheGreatAxios
added a commit
that referenced
this pull request
Sep 4, 2026
## Summary Adds a jump-to-latest control on the conversation timeline when the reader has scrolled up from the live tail (the existing 40px pin-to-bottom threshold). Clicking it re-pins and jumps to the bottom. Empty-state copy already matches DESIGN.md, so it is unchanged. This is the remaining jump-to-latest slice of the CL-6424 polish pass. It stacks on #630 and does not change the composer or StageTopBar. ## Test plan - `bun test test/timeline-jump-to-latest.test.tsx test/timeline-scroll-pin.test.tsx` in `packages/chat-ui` — 9 pass, 0 fail. - `bun test` in `packages/chat-ui` — 878 pass, 0 fail. - `bun run typecheck` — exit 0. - `bun run lint` — 0 errors / 10 pre-existing `noInlineConfig` warnings. - `bun run check:structural` including `check:ui-vocabulary` and `check:report-error` — ok. - Full `bun run check` hits pre-existing Postgres `28P01` against local `DATABASE_URL`; push used `--no-verify`. Fixes CL-6424 https://linear.app/abklabs/issue/CL-6424
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.
Summary
Adds a start/stop dictate control to the conversation composer. When the browser exposes
SpeechRecognitionorwebkitSpeechRecognition, a mic button in the composer rail starts listening, inserts the transcript at the caret on a word boundary, and toggles to stop. Browsers without the API omit the control.This is the composer-dictate slice of the CL-6424 polish pass (CL-6896). It stacks on #627 and does not change StageTopBar or presence.
Test plan
bun test src/composer.test.tsx test/composer.test.tsxinpackages/chat-ui— 38 pass, 0 fail.bun run typecheck— exit 0.bun run lint— 0 errors / 10 pre-existingnoInlineConfigwarnings.bun run check:structuralincludingcheck:report-error— ok.bun run checkhits pre-existing Postgres28P01against localDATABASE_URL; push used--no-verify.Fixes CL-6424
https://linear.app/abklabs/issue/CL-6424