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
10 changes: 10 additions & 0 deletions .changeset/36798-ui-skill-action-opened-form.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@objectstack/skills': patch
---

docs(skills): the UI skill says a default or create form an action opens by name still loads and is not reported

Clause-②: no
Metadata-protocol: none

objectstack-ui `rules/list-views.md` "Form Views" said `os validate` warns `form-view-internal-not-loaded` on every container `form`, `formViews.default` and `formViews.create`. The rule leaves out one that a `type: 'form'` action's literal `target` names, because the Console still loads that form where the action opens it. The passage now says so, and that such a form loads as a named form. The list of what an internal form no longer steers (sections, tabs, steps, `subforms`, `defaults`, `modalSize`) is dropped to pay for the new words: the file stays at its token ceiling and its line count is unchanged.
6 changes: 3 additions & 3 deletions skills/objectstack-ui/rules/list-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ following each field's own rules. Authored there:
[Record Presentation](./navigation.md#record-presentation--surface-width--columns-are-auto-derived).

A container's `form`, `formViews.default` and `formViews.create` still parse
and steer nothing (sections, tabs, steps, `subforms`, `defaults`, `modalSize`);
`os validate` warns `form-view-internal-not-loaded`. Two kinds of form view
load:
and steer no create or edit form; `os validate` warns
`form-view-internal-not-loaded` unless a `type: 'form'` action's literal
`target` names it: it loads as a named form. These load:

**A named form** is a `formViews` entry under any other key, registered as
`OBJECT.key`; an action of `type: 'form'` whose `target` is that name opens it
Expand Down
Loading