Repository navigation
feat(settings): move Chat UI's chat settings from Experimental to the Chat page - #28050
Conversation
…tch the host lacks
…hat-settings-move
|
Chat settings were split between Experimental and Chat. The controls now live in Chat → Behavior, while Experimental keeps the Chat UI switch. Review repairs preserve the existing translations, omit queue search results when the runtime cannot show that control, and make the Behavior heading searchable. Two review rounds, the architecture challenge, readiness, and dedicated performance source reviews are complete. Verified commit: Deferred, temporary: with Chat UI off and old chats still held, the restart dialog’s “Change in Settings” link targets a hidden Chat page. Brennan explicitly chose to preserve visibility until the planned change makes Chat always visible; enabling Chat UI is the current workaround. Limits: the native Cmd+J accelerator and a queue-supported runtime were not exercised live. The palette was opened through its rendered sidebar button and its search/selection passed; supported queue behavior has automated coverage. The new Behavior heading/search keywords still fall back to English in French. Windows/Linux/browser/mobile screens and processor/memory timing were not tested. The local Bun wrapper error is documented; standard typechecks and CI passed. Remote proof: Chat Behavior, then the existing French labels. |
|
One leftover from the move: the restart dialog still points at the old place. Under "Don't ask again (resume automatically)", Happy to send the one-string PR if that is easier. |
…one key main moved 42 commits since the last refresh (b0e73d9 to a1f8e64), eight of them touching en.json, and the branch conflicted again only in the generated en-runtime-required.json. The six locale files merged cleanly, so the earlier prune carries over. One key is added to it: auto.components.settings.experimental.search.nativeChat.queue. stablyai#28050 moved the queue search keyword to the Chat page and stopped reading this one, but left it in all six catalogs. Each catalog now differs from main by the same 1,477 keys and nothing else, and the detector finds no unreferenced key on the merged tree. en.json goes from 15,860 entries to 14,383. en-runtime-required.json is regenerated at 538 of 14,383. The merge comes through the detector branch so the two stay in step.
… Chat page (stablyai#28050) * feat(settings): move Chat UI's chat settings from Experimental to the Chat page * chore(i18n): sync catalogs for the moved chat settings * fix(settings): hide the Behavior group when search matches only a switch the host lacks * Keep Chat behavior search aligned with translations and host support (cherry picked from commit edd8084)
… Chat page (#28050) * feat(settings): move Chat UI's chat settings from Experimental to the Chat page * chore(i18n): sync catalogs for the moved chat settings * fix(settings): hide the Behavior group when search matches only a switch the host lacks * Keep Chat behavior search aligned with translations and host support (cherry picked from commit edd8084) Backport to 1.4.224: ChatBehaviorSetting imports RuntimeClientTarget from @/runtime/runtime-client-target (1.4.224's location); NativeChatQueueFollowUpsSetting is deleted as on main (its only 1.4.224 difference was that import path).


ELI5
Turning on Chat UI (Settings > Experimental) already adds a "Chat" page to Settings. But three settings that only matter for chats were still tucked under the Chat UI switch on the Experimental page. This moves them to the Chat page, next to the other chat settings.
What Changed
Before: with Chat UI on, Settings > Experimental showed the Chat UI switch plus three indented settings under it: "Resume working chats automatically after a restart", "Queue follow-ups", and "Use your shell environment" (with its variable list). The Chat page held only Appearance, Inline visuals and Chat names, so chat settings were split across two pages.
After: Experimental shows only the Chat UI switch. The Chat page has a new Behavior group (its own heading and card, between Inline visuals and Chat names) holding those three settings. Settings search and the Cmd+J palette find them on the Chat page ("resume", "queue", "environment variables", "proxy"…) and jump straight to the row.
Mechanism:
ChatBehaviorSettingrenders the three rows inside the Chat page, using the sameSearchableSetting+SettingsSwitchRowpattern as the Appearance card.chat-behavior-search.tsholds their search entries (each with its own deep-link target). The Chat page's navigation entry now includes them. Thequeuekeyword is removed from the Experimental Chat UI entry.NativeChatExperimentalSettingkeeps only the Chat UI switch.NativeChatQueueFollowUpsSettingcomponent is folded into the Behavior group, since it is now a plain switch row. The setting keys and stored values are unchanged.Why
The Chat page already exists for exactly these settings, and it appears exactly when Chat UI is on. Splitting chat settings between it and Experimental made them hard to find. Moving the rows reuses the existing page, search and deep-link mechanism; nothing new is added.
Temporary behavior difference (deferred by Brennan): before, these controls stayed visible on Experimental with Chat UI off if this machine still held chats. They now live on Chat, which keeps its existing visibility rule and appears only while Chat UI is on. Existing chats can still resume automatically with Chat UI off; in that state the restart dialog's “Change in Settings” link cannot reach the hidden Chat page. Turn Chat UI on to reach the controls. Brennan explicitly chose to keep page visibility unchanged: the planned move of Chat UI out of Experimental will make Chat always visible and remove this edge case.
Visual Proof
After: the Chat page with the new Behavior group:
After: "Use your shell environment" turned off on the Chat page, with a variable added:
(Queue follow-ups doesn't appear in these shots because this dev build's runtime doesn't support queueing. That matches the old behavior on Experimental.)
Testing
Two independent review rounds, an architecture challenge, the readiness checklist, and performance source reviews completed. Review fixed lost existing translations, search results pointing to an unsupported queue control, and missing Behavior-heading search coverage.
Reviewed commit:
8112c7065b23c116a749e82209c264cd6639d77d. One final main integration included the repository check repair; it left the reviewed settings and resume-link code unchanged.Settings, navigation, and restart-dialog tests: 406 files, 2,779 tests passed. Standard full typecheck and
tc:webpassed.orca-ci-checkspassed 23/24; the local Bun wrapper fails before code checking withScript not found "check". GitHub's static analysis/typecheck, all five test jobs, relay integration, both package builds, and final verification passed: CI run.Remote M4Air Electron checks on that exact commit, driven by OpenCode through the Chrome DevTools Protocol with a disposable profile and hidden app: Experimental retains the switch; Chat Behavior renders the moved controls; shell inheritance and variable add/remove persist; automatic resume saves both on and off; Settings search and rendered palette selection reach Chat; unsupported queue controls/results are absent; existing moved French strings render in French. Own test processes were stopped and ports released.
Limits: the native Cmd+J keyboard accelerator was not exercised in the hidden app; the palette was opened with its rendered sidebar button, and search/selection were tested through the UI. The queue-supported branch has automated coverage but was not exercised live because this runtime lacks the capability. Windows, Linux, browser, and mobile screens were not exercised; processor and memory costs were reviewed in source, not measured. The new Behavior heading still falls back to English in French; existing translations are preserved.
Manual Electron checks completed
Automated tests added/updated
Notes