Repository navigation
fix(web): voice settings follow the selected environment; provider saves stop reverting other devices' edits - #307
Merged
Merged
Conversation
…ment waits for earlier saves
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.
Settings → Extras → Voice edited the primary environment while the Extras scope showed another one. The provider settings card kept a whole-envelope pending mirror that cleared only on an exact echo, so a stale save could revert a newer edit from another device. This PR fixes both and trims the fork's diff.
F2 — Voice follows the selected environment. Voice rows, TTS status, catalog and the Test dialog bind to the Extras scope's environment, like SP Labs. This also covers hosted clients with no primary. Profile fields are disabled without settings-write permission. The speech-key action still writes to every connected environment, as an explicit choice. A browser test fails on the base.
T22 — effect-state mirrors removed. The TTS test sample is now a subtree keyed by open, environment and profile. The sample text lives in the parent. Blob cleanup and autoplay are kept.
AssistantMessageSpeechreads the live thread speech query only in the failure handler.T13 (+ A5) — shared acknowledgement path. I restored upstream's
customModelSaves.logic.tsand made it generic. The panel now keeps a list of unechoed envelope saves per instance (providerInstanceSaves.logic.ts) and applies upstream's echo rules to it. Saves retire when the stored envelope moves on. Secrets compare by presence. A key-only write retires on its reply. A reset's save expects an absent-instance echo. Cards render the latest unechoed envelope, and the card's mutators match upstream again. The icon map and usage source are kept. This also restores upstream's list-row markup and thecanWritePreferencesgating, which earlier merges had dropped. Fork diff on the touched files drops from 1,380 to about 700 changed lines. New logic and browser tests fail on the previous code.T24 — one selector.
ConnectionOnboarding.updatableBearerRouteis the single selector, used by both the update command and the web edit UI. Learned routes stay excluded.Residual risks (not fixed).
Done by Claude Opus 5.5 (Claude Code in T3 Code).