Repository navigation
fix: make every settings field save and take effect - #191
Merged
Merged
Conversation
The desktop web UI picked a new random port on every launch. Its origin keys localStorage, so every device preference (thread notifications, typography, diffs, time format) reset after a restart. Save the web port in the runtime directory and reuse it; pick and save a new one only when the saved port is taken. Fixes: #136
Allow the notifications permission for the setup and web UI origins only, next to clipboard writes. Everything else stays denied. In the browser, a dismissed permission prompt now says why notifications stay off, the enable button shows only while permission is missing, and the scope note says alerts need an open Canopy window.
A new turn that started while the thread still had an unseen result raised "A thread finished." at the start, then again at the real end. Alert for a result only when the turn ends: the result changes, or the thread stops running. Fixes: #136
A denied permission now shows the blocked message even when the browser reports it only from the request.
Add a soon state to settings rows: a compact "Soon" badge after the title, a disabled control and no reset, so the stored value stays as it is. Use it for "Keep worktrees with local changes": cleanup always keeps local work, and the switch only changed a label. Disable the "Thread title" branch naming option: new threads send no title and the branch is not renamed when the title arrives. Correct the settings map where it listed controls that do not exist: worker limits and directories, the network listen address, project rename and schedule deletion.
Bot chat times, linked computer presence and date and time fields used fixed formatters and ignored Settings → General → Time format. Fixes: #136
Dark muted text mostly uses the zinc-400 step and the muted token, which Strong did not change, so it had almost no effect in dark mode. Fixes: #137
Provider forms reset their draft whenever the page swapped in an equal instance, for example when a worker reconnected or a model was starred. Reset only when the stored revision or overrides really change.
The settings stack grid grew its auto column to a long nowrap title, so rows overflowed the pane at phone width. Fixes: #96
Clamp "Inactive for days" to a whole number from 0 to 3650, which the gateway accepts. "Pair again" on a desktop app makes a desktop pairing code instead of a phone code.
This was referenced Nov 13, 2026
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.
Every Settings field now saves and takes effect. Settings with no working feature behind them are disabled and marked Soon.
Thread notifications did not stick on desktop. The desktop web UI started on a new random port at every launch. The page origin therefore changed, and with it the browser storage behind every "This device" setting, so notifications, fonts, diffs, time format and keybindings all reset after a restart. The app now saves the port in
userData/web-portand reuses it. If that port is taken, it picks and saves a new one, and device settings reset once.Notifications
notifications, for the app's own pages only. Everything else stays denied.Other fixes
Soon (a
soonprop on the settings row: a badge after the title, the control disabled, the reset hidden, the stored value untouched)docs/settings-map.mdno longer lists settings that do not exist: worker limits and directories, the listen address, project rename and schedule deletion.Tests
apps/desktop/test/web-port.test.ts: the port survives restarts, and a taken or invalid saved port is replaced.apps/desktop/test/window-permissions.test.ts: only clipboard writes and notifications are allowed, and only for the app's own origins.check:tmp: 1208 passed, 0 failed.Copy audit (§8)
Manual check on a Mac after the nightly
Fixes: #136
Fixes: #137
Fixes: #96