Skip to content

Commit f206488

Browse files
committed
chore(changeset): app-shell patch for the action editor's field values and script type
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jVG55iUTTWRd5tR6Di
1 parent 70cf28c commit f206488

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
fix(app-shell): Studio's action editor keeps a new field-value row, and stores a script action's type
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
Two gaps in Studio's action editor (Data › an object › Actions) left a published action that does nothing:
11+
12+
- **Add field value** on an "Update fields on this record" action added no row, so `patch` stayed `{}` and the action could not be given a field to set. The row now appears at once and is held in the editor until it names a field; from then on it is written to `patch`. A row whose field is cleared stays on screen, held, and leaves `patch`. A row that names no field is never written.
13+
- **Run a script** left the action without `type`, while the Type control read Script. The console runs nothing for an action without `type`, so the button sent no request. Every edit that authors a script (the "What it does" switch, the body, its language, a field value) now stores `type: 'script'` on an action that has none, and the Type control shows only a type the action holds: "—" until then. An action that already has a `type` is written exactly as before.

0 commit comments

Comments
 (0)