Skip to content

fix(inbox): dictate other answers and guided review feedback - #3731

Merged
backnotprop merged 11 commits into
backnotprop:mainfrom
nartc:fix/inbox-other-dictation
Nov 26, 2026
Merged

backnotprop merged 11 commits into
backnotprop:mainfrom
nartc:fix/inbox-other-dictation

Conversation

@nartc

@nartc nartc commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Dictate into Other answers in threads and Decision mode, or into guided-review line feedback. A pending transcript stays with its field; it cannot overwrite a new choice or edit suggested code. Send, Answer and Add Comment remain explicit.

Tested in Chromium with two linked Inboxes, simulated speech and desktop and phone-sized views. No physical phone or microphone was used.

e2e: inbox-field-voice.spec.ts

nartc and others added 7 commits November 18, 2026 23:19
- attach dictation to the active field so words never land in another answer
- keep answer, add comment and send explicit while a take is in progress
- test linked inboxes in both directions and preserve typed code suggestions
- use named providers to follow the existing context convention
- separate nested jsx tags and remove redundant field tool comments
…box-other-dictation

# Conflicts:
#	packages/inbox/components/ReviewPane.tsx
#	packages/inbox/components/Thread.tsx
#	packages/inbox/decisions/DecisionCard.tsx
Thread.tsx is at its size ceiling: the busy count and the two providers
move to useOtherFieldVoice in FieldVoice.tsx, which useThreadVoice
returns as others (off while the pane is parked).
…ords

Main now draws a decision with the thread's own question card, so the
card's own Other textarea and Answer button are gone. The mic comes in
through the same Other tools as the thread; Decision mode's Send waits
while a take runs. The e2e and the guide follow.
No mic at rest. It shows inside the field, level with its first line, while
the field or the mic has focus, while a take runs, and while its words or a
note are still on the field. The field keeps the mic's room at rest too, so
its words never run under it and nothing moves when it comes. Tab reaches
the mic right after the field, and a press keeps the field's focus. A take's
status and notes go on a line under the field. One piece (FieldVoice) for
question cards, Decision mode and guided-review comments.

Decision mode: a strip's Try again waits for a running Other take, as Send
does.
@backnotprop backnotprop added the ci:e2e Run the full browser suite (Inbox window e2e) on this PR label Nov 26, 2026
…s sizes within a rounding

The Other field now sits in a box of its own in its row (the mic draws inside
it), so the mark is no longer the field's sibling: question-other-lines looks
for it on the row. The field's height and the mark beside its first line are
unchanged and still asserted as before.

The mic spec compared the field's box before and after focus exactly; a phone
read 285 then 284.99999. It now allows half a pixel, as the other layout specs
do.
ReviewPane imported review-editor's LineFeedbackToolsProvider statically, so
the Inbox window depended on review-editor outside the reader's lazy chunk.
ReviewPane now passes the mic to GuideReader (lineFeedbackTools), which sets
the provider inside the chunk it already loads.

inbox-field-voice.spec.ts gets its shard time: 22 s, the sum of its two
tests in the browser slice's last run (10.8 s and 10.9 s).
…x-other-dictation

# Conflicts:
#	packages/inbox/components/Thread.tsx
@backnotprop
backnotprop merged commit 791ad24 into backnotprop:main Nov 26, 2026
72 of 74 checks passed
@backnotprop

Copy link
Copy Markdown
Owner

Merged. Thank you for this: dictating an "Other" answer, a guide comment or a Decision mode answer is a real improvement, and the PR was a pleasure to build on. We pushed a few commits onto your branch along the way so it stayed yours: the mic now shows only while a field is focused and sits inside the field at its right edge, and a couple of merges with main as the reply box moved underneath it. It goes out in the next release (0.29.5).

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

Labels

ci:e2e Run the full browser suite (Inbox window e2e) on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants