mobileui-os 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +47 -0
- package/CHANGELOG.md +25 -0
- package/README.md +78 -0
- package/bin/cli.mjs +375 -0
- package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
- package/knowledge/android/accessibility.md +333 -0
- package/knowledge/android/components-controls.md +270 -0
- package/knowledge/android/material-design-3.md +174 -0
- package/knowledge/android/navigation-patterns.md +212 -0
- package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
- package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
- package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
- package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
- package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
- package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
- package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
- package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
- package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
- package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
- package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
- package/knowledge/apple/Interaction-behaviour.md +1378 -0
- package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
- package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
- package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
- package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
- package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
- package/knowledge/apple/Patterns-templates-composition.md +647 -0
- package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
- package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
- package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
- package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
- package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
- package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
- package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
- package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
- package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
- package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
- package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
- package/knowledge/apple/accessibility.md +2162 -0
- package/knowledge/apple/color.md +1933 -0
- package/knowledge/apple/component-architecture.md +2208 -0
- package/knowledge/apple/components.md +2172 -0
- package/knowledge/apple/design-decision-framework.md +1883 -0
- package/knowledge/apple/design-review-engine.md +2108 -0
- package/knowledge/apple/design-tokens.md +1943 -0
- package/knowledge/apple/designing-for-ios.md +1680 -0
- package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
- package/knowledge/apple/hig-foundation.md +1806 -0
- package/knowledge/apple/iconography.md +1903 -0
- package/knowledge/apple/interaction-patterns.md +2513 -0
- package/knowledge/apple/interaction.md +2141 -0
- package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
- package/knowledge/apple/ios-components-and-controls.md +1634 -0
- package/knowledge/apple/ios-components-patterns.md +1343 -0
- package/knowledge/apple/ios-design-system-architecture.md +1520 -0
- package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
- package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
- package/knowledge/apple/ios-forms-and-input.md +1458 -0
- package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
- package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
- package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
- package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
- package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
- package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
- package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
- package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
- package/knowledge/apple/ios-search-and-discovery.md +1456 -0
- package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
- package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
- package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
- package/knowledge/apple/layout.md +2331 -0
- package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
- package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
- package/knowledge/apple/motion-and-animation.md +1698 -0
- package/knowledge/apple/motion.md +2087 -0
- package/knowledge/apple/navigation.md +2281 -0
- package/knowledge/apple/responsive-adaptive.md +2159 -0
- package/knowledge/apple/screen-architecture.md +2067 -0
- package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
- package/knowledge/apple/typography.md +1802 -0
- package/knowledge/apple/ui-ux inteligence audit.md +106 -0
- package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
- package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
- package/knowledge/apple/visual-materials.md +2189 -0
- package/package.json +53 -0
- package/principles/design-principles.md +37 -0
- package/principles/platform-principles.md +25 -0
- package/principles/ux-principles.md +16 -0
- package/references/official-links.md +11 -0
- package/skills/accessibility-engineer/SKILL.md +125 -0
- package/skills/analytics-engineer/SKILL.md +283 -0
- package/skills/animation-engineer/SKILL.md +316 -0
- package/skills/component-designer/SKILL.md +75 -0
- package/skills/component-library-engineer/SKILL.md +140 -0
- package/skills/component-library-ops/SKILL.md +155 -0
- package/skills/design-system/SKILL.md +77 -0
- package/skills/design-token-engineer/SKILL.md +203 -0
- package/skills/design-token-pipeline/SKILL.md +277 -0
- package/skills/device-lab-engineer/SKILL.md +387 -0
- package/skills/forms-engineer/SKILL.md +79 -0
- package/skills/internationalization-engineer/SKILL.md +256 -0
- package/skills/motion-designer/SKILL.md +77 -0
- package/skills/native-data-fetching/SKILL.md +50 -0
- package/skills/navigation-architect/SKILL.md +65 -0
- package/skills/performance-engineer/SKILL.md +250 -0
- package/skills/platform-specialist/SKILL.md +95 -0
- package/skills/pre-release-gate/SKILL.md +75 -0
- package/skills/screen-designer/SKILL.md +117 -0
- package/skills/security-engineer/SKILL.md +375 -0
- package/skills/skills.json +134 -0
- package/skills/testing-auditor/SKILL.md +62 -0
- package/skills/ui-architect/SKILL.md +86 -0
- package/skills/ui-implementer/SKILL.md +188 -0
- package/skills/ux-architect/SKILL.md +49 -0
- package/skills/ux-auditor/SKILL.md +52 -0
- package/skills/visual-auditor/SKILL.md +71 -0
- package/templates/audit-report.md +29 -0
- package/templates/design-tokens.ts +33 -0
- package/templates/screen-spec.md +61 -0
- package/workflows/new-screen.md +17 -0
- package/workflows/pre-release.md +21 -0
- package/workflows/redesign.md +14 -0
- package/workflows/ui-audit.md +22 -0
|
@@ -0,0 +1,1342 @@
|
|
|
1
|
+
|
|
2
|
+
# iOS Alerts, Confirmations & Destructive Actions
|
|
3
|
+
|
|
4
|
+
> Agent intelligence module for designing warnings, confirmations, destructive
|
|
5
|
+
> operations, irreversible actions, recovery, undo, and high-consequence flows.
|
|
6
|
+
|
|
7
|
+
Version: 1.0
|
|
8
|
+
Platform: iOS / iPadOS / React Native / Expo
|
|
9
|
+
Role: Decision and consequence-management intelligence
|
|
10
|
+
|
|
11
|
+
Parent:
|
|
12
|
+
|
|
13
|
+
* ios-design-system-architecture.md
|
|
14
|
+
* ios-sheets-modals-popovers.md
|
|
15
|
+
* ios-components-and-controls.md
|
|
16
|
+
* ios-navigation-and-information-architecture.md
|
|
17
|
+
* ios-gestures-and-touch.md
|
|
18
|
+
* accessibility-and-inclusive-design.md
|
|
19
|
+
* ios-error-empty-offline-states.md
|
|
20
|
+
|
|
21
|
+
# 1. PURPOSE
|
|
22
|
+
|
|
23
|
+
Warnings and confirmations exist to protect users from meaningful consequences.
|
|
24
|
+
|
|
25
|
+
They should not exist simply because developers are afraid of user actions.
|
|
26
|
+
|
|
27
|
+
The agent must distinguish:
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
Safe action
|
|
31
|
+
Reversible action
|
|
32
|
+
Recoverable action
|
|
33
|
+
Destructive action
|
|
34
|
+
Irreversible action
|
|
35
|
+
High-consequence action
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
.
|
|
39
|
+
|
|
40
|
+
# 2. CORE PRINCIPLE
|
|
41
|
+
|
|
42
|
+
The best destructive-action UX is not:
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
"Ask for confirmation everywhere."
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
It is:
|
|
49
|
+
|
|
50
|
+
```text
|
|
51
|
+
Prevent accidental damage
|
|
52
|
+
+
|
|
53
|
+
Make consequences clear
|
|
54
|
+
+
|
|
55
|
+
Make recovery easy
|
|
56
|
+
+
|
|
57
|
+
Interrupt only when necessary
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
# 3. DECISION MODEL
|
|
61
|
+
|
|
62
|
+
Before adding confirmation:
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
What happens if the user makes a mistake?
|
|
66
|
+
↓
|
|
67
|
+
Can the action be undone?
|
|
68
|
+
↓
|
|
69
|
+
Can it be recovered automatically?
|
|
70
|
+
↓
|
|
71
|
+
How severe is the consequence?
|
|
72
|
+
↓
|
|
73
|
+
How likely is accidental activation?
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
.
|
|
77
|
+
|
|
78
|
+
# 4. REVERSIBILITY
|
|
79
|
+
|
|
80
|
+
Classify actions.
|
|
81
|
+
|
|
82
|
+
### Level 0 — Fully reversible
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
Play
|
|
86
|
+
Pause
|
|
87
|
+
Sort
|
|
88
|
+
Filter
|
|
89
|
+
Navigation
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Usually no confirmation.
|
|
93
|
+
|
|
94
|
+
### Level 1 — Easily reversible
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
Archive
|
|
98
|
+
Mark read
|
|
99
|
+
Favorite
|
|
100
|
+
Move
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Prefer immediate action + undo.
|
|
104
|
+
|
|
105
|
+
### Level 2 — Recoverable
|
|
106
|
+
|
|
107
|
+
```text
|
|
108
|
+
Delete to trash
|
|
109
|
+
Remove from playlist
|
|
110
|
+
Unlink
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Use undo or recovery where practical.
|
|
114
|
+
|
|
115
|
+
### Level 3 — Difficult to reverse
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
Permanent delete
|
|
119
|
+
Account changes
|
|
120
|
+
Data replacement
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Confirmation may be appropriate.
|
|
124
|
+
|
|
125
|
+
### Level 4 — Irreversible / high consequence
|
|
126
|
+
|
|
127
|
+
```text
|
|
128
|
+
Permanent destruction
|
|
129
|
+
Security changes
|
|
130
|
+
Identity changes
|
|
131
|
+
Financially consequential actions
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Use explicit confirmation and clear consequence communication.
|
|
135
|
+
|
|
136
|
+
# 5. CONFIRMATION COST
|
|
137
|
+
|
|
138
|
+
Every confirmation creates friction.
|
|
139
|
+
|
|
140
|
+
Therefore:
|
|
141
|
+
|
|
142
|
+
```text
|
|
143
|
+
Confirmation cost
|
|
144
|
+
+
|
|
145
|
+
Interaction cost
|
|
146
|
+
+
|
|
147
|
+
Attention cost
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
must be justified by the risk.
|
|
151
|
+
|
|
152
|
+
# 6. CONFIRMATION FATIGUE
|
|
153
|
+
|
|
154
|
+
If users encounter too many confirmations:
|
|
155
|
+
|
|
156
|
+
```text
|
|
157
|
+
Read carefully
|
|
158
|
+
↓
|
|
159
|
+
Declines
|
|
160
|
+
↓
|
|
161
|
+
Starts tapping automatically
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Eventually the confirmation becomes meaningless.
|
|
165
|
+
|
|
166
|
+
# 7. NEVER CONFIRM EVERYTHING
|
|
167
|
+
|
|
168
|
+
Avoid:
|
|
169
|
+
|
|
170
|
+
```text
|
|
171
|
+
Open?
|
|
172
|
+
Play?
|
|
173
|
+
Favorite?
|
|
174
|
+
Sort?
|
|
175
|
+
Navigate?
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Confirmation should correspond to consequence.
|
|
179
|
+
|
|
180
|
+
# 8. CONFIRMATION THRESHOLD
|
|
181
|
+
|
|
182
|
+
A useful conceptual rule:
|
|
183
|
+
|
|
184
|
+
```text
|
|
185
|
+
Risk × Probability of accidental activation
|
|
186
|
+
>
|
|
187
|
+
Interaction cost
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Only then should confirmation become a strong candidate.
|
|
191
|
+
|
|
192
|
+
# 9. UNDO FIRST
|
|
193
|
+
|
|
194
|
+
When an action is reversible, consider:
|
|
195
|
+
|
|
196
|
+
```text
|
|
197
|
+
Action
|
|
198
|
+
↓
|
|
199
|
+
Immediate result
|
|
200
|
+
↓
|
|
201
|
+
Undo
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
before:
|
|
205
|
+
|
|
206
|
+
```text
|
|
207
|
+
Action
|
|
208
|
+
↓
|
|
209
|
+
Are you sure?
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
.
|
|
213
|
+
|
|
214
|
+
# 10. UNDO BENEFITS
|
|
215
|
+
|
|
216
|
+
Undo preserves:
|
|
217
|
+
|
|
218
|
+
```text
|
|
219
|
+
Momentum
|
|
220
|
+
Context
|
|
221
|
+
Speed
|
|
222
|
+
User control
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
.
|
|
226
|
+
|
|
227
|
+
# 11. UNDO WINDOW
|
|
228
|
+
|
|
229
|
+
Undo should remain available long enough for the user to notice a mistake,
|
|
230
|
+
without becoming permanent interface clutter.
|
|
231
|
+
|
|
232
|
+
# 12. UNDO SCOPE
|
|
233
|
+
|
|
234
|
+
Undo should clearly identify what will be reversed.
|
|
235
|
+
|
|
236
|
+
Example:
|
|
237
|
+
|
|
238
|
+
```text
|
|
239
|
+
"Playlist deleted"
|
|
240
|
+
Undo
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
is clearer than:
|
|
244
|
+
|
|
245
|
+
```text
|
|
246
|
+
"Done"
|
|
247
|
+
Undo
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
# 13. REDO
|
|
251
|
+
|
|
252
|
+
For complex editing systems, consider paired:
|
|
253
|
+
|
|
254
|
+
```text
|
|
255
|
+
Undo
|
|
256
|
+
Redo
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
when users need iterative manipulation.
|
|
260
|
+
|
|
261
|
+
# 14. DESTRUCTIVE COLOR
|
|
262
|
+
|
|
263
|
+
Destructive actions may use semantic destructive styling.
|
|
264
|
+
|
|
265
|
+
Do not use red simply because something is important.
|
|
266
|
+
|
|
267
|
+
# 15. RED ≠ IMPORTANCE
|
|
268
|
+
|
|
269
|
+
Red should communicate:
|
|
270
|
+
|
|
271
|
+
```text
|
|
272
|
+
Danger
|
|
273
|
+
Destruction
|
|
274
|
+
Critical consequence
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
not merely:
|
|
278
|
+
|
|
279
|
+
```text
|
|
280
|
+
Primary action
|
|
281
|
+
Important action
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
.
|
|
285
|
+
|
|
286
|
+
# 16. DESTRUCTIVE LABELS
|
|
287
|
+
|
|
288
|
+
Use explicit labels.
|
|
289
|
+
|
|
290
|
+
Prefer:
|
|
291
|
+
|
|
292
|
+
```text
|
|
293
|
+
Delete
|
|
294
|
+
Remove permanently
|
|
295
|
+
Discard changes
|
|
296
|
+
Erase all data
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
over:
|
|
300
|
+
|
|
301
|
+
```text
|
|
302
|
+
Yes
|
|
303
|
+
Continue
|
|
304
|
+
Proceed
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
.
|
|
308
|
+
|
|
309
|
+
# 17. AVOID AMBIGUOUS BUTTONS
|
|
310
|
+
|
|
311
|
+
Weak:
|
|
312
|
+
|
|
313
|
+
```text
|
|
314
|
+
Cancel OK
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
Strong:
|
|
318
|
+
|
|
319
|
+
```text
|
|
320
|
+
Keep File Delete File
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
when the decision is destructive.
|
|
324
|
+
|
|
325
|
+
# 18. ACTION ORDER
|
|
326
|
+
|
|
327
|
+
Action placement should reduce accidental destructive activation.
|
|
328
|
+
|
|
329
|
+
Group routine and destructive actions distinctly.
|
|
330
|
+
|
|
331
|
+
# 19. DESTRUCTIVE ACTION SEPARATION
|
|
332
|
+
|
|
333
|
+
For important destructive actions, visual and spatial separation can reduce
|
|
334
|
+
mistakes.
|
|
335
|
+
|
|
336
|
+
# 20. CONFIRMATION TITLE
|
|
337
|
+
|
|
338
|
+
A confirmation title should state the consequence.
|
|
339
|
+
|
|
340
|
+
Example:
|
|
341
|
+
|
|
342
|
+
```text
|
|
343
|
+
Delete "Downloads"?
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
not:
|
|
347
|
+
|
|
348
|
+
```text
|
|
349
|
+
Warning
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
.
|
|
353
|
+
|
|
354
|
+
# 21. CONFIRMATION BODY
|
|
355
|
+
|
|
356
|
+
Explain the consequence when the title alone is insufficient.
|
|
357
|
+
|
|
358
|
+
Example structure:
|
|
359
|
+
|
|
360
|
+
```text
|
|
361
|
+
What will happen.
|
|
362
|
+
Whether recovery is possible.
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
.
|
|
366
|
+
|
|
367
|
+
# 22. INFORMATION DENSITY
|
|
368
|
+
|
|
369
|
+
Do not bury the actual consequence inside a paragraph.
|
|
370
|
+
|
|
371
|
+
The user should understand the decision quickly.
|
|
372
|
+
|
|
373
|
+
# 23. CONFIRMATION ACTION
|
|
374
|
+
|
|
375
|
+
The destructive action should be the actual action:
|
|
376
|
+
|
|
377
|
+
```text
|
|
378
|
+
Delete
|
|
379
|
+
Discard
|
|
380
|
+
Remove
|
|
381
|
+
Erase
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
.
|
|
385
|
+
|
|
386
|
+
# 24. CANCEL ACTION
|
|
387
|
+
|
|
388
|
+
Cancel should leave the current state intact.
|
|
389
|
+
|
|
390
|
+
# 25. DEFAULT ACTION
|
|
391
|
+
|
|
392
|
+
Do not automatically focus or prioritize the destructive action in a way that
|
|
393
|
+
encourages accidental confirmation.
|
|
394
|
+
|
|
395
|
+
# 26. DESTRUCTIVE KEYBOARD ACTION
|
|
396
|
+
|
|
397
|
+
Keyboard shortcuts for destructive actions should be designed carefully,
|
|
398
|
+
especially on iPad and desktop-like environments.
|
|
399
|
+
|
|
400
|
+
# 27. LONG PRESS DESTRUCTION
|
|
401
|
+
|
|
402
|
+
Do not make destructive actions dependent solely on hidden gestures.
|
|
403
|
+
|
|
404
|
+
If a gesture can destroy data, provide discoverable semantics.
|
|
405
|
+
|
|
406
|
+
# 28. SWIPE DELETION
|
|
407
|
+
|
|
408
|
+
Swipe-to-delete is convenient because it is contextual.
|
|
409
|
+
|
|
410
|
+
But deletion should remain:
|
|
411
|
+
|
|
412
|
+
```text
|
|
413
|
+
Predictable
|
|
414
|
+
Recoverable where possible
|
|
415
|
+
Clearly communicated
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
.
|
|
419
|
+
|
|
420
|
+
# 29. FULL-SWIPE DELETE
|
|
421
|
+
|
|
422
|
+
Full-swipe immediate deletion should be used cautiously.
|
|
423
|
+
|
|
424
|
+
If recovery is impossible, confirmation may still be warranted.
|
|
425
|
+
|
|
426
|
+
# 30. DELETE TO TRASH
|
|
427
|
+
|
|
428
|
+
Prefer soft deletion when the product permits it:
|
|
429
|
+
|
|
430
|
+
```text
|
|
431
|
+
Delete
|
|
432
|
+
↓
|
|
433
|
+
Trash
|
|
434
|
+
↓
|
|
435
|
+
Restore / permanently delete
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
.
|
|
439
|
+
|
|
440
|
+
# 31. PERMANENT DELETE
|
|
441
|
+
|
|
442
|
+
Permanent deletion should clearly communicate:
|
|
443
|
+
|
|
444
|
+
```text
|
|
445
|
+
This cannot be recovered.
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
when true.
|
|
449
|
+
|
|
450
|
+
# 32. BULK DELETION
|
|
451
|
+
|
|
452
|
+
Bulk destructive actions have greater consequence.
|
|
453
|
+
|
|
454
|
+
Show:
|
|
455
|
+
|
|
456
|
+
```text
|
|
457
|
+
Number of affected objects
|
|
458
|
+
+
|
|
459
|
+
Consequence
|
|
460
|
+
+
|
|
461
|
+
Action
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
Example:
|
|
465
|
+
|
|
466
|
+
```text
|
|
467
|
+
Delete 24 files?
|
|
468
|
+
These items will be permanently deleted.
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
.
|
|
472
|
+
|
|
473
|
+
# 33. SELECT ALL
|
|
474
|
+
|
|
475
|
+
Selecting all content should not silently create irreversible consequences.
|
|
476
|
+
|
|
477
|
+
# 34. BULK ACTION FEEDBACK
|
|
478
|
+
|
|
479
|
+
After bulk operations, report meaningful scope:
|
|
480
|
+
|
|
481
|
+
```text
|
|
482
|
+
24 files deleted
|
|
483
|
+
Undo
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
rather than:
|
|
487
|
+
|
|
488
|
+
```text
|
|
489
|
+
Done
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
# 35. PARTIAL FAILURE
|
|
493
|
+
|
|
494
|
+
Bulk operations can partially fail.
|
|
495
|
+
|
|
496
|
+
The UI should distinguish:
|
|
497
|
+
|
|
498
|
+
```text
|
|
499
|
+
Successful
|
|
500
|
+
Failed
|
|
501
|
+
Skipped
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
when relevant.
|
|
505
|
+
|
|
506
|
+
# 36. ACCOUNT DELETION
|
|
507
|
+
|
|
508
|
+
Account deletion is high consequence.
|
|
509
|
+
|
|
510
|
+
The flow should communicate:
|
|
511
|
+
|
|
512
|
+
```text
|
|
513
|
+
What is deleted
|
|
514
|
+
What remains
|
|
515
|
+
Whether recovery exists
|
|
516
|
+
When deletion occurs
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
.
|
|
520
|
+
|
|
521
|
+
# 37. DATA WIPE
|
|
522
|
+
|
|
523
|
+
"Delete all data" should never be presented like an ordinary preference toggle.
|
|
524
|
+
|
|
525
|
+
# 38. RESET
|
|
526
|
+
|
|
527
|
+
Distinguish:
|
|
528
|
+
|
|
529
|
+
```text
|
|
530
|
+
Reset settings
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
from:
|
|
534
|
+
|
|
535
|
+
```text
|
|
536
|
+
Delete data
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
These have radically different consequences.
|
|
540
|
+
|
|
541
|
+
# 39. RESET DEFAULTS
|
|
542
|
+
|
|
543
|
+
If settings can be restored safely:
|
|
544
|
+
|
|
545
|
+
```text
|
|
546
|
+
Reset to defaults
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
may be reversible or reconfigurable and need not be treated like data deletion.
|
|
550
|
+
|
|
551
|
+
# 40. DISCARD CHANGES
|
|
552
|
+
|
|
553
|
+
Discarding unsaved work can be destructive.
|
|
554
|
+
|
|
555
|
+
Ask only when the work cannot otherwise be preserved.
|
|
556
|
+
|
|
557
|
+
# 41. AUTO-SAVE
|
|
558
|
+
|
|
559
|
+
If the application automatically saves work, "Discard" semantics must be
|
|
560
|
+
especially clear.
|
|
561
|
+
|
|
562
|
+
# 42. NAVIGATION WITH UNSAVED WORK
|
|
563
|
+
|
|
564
|
+
If leaving a screen may destroy meaningful changes:
|
|
565
|
+
|
|
566
|
+
```text
|
|
567
|
+
Leave
|
|
568
|
+
Stay
|
|
569
|
+
```
|
|
570
|
+
|
|
571
|
+
may be appropriate.
|
|
572
|
+
|
|
573
|
+
But do not interrupt if changes are already safely persisted.
|
|
574
|
+
|
|
575
|
+
# 43. SAVE VS DISCARD
|
|
576
|
+
|
|
577
|
+
Actions should clearly communicate:
|
|
578
|
+
|
|
579
|
+
```text
|
|
580
|
+
Save changes
|
|
581
|
+
Discard changes
|
|
582
|
+
Continue editing
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
.
|
|
586
|
+
|
|
587
|
+
# 44. DESTRUCTIVE FORM SUBMISSION
|
|
588
|
+
|
|
589
|
+
A destructive form should identify the final consequence before submission.
|
|
590
|
+
|
|
591
|
+
# 45. TWO-STAGE CONFIRMATION
|
|
592
|
+
|
|
593
|
+
For extremely consequential operations:
|
|
594
|
+
|
|
595
|
+
```text
|
|
596
|
+
Initial intent
|
|
597
|
+
↓
|
|
598
|
+
Explanation
|
|
599
|
+
↓
|
|
600
|
+
Explicit confirmation
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
may be appropriate.
|
|
604
|
+
|
|
605
|
+
# 46. DO NOT OVERUSE TWO-STAGE CONFIRMATION
|
|
606
|
+
|
|
607
|
+
Two-step confirmation should be reserved for actions where the cost of error
|
|
608
|
+
is genuinely high.
|
|
609
|
+
|
|
610
|
+
# 47. TYPE-TO-CONFIRM
|
|
611
|
+
|
|
612
|
+
For exceptionally destructive operations, requiring the user to type a specific
|
|
613
|
+
phrase can increase intentionality.
|
|
614
|
+
|
|
615
|
+
Use rarely.
|
|
616
|
+
|
|
617
|
+
Example:
|
|
618
|
+
|
|
619
|
+
```text
|
|
620
|
+
Type DELETE
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
.
|
|
624
|
+
|
|
625
|
+
# 48. TYPE-TO-CONFIRM UX
|
|
626
|
+
|
|
627
|
+
The required phrase should be:
|
|
628
|
+
|
|
629
|
+
```text
|
|
630
|
+
Short
|
|
631
|
+
Obvious
|
|
632
|
+
Unambiguous
|
|
633
|
+
```
|
|
634
|
+
|
|
635
|
+
.
|
|
636
|
+
|
|
637
|
+
# 49. PASSWORD REAUTHENTICATION
|
|
638
|
+
|
|
639
|
+
Some sensitive operations may require identity verification.
|
|
640
|
+
|
|
641
|
+
Do not treat authentication as a substitute for explaining the consequence.
|
|
642
|
+
|
|
643
|
+
# 50. CONFIRMATION ≠ AUTHENTICATION
|
|
644
|
+
|
|
645
|
+
Authentication answers:
|
|
646
|
+
|
|
647
|
+
```text
|
|
648
|
+
"Are you authorized?"
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
Confirmation answers:
|
|
652
|
+
|
|
653
|
+
```text
|
|
654
|
+
"Do you intend to do this?"
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
They solve different problems.
|
|
658
|
+
|
|
659
|
+
# 51. PERMISSION DECISIONS
|
|
660
|
+
|
|
661
|
+
Permission requests should explain why access is needed before triggering
|
|
662
|
+
system permission UI when possible.
|
|
663
|
+
|
|
664
|
+
# 52. PERMISSION TIMING
|
|
665
|
+
|
|
666
|
+
Request permission at the moment the capability becomes relevant.
|
|
667
|
+
|
|
668
|
+
Avoid requesting every permission during first launch.
|
|
669
|
+
|
|
670
|
+
# 53. PERMISSION DENIAL
|
|
671
|
+
|
|
672
|
+
If denied:
|
|
673
|
+
|
|
674
|
+
```text
|
|
675
|
+
Explain
|
|
676
|
+
Offer alternative
|
|
677
|
+
Provide settings path when appropriate
|
|
678
|
+
```
|
|
679
|
+
|
|
680
|
+
Do not trap the user in repeated permission prompts.
|
|
681
|
+
|
|
682
|
+
# 54. ALERT FREQUENCY
|
|
683
|
+
|
|
684
|
+
High-frequency alerts should be treated as a design smell.
|
|
685
|
+
|
|
686
|
+
Ask:
|
|
687
|
+
|
|
688
|
+
```text
|
|
689
|
+
Can this become inline feedback?
|
|
690
|
+
Can this become a banner?
|
|
691
|
+
Can this become undo?
|
|
692
|
+
Can this become passive status?
|
|
693
|
+
```
|
|
694
|
+
|
|
695
|
+
.
|
|
696
|
+
|
|
697
|
+
# 55. INLINE ERROR VS ALERT
|
|
698
|
+
|
|
699
|
+
Use inline feedback for local, recoverable validation.
|
|
700
|
+
|
|
701
|
+
Use alerts when the issue requires interruption or a decision.
|
|
702
|
+
|
|
703
|
+
# 56. TOAST VS ALERT
|
|
704
|
+
|
|
705
|
+
Lightweight status:
|
|
706
|
+
|
|
707
|
+
```text
|
|
708
|
+
Toast / banner / transient feedback
|
|
709
|
+
```
|
|
710
|
+
|
|
711
|
+
Critical decision:
|
|
712
|
+
|
|
713
|
+
```text
|
|
714
|
+
Alert
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
Do not use alerts as generic notifications.
|
|
718
|
+
|
|
719
|
+
# 57. ALERT TIMING
|
|
720
|
+
|
|
721
|
+
Do not display an alert before the user has enough context to understand it.
|
|
722
|
+
|
|
723
|
+
# 58. ALERT INTERRUPTION
|
|
724
|
+
|
|
725
|
+
The interruption itself has a cost.
|
|
726
|
+
|
|
727
|
+
Ask:
|
|
728
|
+
|
|
729
|
+
```text
|
|
730
|
+
Will the user benefit from stopping right now?
|
|
731
|
+
```
|
|
732
|
+
|
|
733
|
+
.
|
|
734
|
+
|
|
735
|
+
# 59. ALERT PRIORITY
|
|
736
|
+
|
|
737
|
+
A useful hierarchy:
|
|
738
|
+
|
|
739
|
+
```text
|
|
740
|
+
Critical security / destructive consequence
|
|
741
|
+
↓
|
|
742
|
+
Important error
|
|
743
|
+
↓
|
|
744
|
+
Important decision
|
|
745
|
+
↓
|
|
746
|
+
Routine feedback
|
|
747
|
+
```
|
|
748
|
+
|
|
749
|
+
Routine feedback should generally not use alerts.
|
|
750
|
+
|
|
751
|
+
# 60. ERROR ALERT
|
|
752
|
+
|
|
753
|
+
A useful error alert communicates:
|
|
754
|
+
|
|
755
|
+
```text
|
|
756
|
+
What happened
|
|
757
|
+
+
|
|
758
|
+
What the user can do
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
.
|
|
762
|
+
|
|
763
|
+
# 61. TECHNICAL ERRORS
|
|
764
|
+
|
|
765
|
+
Never expose raw technical messages to normal users.
|
|
766
|
+
|
|
767
|
+
Avoid:
|
|
768
|
+
|
|
769
|
+
```text
|
|
770
|
+
SQLiteException: constraint failed
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
Prefer:
|
|
774
|
+
|
|
775
|
+
```text
|
|
776
|
+
Couldn't save this item.
|
|
777
|
+
Please try again.
|
|
778
|
+
```
|
|
779
|
+
|
|
780
|
+
# 62. DEBUG INFORMATION
|
|
781
|
+
|
|
782
|
+
Technical details can be available through:
|
|
783
|
+
|
|
784
|
+
```text
|
|
785
|
+
Developer mode
|
|
786
|
+
Diagnostics
|
|
787
|
+
Copy details
|
|
788
|
+
Support information
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
without polluting the primary UX.
|
|
792
|
+
|
|
793
|
+
# 63. RETRY
|
|
794
|
+
|
|
795
|
+
Retry should exist when retrying has a realistic chance of success.
|
|
796
|
+
|
|
797
|
+
# 64. RETRY LOOP
|
|
798
|
+
|
|
799
|
+
Do not create:
|
|
800
|
+
|
|
801
|
+
```text
|
|
802
|
+
Retry
|
|
803
|
+
↓
|
|
804
|
+
Failure
|
|
805
|
+
↓
|
|
806
|
+
Retry
|
|
807
|
+
↓
|
|
808
|
+
Failure
|
|
809
|
+
↓
|
|
810
|
+
Retry
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
without improving the situation or explaining the underlying problem.
|
|
814
|
+
|
|
815
|
+
# 65. OFFLINE ACTIONS
|
|
816
|
+
|
|
817
|
+
If the operation can be queued offline, consider:
|
|
818
|
+
|
|
819
|
+
```text
|
|
820
|
+
Queued
|
|
821
|
+
Will sync when online
|
|
822
|
+
```
|
|
823
|
+
|
|
824
|
+
instead of presenting an error.
|
|
825
|
+
|
|
826
|
+
# 66. CONFLICTS
|
|
827
|
+
|
|
828
|
+
When data conflicts occur, explain:
|
|
829
|
+
|
|
830
|
+
```text
|
|
831
|
+
What changed
|
|
832
|
+
Which version exists
|
|
833
|
+
What the user can choose
|
|
834
|
+
```
|
|
835
|
+
|
|
836
|
+
.
|
|
837
|
+
|
|
838
|
+
# 67. DATA CONFLICT CONFIRMATION
|
|
839
|
+
|
|
840
|
+
Avoid generic:
|
|
841
|
+
|
|
842
|
+
```text
|
|
843
|
+
Overwrite?
|
|
844
|
+
```
|
|
845
|
+
|
|
846
|
+
Prefer:
|
|
847
|
+
|
|
848
|
+
```text
|
|
849
|
+
Replace the existing version with this one?
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
when that is the actual consequence.
|
|
853
|
+
|
|
854
|
+
# 68. USER INTENT
|
|
855
|
+
|
|
856
|
+
Confirmation should reinforce intentionality, not create uncertainty.
|
|
857
|
+
|
|
858
|
+
# 69. CONFIRMATION LANGUAGE
|
|
859
|
+
|
|
860
|
+
Use:
|
|
861
|
+
|
|
862
|
+
```text
|
|
863
|
+
Direct
|
|
864
|
+
Specific
|
|
865
|
+
Short
|
|
866
|
+
Calm
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
language.
|
|
870
|
+
|
|
871
|
+
# 70. AVOID FEAR LANGUAGE
|
|
872
|
+
|
|
873
|
+
Do not exaggerate consequences to manipulate users.
|
|
874
|
+
|
|
875
|
+
State facts.
|
|
876
|
+
|
|
877
|
+
# 71. AVOID SHAME
|
|
878
|
+
|
|
879
|
+
Do not phrase destructive choices as morally wrong.
|
|
880
|
+
|
|
881
|
+
The user should be able to make legitimate choices without judgment.
|
|
882
|
+
|
|
883
|
+
# 72. RECOVERY
|
|
884
|
+
|
|
885
|
+
Every destructive flow should ask:
|
|
886
|
+
|
|
887
|
+
```text
|
|
888
|
+
What happens after the mistake?
|
|
889
|
+
```
|
|
890
|
+
|
|
891
|
+
Possible recovery:
|
|
892
|
+
|
|
893
|
+
```text
|
|
894
|
+
Undo
|
|
895
|
+
Trash
|
|
896
|
+
Restore
|
|
897
|
+
Version history
|
|
898
|
+
Backup
|
|
899
|
+
Support recovery
|
|
900
|
+
```
|
|
901
|
+
|
|
902
|
+
.
|
|
903
|
+
|
|
904
|
+
# 73. RECOVERY DISCOVERABILITY
|
|
905
|
+
|
|
906
|
+
Recovery should be discoverable without requiring users to remember hidden
|
|
907
|
+
navigation.
|
|
908
|
+
|
|
909
|
+
# 74. RECOVERY WINDOW
|
|
910
|
+
|
|
911
|
+
If recovery expires:
|
|
912
|
+
|
|
913
|
+
```text
|
|
914
|
+
Communicate when
|
|
915
|
+
Communicate what happens
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
when relevant.
|
|
919
|
+
|
|
920
|
+
# 75. RECOVERY CONFIDENCE
|
|
921
|
+
|
|
922
|
+
Users should know whether an operation actually succeeded.
|
|
923
|
+
|
|
924
|
+
Avoid ambiguous states such as:
|
|
925
|
+
|
|
926
|
+
```text
|
|
927
|
+
Deleting...
|
|
928
|
+
```
|
|
929
|
+
|
|
930
|
+
remaining indefinitely.
|
|
931
|
+
|
|
932
|
+
# 76. ASYNC DESTRUCTIVE ACTIONS
|
|
933
|
+
|
|
934
|
+
For asynchronous deletion:
|
|
935
|
+
|
|
936
|
+
```text
|
|
937
|
+
Request
|
|
938
|
+
↓
|
|
939
|
+
Processing
|
|
940
|
+
↓
|
|
941
|
+
Success / failure
|
|
942
|
+
```
|
|
943
|
+
|
|
944
|
+
The interface should prevent duplicate destructive operations.
|
|
945
|
+
|
|
946
|
+
# 77. IDEMPOTENCY
|
|
947
|
+
|
|
948
|
+
Repeated taps should not produce multiple destructive operations.
|
|
949
|
+
|
|
950
|
+
# 78. DISABLE DUPLICATE ACTION
|
|
951
|
+
|
|
952
|
+
During critical processing:
|
|
953
|
+
|
|
954
|
+
```text
|
|
955
|
+
Delete
|
|
956
|
+
↓
|
|
957
|
+
Deleting...
|
|
958
|
+
```
|
|
959
|
+
|
|
960
|
+
prevent duplicate submission where necessary.
|
|
961
|
+
|
|
962
|
+
# 79. PARTIAL NETWORK FAILURE
|
|
963
|
+
|
|
964
|
+
If the server may have completed an operation despite a network timeout,
|
|
965
|
+
do not blindly retry a destructive operation without considering duplication.
|
|
966
|
+
|
|
967
|
+
# 80. CONFIRMATION + NETWORK
|
|
968
|
+
|
|
969
|
+
The UI should distinguish:
|
|
970
|
+
|
|
971
|
+
```text
|
|
972
|
+
User has not confirmed
|
|
973
|
+
User confirmed
|
|
974
|
+
Request pending
|
|
975
|
+
Request succeeded
|
|
976
|
+
Request failed
|
|
977
|
+
Result unknown
|
|
978
|
+
```
|
|
979
|
+
|
|
980
|
+
.
|
|
981
|
+
|
|
982
|
+
# 81. UNKNOWN RESULT
|
|
983
|
+
|
|
984
|
+
When the network outcome is uncertain:
|
|
985
|
+
|
|
986
|
+
```text
|
|
987
|
+
We couldn't confirm whether the change was completed.
|
|
988
|
+
```
|
|
989
|
+
|
|
990
|
+
may be more truthful than falsely claiming failure.
|
|
991
|
+
|
|
992
|
+
# 82. DESTRUCTIVE ACTION AUDIT
|
|
993
|
+
|
|
994
|
+
For important operations, internally track:
|
|
995
|
+
|
|
996
|
+
```text
|
|
997
|
+
Who initiated it
|
|
998
|
+
What was affected
|
|
999
|
+
When it occurred
|
|
1000
|
+
Whether recovery exists
|
|
1001
|
+
```
|
|
1002
|
+
|
|
1003
|
+
when product requirements justify auditing.
|
|
1004
|
+
|
|
1005
|
+
# 83. PRIVACY
|
|
1006
|
+
|
|
1007
|
+
Confirmation text must not accidentally reveal sensitive information to
|
|
1008
|
+
unintended viewers.
|
|
1009
|
+
|
|
1010
|
+
# 84. LOCK SCREEN / SHARED CONTEXT
|
|
1011
|
+
|
|
1012
|
+
Avoid exposing sensitive object names or content in prominent alerts when
|
|
1013
|
+
privacy is important.
|
|
1014
|
+
|
|
1015
|
+
# 85. ACCESSIBILITY
|
|
1016
|
+
|
|
1017
|
+
Alerts must expose:
|
|
1018
|
+
|
|
1019
|
+
```text
|
|
1020
|
+
Title
|
|
1021
|
+
Message
|
|
1022
|
+
Actions
|
|
1023
|
+
Destructive semantics
|
|
1024
|
+
```
|
|
1025
|
+
|
|
1026
|
+
to assistive technology.
|
|
1027
|
+
|
|
1028
|
+
# 86. ACCESSIBLE DESTRUCTIVE ACTION
|
|
1029
|
+
|
|
1030
|
+
Assistive technology should understand that an action is destructive where
|
|
1031
|
+
the platform supports semantic traits.
|
|
1032
|
+
|
|
1033
|
+
# 87. DYNAMIC TYPE
|
|
1034
|
+
|
|
1035
|
+
Alerts must remain usable at large text sizes.
|
|
1036
|
+
|
|
1037
|
+
# 88. BUTTON ACCESSIBILITY
|
|
1038
|
+
|
|
1039
|
+
Buttons must remain distinguishable by:
|
|
1040
|
+
|
|
1041
|
+
```text
|
|
1042
|
+
Label
|
|
1043
|
+
Position
|
|
1044
|
+
Semantic role
|
|
1045
|
+
```
|
|
1046
|
+
|
|
1047
|
+
and not solely by color.
|
|
1048
|
+
|
|
1049
|
+
# 89. COLOR INDEPENDENCE
|
|
1050
|
+
|
|
1051
|
+
Never communicate destruction only through red.
|
|
1052
|
+
|
|
1053
|
+
Use:
|
|
1054
|
+
|
|
1055
|
+
```text
|
|
1056
|
+
Text
|
|
1057
|
+
Placement
|
|
1058
|
+
Semantic labeling
|
|
1059
|
+
```
|
|
1060
|
+
|
|
1061
|
+
as well.
|
|
1062
|
+
|
|
1063
|
+
# 90. REDUCED MOTION
|
|
1064
|
+
|
|
1065
|
+
Confirmation and error states must remain understandable without animation.
|
|
1066
|
+
|
|
1067
|
+
# 91. HAPTIC CONFIRMATION
|
|
1068
|
+
|
|
1069
|
+
Haptics may reinforce important success or destructive thresholds but must not
|
|
1070
|
+
be the only indication.
|
|
1071
|
+
|
|
1072
|
+
# 92. ALERT ANIMATION
|
|
1073
|
+
|
|
1074
|
+
Keep alert presentation subtle and platform-aligned.
|
|
1075
|
+
|
|
1076
|
+
# 93. ALERT STACKING
|
|
1077
|
+
|
|
1078
|
+
Avoid multiple simultaneous alerts.
|
|
1079
|
+
|
|
1080
|
+
If several events occur, prioritize or consolidate them.
|
|
1081
|
+
|
|
1082
|
+
# 94. ALERT QUEUE
|
|
1083
|
+
|
|
1084
|
+
If alerts must be queued:
|
|
1085
|
+
|
|
1086
|
+
```text
|
|
1087
|
+
Critical first
|
|
1088
|
+
Relevant second
|
|
1089
|
+
Low-value events suppressed
|
|
1090
|
+
```
|
|
1091
|
+
|
|
1092
|
+
.
|
|
1093
|
+
|
|
1094
|
+
# 95. ALERT STORM
|
|
1095
|
+
|
|
1096
|
+
An application producing repeated alerts indicates a deeper system problem.
|
|
1097
|
+
|
|
1098
|
+
Fix the source rather than designing increasingly complex alert queues.
|
|
1099
|
+
|
|
1100
|
+
# 96. CONFIRMATION DESIGN MATRIX
|
|
1101
|
+
|
|
1102
|
+
```text
|
|
1103
|
+
Action Recommended pattern
|
|
1104
|
+
────────────────────────────────────────────────
|
|
1105
|
+
Safe Immediate
|
|
1106
|
+
Reversible Immediate + undo
|
|
1107
|
+
Recoverable deletion Immediate + recovery
|
|
1108
|
+
Permanent deletion Confirmation
|
|
1109
|
+
High consequence Explicit confirmation
|
|
1110
|
+
Extremely high consequence Strong intentionality check
|
|
1111
|
+
```
|
|
1112
|
+
|
|
1113
|
+
.
|
|
1114
|
+
|
|
1115
|
+
# 97. AGENT DECISION TREE
|
|
1116
|
+
|
|
1117
|
+
```text
|
|
1118
|
+
User wants to perform action
|
|
1119
|
+
↓
|
|
1120
|
+
Is it safe?
|
|
1121
|
+
└── YES → Execute
|
|
1122
|
+
|
|
1123
|
+
Is it reversible?
|
|
1124
|
+
└── YES → Execute + Undo
|
|
1125
|
+
|
|
1126
|
+
Is it recoverable?
|
|
1127
|
+
└── YES → Execute + Recovery
|
|
1128
|
+
|
|
1129
|
+
Is it destructive?
|
|
1130
|
+
└── YES
|
|
1131
|
+
↓
|
|
1132
|
+
Can mistake be costly?
|
|
1133
|
+
├── NO → Clear action + recovery
|
|
1134
|
+
└── YES → Confirmation
|
|
1135
|
+
|
|
1136
|
+
Is consequence extremely high?
|
|
1137
|
+
└── YES → Strong explicit confirmation
|
|
1138
|
+
```
|
|
1139
|
+
|
|
1140
|
+
# 98. AGENT CONFIRMATION CHECK
|
|
1141
|
+
|
|
1142
|
+
Before adding a confirmation:
|
|
1143
|
+
|
|
1144
|
+
```text
|
|
1145
|
+
1. What exactly can go wrong?
|
|
1146
|
+
2. Can the action be undone?
|
|
1147
|
+
3. Can the data be restored?
|
|
1148
|
+
4. Is accidental activation likely?
|
|
1149
|
+
5. Can the user understand the consequence quickly?
|
|
1150
|
+
6. Can the confirmation be replaced with undo?
|
|
1151
|
+
```
|
|
1152
|
+
|
|
1153
|
+
.
|
|
1154
|
+
|
|
1155
|
+
# 99. AGENT ALERT CHECK
|
|
1156
|
+
|
|
1157
|
+
Before creating an alert:
|
|
1158
|
+
|
|
1159
|
+
```text
|
|
1160
|
+
Does this require immediate attention?
|
|
1161
|
+
Does the user need to make a decision?
|
|
1162
|
+
Would inline feedback be sufficient?
|
|
1163
|
+
Would a banner be sufficient?
|
|
1164
|
+
Would passive status be sufficient?
|
|
1165
|
+
```
|
|
1166
|
+
|
|
1167
|
+
If yes to the last three, avoid an alert.
|
|
1168
|
+
|
|
1169
|
+
# 100. DESTRUCTIVE FLOW
|
|
1170
|
+
|
|
1171
|
+
Recommended:
|
|
1172
|
+
|
|
1173
|
+
```text
|
|
1174
|
+
Intent
|
|
1175
|
+
↓
|
|
1176
|
+
Clear consequence
|
|
1177
|
+
↓
|
|
1178
|
+
Explicit action
|
|
1179
|
+
↓
|
|
1180
|
+
Processing
|
|
1181
|
+
↓
|
|
1182
|
+
Result
|
|
1183
|
+
↓
|
|
1184
|
+
Recovery
|
|
1185
|
+
```
|
|
1186
|
+
|
|
1187
|
+
.
|
|
1188
|
+
|
|
1189
|
+
# 101. SAFE FLOW
|
|
1190
|
+
|
|
1191
|
+
Recommended:
|
|
1192
|
+
|
|
1193
|
+
```text
|
|
1194
|
+
Intent
|
|
1195
|
+
↓
|
|
1196
|
+
Immediate action
|
|
1197
|
+
↓
|
|
1198
|
+
Feedback
|
|
1199
|
+
```
|
|
1200
|
+
|
|
1201
|
+
.
|
|
1202
|
+
|
|
1203
|
+
# 102. RECOVERABLE FLOW
|
|
1204
|
+
|
|
1205
|
+
Recommended:
|
|
1206
|
+
|
|
1207
|
+
```text
|
|
1208
|
+
Intent
|
|
1209
|
+
↓
|
|
1210
|
+
Immediate action
|
|
1211
|
+
↓
|
|
1212
|
+
Feedback
|
|
1213
|
+
↓
|
|
1214
|
+
Undo
|
|
1215
|
+
```
|
|
1216
|
+
|
|
1217
|
+
.
|
|
1218
|
+
|
|
1219
|
+
# 103. IRREVERSIBLE FLOW
|
|
1220
|
+
|
|
1221
|
+
Recommended:
|
|
1222
|
+
|
|
1223
|
+
```text
|
|
1224
|
+
Intent
|
|
1225
|
+
↓
|
|
1226
|
+
Explain consequence
|
|
1227
|
+
↓
|
|
1228
|
+
Confirm
|
|
1229
|
+
↓
|
|
1230
|
+
Execute
|
|
1231
|
+
↓
|
|
1232
|
+
Explicit success
|
|
1233
|
+
```
|
|
1234
|
+
|
|
1235
|
+
.
|
|
1236
|
+
|
|
1237
|
+
# 104. HIGH-RISK FLOW
|
|
1238
|
+
|
|
1239
|
+
Recommended:
|
|
1240
|
+
|
|
1241
|
+
```text
|
|
1242
|
+
Intent
|
|
1243
|
+
↓
|
|
1244
|
+
Explain
|
|
1245
|
+
↓
|
|
1246
|
+
Confirm
|
|
1247
|
+
↓
|
|
1248
|
+
Optional authentication
|
|
1249
|
+
↓
|
|
1250
|
+
Execute
|
|
1251
|
+
↓
|
|
1252
|
+
Audit / feedback
|
|
1253
|
+
↓
|
|
1254
|
+
Recovery if possible
|
|
1255
|
+
```
|
|
1256
|
+
|
|
1257
|
+
# 105. REVIEW CHECKLIST
|
|
1258
|
+
|
|
1259
|
+
Before shipping a destructive action:
|
|
1260
|
+
|
|
1261
|
+
```text
|
|
1262
|
+
[ ] Action is clearly labeled
|
|
1263
|
+
[ ] Consequence is understandable
|
|
1264
|
+
[ ] Confirmation is justified
|
|
1265
|
+
[ ] Undo exists when practical
|
|
1266
|
+
[ ] Recovery exists when practical
|
|
1267
|
+
[ ] Duplicate actions are prevented
|
|
1268
|
+
[ ] Async failures are handled
|
|
1269
|
+
[ ] Accessibility is supported
|
|
1270
|
+
[ ] Color is not the only signal
|
|
1271
|
+
[ ] Large text works
|
|
1272
|
+
[ ] Privacy is considered
|
|
1273
|
+
[ ] Technical errors are hidden
|
|
1274
|
+
```
|
|
1275
|
+
|
|
1276
|
+
.
|
|
1277
|
+
|
|
1278
|
+
# 106. QUALITY SCORE
|
|
1279
|
+
|
|
1280
|
+
```text
|
|
1281
|
+
Risk assessment 10
|
|
1282
|
+
Action clarity 10
|
|
1283
|
+
Consequence clarity 15
|
|
1284
|
+
Reversibility 10
|
|
1285
|
+
Recovery 15
|
|
1286
|
+
Confirmation quality 10
|
|
1287
|
+
Error handling 10
|
|
1288
|
+
Accessibility 10
|
|
1289
|
+
Privacy 5
|
|
1290
|
+
Performance 5
|
|
1291
|
+
────────────────────────────
|
|
1292
|
+
Total 100
|
|
1293
|
+
```
|
|
1294
|
+
|
|
1295
|
+
Interpretation:
|
|
1296
|
+
|
|
1297
|
+
```text
|
|
1298
|
+
95–100 Exceptional
|
|
1299
|
+
90–94 Excellent
|
|
1300
|
+
80–89 Strong
|
|
1301
|
+
70–79 Needs refinement
|
|
1302
|
+
60–69 Weak
|
|
1303
|
+
<60 Redesign
|
|
1304
|
+
```
|
|
1305
|
+
|
|
1306
|
+
# 107. FINAL PRINCIPLE
|
|
1307
|
+
|
|
1308
|
+
The best destructive-action experience is one where:
|
|
1309
|
+
|
|
1310
|
+
```text
|
|
1311
|
+
Mistakes are difficult to make
|
|
1312
|
+
+
|
|
1313
|
+
Mistakes are easy to recover from
|
|
1314
|
+
```
|
|
1315
|
+
|
|
1316
|
+
not one where users are repeatedly interrupted.
|
|
1317
|
+
|
|
1318
|
+
# 108. FINAL AGENT DIRECTIVE
|
|
1319
|
+
|
|
1320
|
+
Never add a confirmation merely because an operation is called:
|
|
1321
|
+
|
|
1322
|
+
```text
|
|
1323
|
+
delete
|
|
1324
|
+
remove
|
|
1325
|
+
reset
|
|
1326
|
+
discard
|
|
1327
|
+
```
|
|
1328
|
+
|
|
1329
|
+
First determine:
|
|
1330
|
+
|
|
1331
|
+
```text
|
|
1332
|
+
consequence
|
|
1333
|
+
reversibility
|
|
1334
|
+
recovery
|
|
1335
|
+
accidental activation risk
|
|
1336
|
+
user frequency
|
|
1337
|
+
```
|
|
1338
|
+
|
|
1339
|
+
Then choose the least disruptive mechanism that safely communicates the
|
|
1340
|
+
consequence.
|
|
1341
|
+
|
|
1342
|
+
**Protect users without slowing them down.**
|