The safety layer: two presses for anything you cannot take back
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -142,4 +142,11 @@ Singleton {
|
||||
// Set by Dock.qml so the bar can avoid fighting it for pointer grabs, and
|
||||
// read by the capture overlay so the dock isn't in the screenshot.
|
||||
property bool dockRevealed: false
|
||||
|
||||
// Exactly one destructive confirmation may be armed at a time, app-wide --
|
||||
// "two armed destructive actions on screen at once is how the wrong one
|
||||
// gets pressed" (SyncPage wrote that down for its own card; ConfirmAction
|
||||
// enforces it for everyone). The token is owned by whichever ConfirmAction
|
||||
// armed it; arming another disarms the first.
|
||||
property string armedConfirm: ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user