Skip to content

scratch: image hosting for upstream PR - #1

Closed
koushikxd wants to merge 5670 commits into
mainfrom
fix/voice-input-composer-swap
Closed

koushikxd wants to merge 5670 commits into
mainfrom
fix/voice-input-composer-swap

Conversation

@koushikxd

Copy link
Copy Markdown
Owner

Starting voice input pushed the composer's model picker and runtime controls to the left, because the recording pill was inserted into the same row.

Now the voice controls take over the space on the right where the model controls sit. The model controls fade out, and the waveform, timer, cancel and confirm controls fade and slide in where they were. The waveform is now 12 compact bars that follow the mic level (no looping animation).

Summary

 <footer>
   <AttachButton />
   <div data-chat-composer-actions="right">
-    <div controls>{model picker, runtime mode}</div>
-    <PrimaryActions>
-      <ComposerSpeechRecordingPill />   // inserted in-flow, shifts controls left
-      <ComposerSpeechButton /> <Send />
+    <div relative flex-1>
+      <div controls invisible+opacity-0 while voice is active>{model picker, runtime mode}</div>
+      <div absolute inset-0 justify-end, starting: fade+slide>   // outside the measured controls
+        <ComposerSpeechRecordingPill />   // waveform · timer · ✕ · ✓
+      </div>
+    </div>
+    <PrimaryActions>
+      <ComposerSpeechButton /> <Send />
  • VoiceWaveform: 12 bars (2px wide, 14px tall), each scaled by the mic level and shrunk to a 2px dot when silent. In a narrow row the bars are clipped, so the pill never overflows. Settings > Microphone test reuses this waveform; its timer now stretches to fill the space, so the stop button stays on the right edge as before.
  • VoiceInputPill is capped at the width available to it, so in a narrow composer it can't cover the attach button.
  • The overlay sits outside the controls container, which the composer re-measures whenever its contents change, so the ticking timer does not trigger re-measuring.

Evidence

Each pair below was captured at the same window size. The recording screenshots use a temporary fake recording state with a frozen mic level, because a real recording needs a 697 MB speech model download. That fake is not part of this diff.

The narrow-width fixes (pill width cap, clipping waveform, Microphone test timer) were made after these screenshots and are not captured. At this width I believe they change nothing.

Composer in an existing thread

  • Before (idle): Thread composer idle, before
    After (idle): Thread composer idle, after
  • Before (recording): the model controls shift left and a long waveform fills the gap.
    Thread composer recording, before
    After (recording): the model controls are replaced in place.
    Thread composer recording, after

New-thread composer

  • Before (idle): Draft composer idle, before
    After (idle): Draft composer idle, after
  • Before (recording): Draft composer recording, before
    After (recording): Draft composer recording, after

vp run check:changed passes: format, lint, knip, typecheck, react compiler, and the tests next to the changed files.

No video of the transition is attached. Switching to the voice controls takes about 200ms. When voice input ends, the voice controls disappear without an exit animation while the model controls fade back in over 150ms.

Merge Danger

Door: two-way

Only CSS and layout in four web component files change. There are no state, contract, or server changes.

Blast Radius: composer-footer

Affects the voice input controls in both composers and the recording pill in Settings > Microphone test, on web and desktop. Mobile is separate and untouched.


Made with Claude Opus 5.5 in Claude Code (T3 Code), reviewed by GPT-6.1 Sol in Codex.

gabrielelpidio and others added 30 commits November 4, 2026 09:50
…tgg#30256)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…f chat (pingdotgg#30257)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…#30501)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…#30523)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…intSigner (pingdotgg#30529)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…bile (pingdotgg#30540)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…he git-read timeout (pingdotgg#30554)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…otgg#30900)

Co-authored-by: Victor Romo <vic@Victors-MacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Seth Dixon <333797056+seth-dixon@users.noreply.github.com>
…ord (pingdotgg#30308)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…wser limit is full (pingdotgg#24186)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…pingdotgg#26806)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gg#30744)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…0085)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#28622)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#29044)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ders (pingdotgg#24904)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…0421)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Elliot Drel <elliotdrel@gmail.com>
…gg#28928)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…dotgg#30704)

Co-authored-by: Maxime Cathala <84846651+mcathala@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
jacobcorbett and others added 26 commits November 6, 2026 04:42
… instead of ignored (pingdotgg#30973)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…en character (pingdotgg#30390)

Co-authored-by: maria-rcks <maria@kuuro.net>
…output colours (pingdotgg#21542)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…otgg#15632)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
…ingdotgg#31815)

Keep deferred settlement requests through automatic follow-up turns and retry from persisted run events, including replayed rejected commands. Preserve failed follow-ups and new user input, and guard settlement against newer runs.

Validated with 173 focused tests through check:changed, all CI checks on e1a41f6, and resolved agentic reviews.

Model: GPT 6.1 Sol. Harness: Codex in T3 Code.
…1799)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…tgg#31801)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…gg#31842)

Combine the ten runtime recovery collections into one SQLite statement, leaving the initial thread lookup separate. Preserve collection filters, ordering, decoding and ordered reconciliation after prior commits.

Extend startup/shutdown idempotency coverage and guard against full message and run history scans. Synthetic stress measurements show fewer database requests; overall desktop quit latency remains unmeasured.

Implemented with GPT 6.1 Sol through the Codex harness in T3 Code.
… tiles (pingdotgg#28223)

Co-authored-by: Priyansh4444 <105874877+Priyansh4444@users.noreply.github.com>
Co-authored-by: Tanner Polley <42780259+tannerpolley@users.noreply.github.com>
Co-authored-by: Maria <maria-rcks@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alessio Fano <alessio.fano@swisscom.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ry (pingdotgg#31285)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#25971)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Recording now swaps the composer's right-side controls for the voice controls in place, instead of pushing the model picker left. The waveform is 12 compact bars driven by the mic level.
@koushikxd

Copy link
Copy Markdown
Owner Author

Scratch PR used only to host screenshots for the upstream PR.

@koushikxd koushikxd closed this Nov 6, 2026
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Nov 6, 2026
@koushikxd

Copy link
Copy Markdown
Owner Author

Image hosting for pingdotgg#32000.

a
b
c
d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.