mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-10-27 20:53:44 +00:00
Not every preference warrants a reset; future resets are per configuration item, added only where a field truly needs one (tracked in #69). The whole chain goes: the 恢复默认 button and its confirmation alert in SettingsView, the SettingsWorkflow reset/confirm/cancel commands and the confirmation machinery they existed for (the SettingsConfirmation enum had a single case), the SettingsCommitting.resetPreferences seam entry, the runtime resetPreferences() and ProxySettingsFileStore.reset() with its file-rollback helpers and the rollbackFailed store error. CONTEXT.md drops the three stale reset phrases and now records the domain decision: no restore-all-factory-defaults action for preferences; a reset, where it exists, is scoped to one configuration item. ADR-0004/0005/0011 carry amendment notes since their reset sentences describe a removed capability (0004's also predate the PAC removal).