Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/26619-action-keys-disabled-reason.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@object-ui/core': patch
---

`SPEC_ACTION_KEYS` lists `disabledReason`, the key `@objectstack/spec` added to `ActionSchema` beside `disabled` (objectstack#26786). An action that carries it is no longer counted as having an unknown key, and the inventory pin is green again.

Clause-②: no
Metadata-protocol: none
1 change: 1 addition & 0 deletions ui/packages/core/src/actions/actionKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export const SPEC_ACTION_KEYS = [
// key, which is the only thing the inventory is consulted for.
'description',
'disabled',
'disabledReason',
'errorMessage',
// No `execute`: its spec-17 tombstone (`retiredKey()`, objectstack#3855) aged
// out of `ActionSchema` at objectstack#25767 — the spec now refuses it as an
Expand Down
Loading