Skip to content

[6.x] Add form-page sidebar controls - #19778

Merged
riasvdv merged 3 commits into
6.xfrom
extract/19665-form-page-sidebar-controls
Oct 1, 2026
Merged

riasvdv merged 3 commits into
6.xfrom
extract/19665-form-page-sidebar-controls

Conversation

@riasvdv

@riasvdv riasvdv commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Generic Form.vue pages can now supply a sidebarForm and metadataHtml for the details column. Main and sidebar controls participate in one save, with validation, baseline updates, and password-confirmation comparisons covering both renderers. Duplicate top-level keys use sidebar values, matching the source implementation.

The shared MetadataDetailsContent renders controls above metadata for both generic form pages and element editors, preserving the element editor's autosave, workflow locks, and tabs.

Extracts the sidebar controls from #19665 without its admin-table or alternate-action changes.

The existing combobox tests timed out repeatedly in CI while rendering 150 custom options. Their fixtures now use a configured cap of 10 while retaining the hundreds-entry source lists and successive-filter coverage.

riasvdv and others added 2 commits October 1, 2026 10:53
Share metadata details content with the element editor.

Co-authored-by: Nathaniel Hammond <nathaniel@pixelandtonic.com>
Co-authored-by: Nathaniel Hammond <nathaniel@pixelandtonic.com>
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

📚 Storybook previews

@craftcms/ui — open Storybook

Changed components:

resources/js — open Storybook

No changed components detected in this Storybook.

Keep the large source lists and filtering assertions while limiting rendered options to ten, avoiding CI timeouts during option registration.

Co-authored-by: Nathaniel Hammond <nathaniel@pixelandtonic.com>
@riasvdv
riasvdv merged commit ab7c9a1 into 6.x Oct 1, 2026
23 checks passed
@riasvdv
riasvdv deleted the extract/19665-form-page-sidebar-controls branch October 1, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant