Install
Works with Drupal: ^11.4Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
The Builder renders in an iframe with the front theme, Preview is a mode of the Builder, and page layouts get a homepage.
Contributors (8)
andresalvarez, christian.wiedemann, fmb, ipumpkin, just_like_good_vibes, mogtofu33, pdureau, yannickoo
Upgrade
Run the database updates after updating. They convert the profiles, the pattern presets and the Textarea text format.
UI Patterns: Display Builder needs UI Patterns 2.0.23 exactly and ships two patches for it. With composer-patches 2.x, run composer patches-relock then composer patches-repatch after the update. See the install documentation.
Page layouts: a page layout using the components of a theme applies only on that theme and its sub-themes now. An existing page layout whose only condition is Pages <front> becomes the homepage, checked before every other layout. A page layout or entity view display missing config dependencies gets them on its next save.
Component Library: it lists the components of the default theme, its base themes and the modules. A profile listing another theme stops listing it: include that theme with the new Include other themes setting of the Components island.
Custom code: the Canvas panel is now the Builder, in its CSS classes and JavaScript too. This beta also renames and removes APIs, see the change records.
Changelog
Issues: 50 issues resolved.
Changes since 1.0.0-beta8 (compare):
Full history in CHANGELOG.md.
Bug
- #3626751 Allow paragraphs and line breaks in the Textarea text format
- #3626658 The tree cache of an instance follows the translation and the save
- #3626660 Inserting a preset is one undo step
- #3626659 Paste and preset insert refuse a full or missing target with a message
- #3627000 Duplicate from the contextual menu lands next to the node, not in its own slot
- #3627001 Dropzones and block wrappers are custom elements
- #3626661 Reading the group of a pattern preset no longer saves it
- #3627104 Duplicate and paste at the root land at the position they are sent
- #3608901 Component patterns must be wrap to work in the builder
- #3613372 [UI Patterns 2.0.22] Cache metadata collected by sources is lost on entity view and page layout
- #3630921 Scaffold controls kept across a reload, disabled Canvas controls selected and outlined, placeholders in the builder's colors, manual bug fixes
- #3631054 Page layouts and entity view displays miss config dependencies
- #3631053 Styles, design tokens and components follow the default theme
- #3631296 Dropped components ignore the schema default of optional props
- #3631443 Contextual form loses #ajax changes and hides autocomplete menus in expanded mode
- #3631446 Behaviors miss the scripts a contextual form brings on its first load
- #3631914 Page variants save their page template in the theme registry cache
- #3631924 Views and the page_layout source invalidate the runtime theme registry cache
- #3631932 ui_patterns patches in composer.json fail to download on sites
- #3631932 Use the compact patches format that composer-patches 1.x on CI can read
- #3631254 Selecting a container rebuilds the configuration form of every descendant component
- #3632192 A page layout applies on every theme, including one whose components it does not use
- #3627642 Sidebar second pin when element is deleted
- #3631942 Order the views suggestion alter last and document two theme registry choices
- #3614540 Page layout list says "no page layouts yet" when only the default exists
Docs
- Explain the UI Patterns pin and its patches, fix the git-cliff release range and links
- Document the sub-modules and the UI Patterns patches in the README
Feature
- #3628802 Insert from the library without dragging
- #3630345 Preview as a switch on the Canvas, and in a new tab, instead of a split view
- #3630611 Viewport switcher: fit zoom, visible width, a phone width
- #3632003 Builder ui polish
- #3628842 Settings sidebar: keep it open, close it on request only
- #3632193 Add a homepage page layout
- #3632045 Shortcuts revised: one letter per panel, v for the next viewport, / for the search
Task
- #3627246 Fix stale docblocks, a todo typo, and the paths in .env.dist and zensical.toml
- #3606952 Mark DisplayBuilderHelpers internal and remove the unused formatLog()
- #3627285 Profile, page layout, override and display interfaces: setters return static, revert() split, docblocks
- #3627027 InstanceInterface: list the nodes of a slot
- #3615841 Config exclude_id array instead of string
- #3628644 Scaffold components config array instead of string
- #3629055 Tests: update based on last Drupal core / PHPstan for CI to pass
- #3627028 InstanceInterface: one failure style for the tree methods
- #3625330 [UI Patterns 2.0.22] Use new plugin.manager.ui_patterns_component service
- #3626867 Update docs folder, update
- #3626867 Update docs folder for agents
- #3562060 Render UI with admin theme
- #3630489 Instance history rewrites every revision to the entity cache after each change
- #3630609 API controllers save the instance a second time after each change
- Refresh the ui_patterns #3630451 patch after review
- #3624934 Show presets in the Instances panel
- #3631292 Filter, sort and page the presets list
- #3631052 Rename IslandType::Floating to IslandType::Secondary
- #3573905 Replace DisplayBuildableInterface::checkAccess() by AccessibleInterface::access()
- #3631732 Rename Canvas panel
Tests
- #3631945 Add a functional test for the theme registry cache across requests