Repository navigation
Conversation
A comment box's one main press is Dictate while it is empty and Send once it holds something to send. Where the browser has no speech recognition, as in Firefox, an empty box showed a grey Send that sent nothing, and Tab from the empty panel field stopped on it. Now that seat stands empty: Send is hidden, so it leaves the tab order and Tab goes on to the row's counts, and it shows with the first word, or an attached image or drawing. The rule lives in wireInput's paintSubmitVisibility, so the panel field, a passage's comment box, replies and a seat's first message all follow it. The press floats over room the words already keep, so nothing moves when it appears. A rewrite's Save and an option's Add keep their own presses; browsers that dictate are unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
we should have a gray send button if there's no dictate but is there reallyno dictate in Firefox?? |
|
Yes for the Firefox build we test: Firefox 155 reports both Agreed on the control: when Dictate is unavailable, an empty comment field should retain the grey, unavailable Send button. The code before this PR already does that: without a microphone button, Send remains in the field and its |
…der that the user chose the greyed Send (#6706) Four small corrections that a survey of the shipped instructions turned up. - `page-checkpoints.md`, "Ending", listed two of the five conditions on which `leaf page close` refuses. It now gives the command's own list, from `leaf page close --help`: an unread update, worker's report or page error, an update that still owes its answer, or an open to-do. - `module-authoring.md` gave `mountSample` a signature without `source`, which `browser/runtime/sample.js` takes in place of `template`. It now names it and points to `live-samples.md`, "Generated samples". - `module-state.md` said Leaf doesn't set the property of an `lf-diff` showing its inline patch. `ElementData.initialize()` in `browser/runtime/element-data.js` sets it once, to the text of the widget's `<pre>`, as `package-data.md` and `module-reading.md` already say. - The header of `browser/runtime/composing/input.js` now records one of Max's calls. Where the browser can't dictate, an empty comment box keeps Send, grey and unavailable; he chose that on #3287 over a box that shows no Send until it holds words. A fresh agent given the root guidance and that choice ships the hidden Send in three answers of three, so the decision needs to stand where the next change to the box reads it. **To weigh.** #5981, an open draft, edits the paragraph after the `module-state.md` sentence and leaves the sentence itself, so whichever lands second may have a one-line conflict there. No behaviour changes. The three reference edits correct facts, so none was scored. Asked for by Max. `pre-commit` passes. > _This was written by Claude Code on behalf of max-sixty_
A comment box's one main press is Dictate while it is empty and Send once it holds something to send. Where the browser has no speech recognition, as in Firefox, an empty box showed a grey Send that sent nothing, and Tab from the empty panel field stopped on it. Now that seat stands empty: Send is hidden, so it leaves the tab order and Tab goes on to the row's counts, and it shows with the first word, or an attached image or drawing. The rule lives in wireInput's paintSubmitVisibility, so the panel field, a passage's comment box, replies and a seat's first message all follow it. The press floats over room the words already keep, so nothing moves when it appears. A rewrite's Save and an option's Add keep their own presses; browsers that dictate are unchanged.
Picked as
fix-sendon the floating-panel review page.