Repository navigation
fix(web): IME and Escape keys, connection errors, project action grants and markdown streaming (batch 1855 client) - #751
Merged
Conversation
trancong12102
force-pushed
the
fix/batch-1855-client
branch
3 times, most recently
from
November 24, 2026 14:38
fa87c58 to
9efb534
Compare
…ts and markdown streaming (batch 1855 client) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
trancong12102
force-pushed
the
fix/batch-1855-client
branch
from
November 24, 2026 14:43
9efb534 to
993a9b0
Compare
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.
Follow-ups from the 2026-11-24 upstream syncs and batch 1352 that touch client UI shared by desktop and mobile.
Problems and fixes
Connections and updates
environmentMismatchErroris now a server-hop error that says "A different Onicode install answers at this address." Diagnosis has its own branch with advice that also fits LAN roaming. The primary desktop connection gets no "remove this connection" advice, because it cannot be removed. This applies on web and mobile.Settings
settings:writefill the script form, then fail on submit. Script edits now need bothsettings:writeandorchestration:operate, throughprojectScriptsPermissionAtom. Reset stays settings-only.serverUpdateSettingsjoinsCLIENT_GUARDED_RPC_SCOPESwith patch-based scopes. Mobile does not edit scripts.role="img"with its reading as the label.AppRouteModalhonours a prevented Escape.type="search"fields are nowtype="text", so Escape no longer triggers the native clear, including during IME composition.Threads and links
WorkspacePageHeader.ThreadUnavailableScreen.BrowserDocumentFramedid not pass tracker connections. It now does.Markdown and file preview (shared)
markdownChunks:heldis now cleared when the last open wrapper closes. Before, a closed<table>/<details>could later be cut through.completeflag lets callers with a finished text treat its last line as complete. Streaming callers keep the resumable rule.<p>got<br>around its inner newlines when line breaks were on.wordsHastnow marks raw<p>elements in a second pass, and mobilemarkdownDocumentturns those newlines into spaces.Shared runtime
getCloneDirectoryName:#and?are now stripped only for URL or SCP-like specs, sofirmware#2andrepos/firmware#2.gitkeep their names.opencode-go/deepseek-v4.1-flash) now scores as an exact match and beats prefix matches and favourites.IME
isComposing || keyCode === 229checks in 51 files now useisImeKeyDown, with no change in behaviour.Flaky ChatView test (Linear badge, shuffle seeds 23 and 42)
ChatView.browser.test.tsxpasses with seeds 23 and 42, and all 6 fakeEnvironment browser files pass (37 tests).Verification
vp run check:changedpasses.<p>text) are logic with unit tests and no layout change.Rejected
0npin order keys: only keys written on 0.25.0 are affected. They are the user's own placement and correct themselves on the next reorder. Older mobile builds would also reject a rewrite to0…keys.Council review (Antigravity Gemini 4 Neon, xhigh)
Round 1:
<p>in a link destination: fixed. The probe marks nothing unless both renders have the same paragraph count. A document that has both a link-destination<p>and a raw<p>falls back to the old breaks.<p>appeared: the probe now runs only when a bare paragraph has a line break. Math stays on in the probe on purpose, because turning it off can change the paragraph count.nextMarkdownSplitdropped a done-only transition: fixed, with a row added.serverUpdateSettingspatches skipped the client guard: client and server now sharerequiredScopesForServerSettingsUpdate. The client still holds only script writes to it (see round 2).</details><details>on one line kept a stale held cut: fixed with per-tag depth tracking, and a row added.<p>regex: fixed (custom<p-…>tags and HTML5 block closers), with rows added.Effect.dieis kept over interrupt, because command handlers read an interrupt as a user cancel.Round 2:
htmlTagMarkdownstill matched<p-card>,<div-…>and<details-…>as block tags: fixed, and the assertions are tighter.dialognow ends a raw paragraph.Rebased onto main, which now carries 9d04a26 (a Settings search Esc fix that overlaps this PR). Main's
clearSearchOnEscapeis kept, with only theisImeKeyDownmigration on top.A second rebase brought in #753. check:changed then failed twice in
Sidebar.browser.test.tsx: a draft nameddraft-handed-offshowed up in its sidebar. That draft comes from a test inProjectSettingsPanel.browser.test.tsx, which left it in the persisted composer draft store. That test now restores the store when it ends, the same way the Sidebar tests do.Claude Opus 5.5 (
claude-opus-5-5) in Claude Code, inside Onicode.🤖 Generated with Claude Code