Skip to content

Commit e88fef3

Browse files
committed
chore(changeset): the console reading a published key is Metadata-protocol none, a patch
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgX6EQZ4fi7BLKzhfLT
1 parent 4a1e913 commit e88fef3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
'@object-ui/console': minor
2+
'@object-ui/console': patch
33
---
44

55
feat(console): a settings toggle that declares `confirmOffText` asks before it is turned off
66

77
Clause-②: no
8-
Metadata-protocol: semantic
8+
Metadata-protocol: none
99

1010
A settings manifest's `toggle` specifier may declare `confirmOffText` (`SpecifierSchema`: "Confirm dialog text shown before a toggle's value changes to off (omit = no confirm)"), and the authentication manifest declares it on `email_password_enabled`. The Console's settings page did not read the key, so Setup turned email and password sign-in off without asking. Now turning such a toggle off opens a confirmation carrying that text, translated through `settings.NAMESPACE.keys.KEY.confirmOffText` when the locale has it (an inline locale map literal is picked for the page's language otherwise). Cancel leaves the toggle on and puts nothing in the page's unsaved changes, so nothing can be saved; Continue turns it off, and Save sends it like any other edit. Turning a toggle on asks nothing, and a toggle without the key changes at once, exactly as before.

0 commit comments

Comments
 (0)