diff --git a/.changeset/calm-mfa-actions.md b/.changeset/calm-mfa-actions.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/calm-mfa-actions.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/contact-verify-pending.md b/.changeset/contact-verify-pending.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/contact-verify-pending.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/friendly-identifier-lock.md b/.changeset/friendly-identifier-lock.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/friendly-identifier-lock.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/mosaic/AGENTS.md b/packages/mosaic/AGENTS.md index 0ef6ef8a5da..f94ebb1b3b5 100644 --- a/packages/mosaic/AGENTS.md +++ b/packages/mosaic/AGENTS.md @@ -34,6 +34,7 @@ Most problems a feature hits already have a shared answer. Find the row for your | Problem | Use | | ------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- | | An async action from a button or row: pending, an error, one lock | `usePendingAction` (`src/hooks/`) | +| Direct actions and confirmation dialogs that must exclude each other | `useActionLock` injected into `usePendingAction` and `useConfirmController` (`src/hooks/`, `src/blocks/confirm/`) | | A form: values, validation, submit, field errors | `useForm` (`src/components/form/`), with `validateAsync` for a server-side check | | A `