You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7e42e15
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/mosaic/AGENTS.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,9 @@ Most problems a feature hits already have a shared answer. Find the row for your
35
35
| An async action from a button or row: pending, an error, one lock |`usePendingAction` (`src/hooks/`) |
36
36
| A form: values, validation, submit, field errors |`useForm` (`src/components/form/`), with `validateAsync` for a server-side check |
37
37
| A model save whose Clerk errors should land on form fields |`save` in the model (`src/utils/errors.ts`), or reject with `FormSubmitError`|
38
-
| A confirm step before an action |`Confirmation` + `useConfirmationController` (`src/blocks/confirmation/`)|
39
-
| A delete that needs the user to type a phrase |`Destructive` + `useDestructiveController` (`src/blocks/destructive/`)|
40
-
| An action that may need step-up verification |`useReverificationFlow` (`src/features/reverification/`), passed to `useDestructiveController`|
38
+
| A confirm step before an action |`useConfirmController` (`src/blocks/confirm/`) with `Confirmation` (`src/blocks/confirmation/`) |
39
+
| A delete that needs the user to type a phrase |`useConfirmController` (`src/blocks/confirm/`) with `Destructive` (`src/blocks/destructive/`) |
40
+
| An action that may need step-up verification |`useReverificationFlow` (`src/features/reverification/`) in the wrapper, passed to `useConfirmController`|
41
41
| Showing any error to the user | One of the owners above. They call `toLocalizableError` and resolve copy with `useErrorText`|
42
42
| Moving focus after a list row is removed |`useListRemovalFocus` (`src/hooks/`) |
43
43
| A debounced, abortable async check as the user types |`useDebouncedAsync` (`src/hooks/`) |
0 commit comments