diff --git a/.changeset/36798-ui-skill-action-opened-form.md b/.changeset/36798-ui-skill-action-opened-form.md new file mode 100644 index 00000000000..470f2c0732b --- /dev/null +++ b/.changeset/36798-ui-skill-action-opened-form.md @@ -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. diff --git a/skills/objectstack-ui/rules/list-views.md b/skills/objectstack-ui/rules/list-views.md index f1a997ebddd..a21e28ef31f 100644 --- a/skills/objectstack-ui/rules/list-views.md +++ b/skills/objectstack-ui/rules/list-views.md @@ -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