From 00825b5a5a26f6663e221b1f432ccef55befcaf3 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 15 Aug 2026 20:52:40 +0000 Subject: [PATCH] docs(plugin-form): drop the doubled `/**` opener on the foldFormButtons comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The doc comment above `foldFormButtons` in `ObjectForm.tsx` opened with two `/**` lines in a row, so the stray second opener was rendered as the first line of the JSDoc body. Removed the redundant opener line. Comment-only: `foldFormButtons` is module-private, so it reaches no published type declaration, and comments are stripped from the emitted JavaScript — the built output is unchanged. The changeset declares no release accordingly. Refs objectui#4661 Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01RnQd8iMMUwXQEV1crFmQiQ --- .changeset/issue-4661-doubled-doc-opener.md | 10 ++++++++++ packages/plugin-form/src/ObjectForm.tsx | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .changeset/issue-4661-doubled-doc-opener.md diff --git a/.changeset/issue-4661-doubled-doc-opener.md b/.changeset/issue-4661-doubled-doc-opener.md new file mode 100644 index 0000000000..6753f86e58 --- /dev/null +++ b/.changeset/issue-4661-doubled-doc-opener.md @@ -0,0 +1,10 @@ +--- +--- + +Comment-only cleanup in `@object-ui/plugin-form`: the doc comment above `foldFormButtons` +in `ObjectForm.tsx` opened with two `/**` lines in a row, so the stray second opener was +rendered as the first line of the JSDoc body. Removed the redundant opener. + +Declares no release: `foldFormButtons` is module-private, so it appears in no published +type declaration, and comments are stripped from the emitted JavaScript — the built output +is unchanged and no published behaviour differs. diff --git a/packages/plugin-form/src/ObjectForm.tsx b/packages/plugin-form/src/ObjectForm.tsx index c65cdb1910..d0d794541e 100644 --- a/packages/plugin-form/src/ObjectForm.tsx +++ b/packages/plugin-form/src/ObjectForm.tsx @@ -79,7 +79,6 @@ export interface ObjectFormComponentProps { className?: string; } -/** /** * Fold the structured, spec-aligned `buttons`/`defaults` surface * (`@objectstack/spec` FormViewSchema; framework#1894 / #2998) down onto the