Modes: a mode that no longer matches the features reads "Custom (based on <mode>)" and offers "Re-apply <mode>"
A mode is a starting point, never a lock and never applied again on its own. modeStatus() (runtime) compares the flags with the mode's preset: custom, what re-applying turns on and off, and which of those the preset gained in an update since it was applied. mode_set keeps the preset of that moment (modes.json "preset", flag names only, bounded; forgotten when the mode changes). Settings, the first-run screen and the app menu's Mode row show Custom; Re-apply lists what it turns on and off before it writes anything; a preset that grew is mentioned once on the mode row (Review), never applied. Tests: exact match, changed by the owner, preset grew, choice made before the preset was kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b75246bef8
commit
26658e14ae
9 changed files with 288 additions and 27 deletions
|
|
@ -469,18 +469,25 @@ export const PANEL_MESSAGES = {
|
|||
'wb.make.warn.tag': 'The header has no {tag}.',
|
||||
'wb.modes.applied': '{mode} is on.',
|
||||
'wb.modes.current': 'in use',
|
||||
'wb.modes.custom': 'Custom (based on {mode})',
|
||||
'wb.modes.existing': 'You already set {app} up. Nothing changes unless you pick a mode.',
|
||||
'wb.modes.grew': '{mode} has new features: {count}.',
|
||||
'wb.modes.keep': 'Keep my changes',
|
||||
'wb.modes.keepHint': 'Changed by hand: {count}. Those would be replaced.',
|
||||
'wb.modes.keepQuestion': 'Keep your manual changes?',
|
||||
'wb.modes.keepSetup': 'Keep my current setup',
|
||||
'wb.modes.lede': 'Pick a starting point. Every plugin and feature stays individually switchable, and you can change the mode later in Settings.',
|
||||
'wb.modes.reapply': 'Re-apply {mode}',
|
||||
'wb.modes.reapplyHint': 'Every feature goes back to what {mode} starts with.',
|
||||
'wb.modes.recommended': 'Recommended',
|
||||
'wb.modes.reset': 'Use {mode} as it is',
|
||||
'wb.modes.review': 'Review',
|
||||
'wb.modes.section': 'Mode',
|
||||
'wb.modes.sectionHint': 'A starting point, not a lock. Changing it never takes a switch away.',
|
||||
'wb.modes.start': 'Start with {mode}',
|
||||
'wb.modes.title': 'How much should {app} change {site}?',
|
||||
'wb.modes.turnsOff': 'Turns off: {list}',
|
||||
'wb.modes.turnsOn': 'Turns on: {list}',
|
||||
'wb.modes.use': 'Use this mode',
|
||||
'wb.panel.accounts.add': '+ Add account',
|
||||
'wb.panel.accounts.hint': 'Each account is its own {site} sign-in on this computer and stays signed in across restarts. Click one to open its feed beside this pane.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue