Widget Types: declarative presentation hint (full-bleed support)#78209
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @Copilot. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.97 MB ℹ️ View Unchanged
|
|
Flaky tests detected in b610273. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/26023670825
|
|
I've been thinking about this; an alternative could be declaring if the widget wants the header rendered or not, and then leaving the consumer to deal with adding I haven't found a use-case where I'd not want the header and first element to be full bleed, but I have use-cases where I don't want the header, the first element is full bleed, but the following elements aren't full-bleed (e.g. core welcome banner). So my conclusion so far has been to:
But curious for your thoughts! "Full screen widget" and "no header" could also be two separate declarative APIs. I.e. this should be possible: <Card.Content>
<Card.FullBleed>
<div
style={ {
height: 180,
background:
'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)',
} }
/>
</Card.FullBleed>
<Text>Content outside full bleed.</Text>
</Card.Content> |
|
A couple of related thoughts:
|
Probably a question for @ciampo ! Allowing widgets to hide headers sounds interesting, but don't we intend to place actions in the header (kebab menu in top-right corner), how would they be accessible if the header is hidden? This is one of the reasons I'm a little anxious about allowing too much flexibility in the widget anatomy. I think certain aspects should be locked down otherwise the door is left open to so much randomness. This is just my 2c and potentially a controversial take but I don't think the random design of existing widgets should inform the direction too much. It should be the other way around; the widget system should inform the designs—this is how we produce a consistent and predictable interface. I also suspect that all widgets should be required to include a title for assistive tech, even if it's visually hidden. |
Could be a good idea, I agree on the DevX pros! It would also abstract how internally things are done — ie. if we ever change to a different card or any other UI implementation, it could be simpler to do with a abstraction layer in the middle |
Same boundary as the reply above, applied specifically to the Card API: Card is widget chrome, not content. Proxy: the Card subtree ( The widget's render function produces the content that lives inside No widget imports The DevX argument @ciampo raised is real, but it pays off when there are non-widget callers (extensions composing dashboard chrome directly). Different feature, different call site, worth revisiting then. Multiple |
The actions question pushes on the right spot. Two viable layouts, either of which keeps the action surface independent of header visibility:
In either layout, On a11y: agreed every widget should be announced. The PR already keeps the title in the a11y tree via The stronger property you're pointing at, "every widget must declare a title", is metadata validation at the widget-type level and is orthogonal to this PR. Worth landing as its own pass on the registry, since |
|
I'm honestly a bit lost with the long PR description and comments — is there a shorter version that may help me to gain context on what's being discussed? |
…s/gutenberg into update/widget-presentation-mode
Yeah, fair point. To me, the key question is what the responsibility of these abstractions is in the whole implementation.
This PR defines how a widget can be visualized across its entire dashboard widget chrome. |
|
@copilot resolve the merge conflicts in this pull request |
Merged latest Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
I think that's solvable with the toolbar hovering above the card at the position where it would be with the header too, and with some "badge" area behind toolbar icons to help it stand out. |
|
Trying to catch up here, with the caveat that I have very little context of the whole widget dashboard conversation. Full bleed widget contentI believe the main conversation is around how to better allow (in terms of APIs/contract) a widget to render its contents edge-to-edge within the frame that the dashboard assigns to it. In practical terms, if I understand correctly, that frame is the A few reflections:
I agree with the general idea of avoiding widget settings that are too tied to implementation details / rigid structures, and I also prefer using settings/props that describe the behaviour/intention of the widget without being too prescriptive (such as the We could also mix both Finally, should widgets also have a separate hint about their preferred size? Edit widget actionsI can think of 4 options:
Although, once again, I have little context on what the needs are exactly, and past design explorations. |
Yes, that's correct.
Agreed. A bad balance is when it allows authors to define the chrome padding per instance, for example. We don't want that. The padding and widget-chrome layout settings, in general, need to be consistent across all widget instances in a dashboard layout. That's why we give two options: regular configuration,
👍
Yes, that could work. We want to provide design tools to authors without compromising overall UI consistency.
We are working on a way to customize the widget instances so we can act on this feedback. I suggest accepting this implementation since I think it's flexible enough and can scale properly across other surfaces and scenarios. Eventually, we can keep polishing and tweaking it as it becomes more complex and powerful. |
The widget actions won't be hidden by the widget presentation. It's out of the widget decision.
We don't want to provide free composition for the widget. That's exactly why we want to introduce the
Agreed.
Agree as well. Finally, the widget consumer, in this case a dashboard, is ultimately the one who decides how to render the widget instance: static width, or maybe taking the rest of the width in the same row (
It's correct. Make it required in the widget schema, and just wrap it in a VisuallyHidden component |
|
Let's try this, experiment a bit with how we might have the toolbars look with this (#78060). We may switch to another method for defining layouts, or enforce a strict requirement that widget designs always include a header. We're behind the experimental flag with the dashboard, so we have all the freedom to revert, change or change things up. :-) I thought this was a particularly interesting note from @jameskoster :
We'll still need widget authors to use |
|
Noting that we're also ensuring there's always an accessible title, which is also required for widget picker etc. |
This updates the pinned commit hash of the Gutenberg repository from `d5ac60e6118060529737127d44a6fdc8abf57eb9 ` (version `23.2.0`) to `14db4ab9395a9e96430eed678e4288a59eecbd15` (version `23.3.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.2.0..v23.3.0. The following commits are included: - Performance tests: fix template click, delete pages at startup (WordPress/gutenberg#78193) - [ui] Add internal wp compat overlay slot helper (WordPress/gutenberg#77851) - Build: Detect stale node_modules at build/dev time (WordPress/gutenberg#77995) - migrated __experimentalText, __experimentalHStack, and __experimentalVStack to Text and Stack (WordPress/gutenberg#78155) - Connectors: Restyle AI plugin callout with pastel background and beaker decoration (WordPress/gutenberg#78243) - RTC: fix cursor awareness / presence bug in nested rich text elements (WordPress/gutenberg#77673) - Core Data: Share parsed blocks cache between resolver and editor hook (WordPress/gutenberg#78026) - Block supports: Optimize custom CSS class rendering and parsing (WordPress/gutenberg#78217) - scripts: Fix path for license type detection in license.js (WordPress/gutenberg#78245) - Extract media editor save hook (WordPress/gutenberg#78225) - Block Library: Fix Tabs block losing added tabs when the editor is reopened (WordPress/gutenberg#78250) - Extract media editor crop options hook (WordPress/gutenberg#78263) - Media Editor Modal: Add custom datetime view for the sidebar to ensure minimal display of dates (WordPress/gutenberg#78265) - Block Inspector: Hide Styles tab in preview mode (WordPress/gutenberg#78230) - Move Layout panel into styles tab so it sits next to Dimensions (WordPress/gutenberg#77922) - Media Editor Modal: Only show the crop active state when using keyboard (WordPress/gutenberg#78266) - Add supports for pseudo states on single block instances (WordPress/gutenberg#76491) - Perf tests: Save Chromium traces as CI artifacts (WordPress/gutenberg#77974) - Media editor: show live crop dimensions during gesture (WordPress/gutenberg#78221) - Fix flaky navigation frontend submenu e2e test (WordPress/gutenberg#78270) - Widget dashboard: skip tile hover elevation while resizing (WordPress/gutenberg#78234) - DataViews: Adopt `@wordpress/theme` design tokens (WordPress/gutenberg#75204) - Home Link: Add missing controls (WordPress/gutenberg#76672) - Overlays: Extend positioner slot pattern to Popover, Select, Autocomplete (WordPress/gutenberg#78168) - Make RTC-related APIs private (WordPress/gutenberg#78097) - Block Toolbar: Prevent position shifts when using mover control (WordPress/gutenberg#77798) - Experiment: Add default term for taxonomies (WordPress/gutenberg#78233) - [ui] Tooltip: Default portal container to the wp compat overlay slot (WordPress/gutenberg#78095) - Performance Tests: log timestamps, optimize build overhead (WordPress/gutenberg#78237) - Editor: Disable Visual Revisions when classic meta boxes are present (WordPress/gutenberg#78249) - Stabilize small-scope flaky e2e tests (WordPress/gutenberg#77893) - Navigation Link: Preserve custom labels during link updates (WordPress/gutenberg#77186) - Tests: Add `timezone-mock` to `test/unit/package.json` (WordPress/gutenberg#78277) - Fix performance tests when running against old reference commit (WordPress/gutenberg#78288) - Editor: Fix Visual Revisions meta keys overlap (WordPress/gutenberg#78156) - Stylelint: Add more exemptions to logical properties rules (WordPress/gutenberg#78252) - Menu: Reduce flaky Space key test scope (WordPress/gutenberg#78246) - Revisions: Scale diff markers width with user text-size preference (WordPress/gutenberg#78273) - Refactor validation tools and update related scripts (WordPress/gutenberg#77522) - Storybook: Add text overflow E2E stories (WordPress/gutenberg#78256) - Routes: Enforce logical CSS properties in stylesheets (WordPress/gutenberg#78291) - Migrate pattern list item titles to Text from @wordpress/ui (WordPress/gutenberg#77656) - Perf tests: Capture loading durations before stopTracing() (WordPress/gutenberg#78294) - Perf tests: Disable Playwright tracing to remove snapshot overhead (WordPress/gutenberg#78295) - Notes: Support multiple note threads per block (WordPress/gutenberg#75147) - make widget framework types generic (WordPress/gutenberg#78247) - Blocks: Ensure proper merging of classes in block schemas (WordPress/gutenberg#70615) - Collab Sidebar: Replace near-identical pink with red in avatar palette (WordPress/gutenberg#78299) - Compose: Share a single change listener per MediaQueryList in useMediaQuery (WordPress/gutenberg#78297) - Add custom widget dashboard resize handle styling. (WordPress/gutenberg#78236) - Block Editor: Integrate slug-based color selection in color panel (WordPress/gutenberg#78048) - wp-build: Replace getter-based exports with data properties (WordPress/gutenberg#78303) - RTC: Fix connection lost error modal when /wp-json/wp-sync/v1/updates exceeds 16 MiB limit (WordPress/gutenberg#77724) - Hide wrap by default in flex layout panel (WordPress/gutenberg#78269) - Prevent images from appearing squished when only one dimension is set (WordPress/gutenberg#70575) - Block Style States: Show only supported inspector controls when selecting a style state (WordPress/gutenberg#78280) - Build: Remove custom job_status output in favor of native result (WordPress/gutenberg#78208) - Improve GHCR asset publishing and expand trigger events to include `pull_request` (WordPress/gutenberg#78211) - Media Editor: Scope keyboard shortcuts to the modal (WordPress/gutenberg#78322) - Fix 'Invalid Date' when clicking on Now in DateTimePicker on Date Block. (WordPress/gutenberg#78284) - Dashboard: round widget drag radius (WordPress/gutenberg#78292) - Core Abilities: Defer fetch until workflow palette opens (WordPress/gutenberg#78316) - Manually update all package versions to match wp/latest (WordPress/gutenberg#78301) - Dashboard: layout settings drawer with grid/masonry models (WordPress/gutenberg#78202) - Components: Fix FormTokenField validation preventing default behavior (WordPress/gutenberg#77181) - Core Data: Avoid duplicate id-less entity permission requests (WordPress/gutenberg#78262) - Post/Site Editor loading test: remove unwanted actions from timed code path (WordPress/gutenberg#78323) - Tests: Add post-editor preload spec (WordPress/gutenberg#78318) - Automated Testing: Allow console logging in all bin, scripts, tools files (WordPress/gutenberg#78312) - [components] Draggable: Migrate clone wrapper to wp compat overlay slot (WordPress/gutenberg#78183) - Editor: Inline text editor toolbar z-index (WordPress/gutenberg#78309) - Automated Testing: Skip ESLint for bundled library code via ignore patterns (WordPress/gutenberg#78314) - Refactor: useMemo on elements and useCallback is back on resetAllFilter (WordPress/gutenberg#78329) - Guidelines: Fix fatal when `rest_api_init` fires before init (WordPress/gutenberg#78350) - Upload Media: stop propagating `-scaled` to sub-size filenames (WordPress/gutenberg#78038) - design-system-mcp: Update get_components to optionally support multiple names (WordPress/gutenberg#78185) - Dashboard: adds tooltip explaining disabled menu item (WordPress/gutenberg#78344) - Grid: make resize overlay line solid (WordPress/gutenberg#78340) - Dashboard: migrate Layout settings drawer to DataForm (WordPress/gutenberg#78336) - Add dimension validation to sideload endpoint (WordPress/gutenberg#74903) - Tests: Preload spec — track query strings and use an existing draft (WordPress/gutenberg#78343) - design-system-mcp: Add server instructions for client usage guidance (WordPress/gutenberg#78186) - Draggable: Scope the clone's fallback `z-index` to non-slot placements (WordPress/gutenberg#78354) - [ui] Trim verbose comments around the compat overlay slot (WordPress/gutenberg#78356) - DataViews: Inline z-index values (WordPress/gutenberg#78315) - Block/Tabs: Remove mount-time setAttributes that caused dirty editor state on reload (WordPress/gutenberg#78339) - Connectors: Consolidate WP 7.0 compat loading and move from experimental (WordPress/gutenberg#78228) - Grid: visualize columns without outline (WordPress/gutenberg#78281) - Media Editor: Harden cropper math layer against non-finite inputs (WordPress/gutenberg#78321) - Media Editor: Enforce a minimum crop size in the image editor (WordPress/gutenberg#78268) - Editor: Use _n() for revisions count aria-label (WordPress/gutenberg#78382) - Media Editor: Anchor cursorless zoom (slider/keyboard) at crop center (WordPress/gutenberg#78385) - Dashboard: layered grid columns + visual layout model picker (WordPress/gutenberg#78364) - Refactor: Add extractPresetSlug as a generalized function to extract slugs. (WordPress/gutenberg#78328) - Dashboard: full size widget inserter (WordPress/gutenberg#78390) - Grid: resize widget and snap resize-placeholder (WordPress/gutenberg#78389) - UI Card: full bleed as header hero image & content cover (WordPress/gutenberg#77856) - Modal: Inline header z-index (WordPress/gutenberg#78362) - UI Icon: Mark as recommended (WordPress/gutenberg#78365) - Use WCIcon alias for component Icon imports (WordPress/gutenberg#78366) - Tools(Release): migrate bin/plugin into @wordpress/release-tools workspace (WordPress/gutenberg#77695) - UI Button: Optimize overflow styles (WordPress/gutenberg#78300) - [ui] Select: Default portal container to the wp compat overlay slot (WordPress/gutenberg#78372) - Grid: tiled grid overlay (WordPress/gutenberg#78373) - useCopyToClipboard: Always call onSuccess callback (WordPress/gutenberg#78387) - Remove commander.js file from the project (WordPress/gutenberg#78400) - [ui] Autocomplete: Default portal container to the wp compat overlay slot (WordPress/gutenberg#78375) - Use WCTooltip alias for component Tooltip imports (WordPress/gutenberg#78396) - Upload Media: pick up the finalized attachment URL so srcset renders (WordPress/gutenberg#78359) - UI: Fix item popup typography (WordPress/gutenberg#78403) - RTC: Add command to run in WebSockets mode (WordPress/gutenberg#78363) - Publishing packages: defer pushing tags until lerna publish succeeds (WordPress/gutenberg#78253) - Fix: Show collaborators with top toolbar is active (WordPress/gutenberg#78049) - Image block: Add "Mark as decorative" toggle for accessibility (WordPress/gutenberg#78064) - Revisions: Use CSS outline as secondary non-color indicator for diff blocks (WordPress/gutenberg#78393) - DataViewsPicker Table: Fix first-click row selection (WordPress/gutenberg#78423) - Fixed additional issues with block registration types (WordPress/gutenberg#78416) - Media Editor: Make zoom floor coverage-aware instead of fixed at 1x (WordPress/gutenberg#78222) - Grid: animate sibling tiles when layout reflows during drag or resize (WordPress/gutenberg#78395) - Widget Types: declarative presentation hint (full-bleed support) (WordPress/gutenberg#78209) - Image: Fix missing aria-label on lightbox trigger button for single images (WordPress/gutenberg#78426) - Columns: Remove redundant Skip option from layout picker (WordPress/gutenberg#78405) - Components: Popover: don't close when focus moves into the `@wordpress/ui` compat overlay slot (WordPress/gutenberg#78407) - Script Loader: Defer single-page admin init until DOMContentLoaded (Trac WordPress/gutenberg#65103) (WordPress/gutenberg#78136) - Grid: fix immutability lint warning for react hook (WordPress/gutenberg#78431) - Tabs, TabPanel: Align styles with wp-ui (WordPress/gutenberg#78418) - List View: Place caret at end of block when selecting (WordPress/gutenberg#76797) - Dashboard: restrict widget icons to just SVGs (no dashicons) (WordPress/gutenberg#78440) - Dashboard: Increase widget spacing with --wp-grid-gap. (WordPress/gutenberg#78439) - RTC: Provide `PROTOCOL_MISMATCH` error handling (WordPress/gutenberg#76991) - Dashboard: add chrome UI tools to widgets (WordPress/gutenberg#78060) - Experiment: Update Classic block deprecation notice (WordPress/gutenberg#78445) - UI Tabs: Recommend component for use (WordPress/gutenberg#78442) - RTC: Sync the content even if its a function (WordPress/gutenberg#76796) - Theme: Move token structure descriptions into tokens document (WordPress/gutenberg#78438) - Fix persistCRDTDoc minimal save payload (WordPress/gutenberg#77050) - useDialog: handle Escape via React `onKeyDown` so cascade works through portals (WordPress/gutenberg#78433) - Fix inconsistencies in feature selector processing part 1: global styles (WordPress/gutenberg#78276) - Media: Add undo snackbar for media editor image edits (WordPress/gutenberg#78425) - Media Fields: Fix filename truncation with Tooltip (WordPress/gutenberg#78453) - Media Editor Modal: Fix unexpected tab stop on date fields in the Details sidebar (WordPress/gutenberg#78454) - Add experiment to show admin bar in Post and Site Editor (WordPress/gutenberg#77964) - Visually align `Notice` from `@wordpress/components` with `Notice` from `@wordpress/ui` (WordPress/gutenberg#78231) - Widgets: Declare dependencies in a per-widget package.json (WordPress/gutenberg#78463) - Grid: don't allow resizing tile beyond min row height or column width (WordPress/gutenberg#78402) - UI Autocomplete: Fix prop types (WordPress/gutenberg#78450) - @wordpress/ui: Compat overlay slot — viewport-sized containing block (WordPress/gutenberg#78441) - Fix image upload crashes (WordPress/gutenberg#76707) - Theme: Add Tokens "Introduction" Storybook page (WordPress/gutenberg#78449) - Blocks: Share window listeners across instances (block props, rich text, ...) (WordPress/gutenberg#78310) - UI Button: Fix disabled cursor style (WordPress/gutenberg#78479) - Add welcome dashboard widget with adaptive layout and content (WordPress/gutenberg#78461) - Responsive block instance styles (WordPress/gutenberg#78384) - REST: Guard `setAccessible()` behind PHP < 8.1 in block-editor settings controller (WordPress/gutenberg#78478) - Docs: Update iframe editor migration guide for WordPress 7.0/7.1 (WordPress/gutenberg#78401) - Fix inconsistencies in feature selector processing part 2: pseudo block instances (WordPress/gutenberg#78326) - Media Editor Experiments: Tidy up by removing old pathways to the media editor experiment (WordPress/gutenberg#78489) - Compose: Simplify subscribeDelegatedListener root detection (WordPress/gutenberg#78492) - Dashboard: use Page hasPadding prop for content spacing (WordPress/gutenberg#78469) - Grid: hide resize handles and actions while on tile is resizing (WordPress/gutenberg#78391) - Dashboard Widgets: Add content-bleed presentation variant (WordPress/gutenberg#78491) - Dashboard: forbid non-module stylesheets in experimental, new widgets (WordPress/gutenberg#78496) - Revisions: Increase diff marker stripe contrast to 75% primary color proportion (WordPress/gutenberg#78473) - Fix flaky e2e test with dataview kbd navigation (WordPress/gutenberg#78503) - Theme: Update color space registration to avoid side effects (WordPress/gutenberg#77653) - Move PHP Sync Issue Generator file to @wordpress/release-tools (WordPress/gutenberg#78456) - ESLint: Support private API component denylist (WordPress/gutenberg#78451) - Widgets: Add TypeScript project config (WordPress/gutenberg#78467) - Dashboard: small changes to header (WordPress/gutenberg#78513) - Edit post: consume preload cache before React mount (WordPress/gutenberg#78508) - Vips: Remove dead batchResizeImage and vipsBatchResizeImage exports (WordPress/gutenberg#77975) - Automated Testing: Enable concurrency for ESLint (WordPress/gutenberg#78360) - Simplify component ESLint rules and extend to routes/widgets (WordPress/gutenberg#78519) - Image editor: remove unnecessary __nextHasNoMarginBottom prop (WordPress/gutenberg#78530) - RTC: Limit CRDT meta data to REST API edit context (WordPress/gutenberg#78531). - Update plugin release docs and edit for clarity. (WordPress/gutenberg#78537) - Updated the BlockAttribute typedef to allow for multi-type attributes (WordPress/gutenberg#78517) - Refactor media editor crop state into composite reducer (WordPress/gutenberg#78480) - Navigation: Restore block_core_navigation_submenu_render_submenu_icon() as deprecated shim (WordPress/gutenberg#78484) - Font Library: clarify active variant state in Library tab (WordPress/gutenberg#78501) - Guard PHP unit test to avoid failures on old wp versions (WordPress/gutenberg#78547) - Fix block preview for responsive style states (WordPress/gutenberg#78538) - Breadcrumbs block: Hide separator from screen readers (WordPress/gutenberg#78524) - Preload: Backport user global styles entry for classic themes on WP 6.9 (WordPress/gutenberg#78546) - Guidelines: Refine access policy (WordPress/gutenberg#78296) - Fix flaky media upload save lock test (WordPress/gutenberg#78544) - Add `Quick post` widget (WordPress/gutenberg#78408) - Tooltip migration: block-editor + block-directory consumers (1/5) (WordPress/gutenberg#78411) - Navigation: Hard deprecate component (WordPress/gutenberg#78529) - Post Taxonomies: Drop redundant `per_page: -1` from taxonomy queries (WordPress/gutenberg#78569) - Dashboard: add elevation to widget actionable area (WordPress/gutenberg#78563) - Add dashboard Activity widget (WordPress/gutenberg#78552) - Components: Remove deprecated `__experimentalApplyValueToSides` export (WordPress/gutenberg#78528) - IconButton: Fix `focusableWhenDisabled` default (WordPress/gutenberg#78526) - Add cherry-pick script and update release tools in package.json (WordPress/gutenberg#78560) - Theme: Remove and prevent dependency grouping comments (WordPress/gutenberg#78573) - Dashboard: per-instance widget settings drawer (WordPress/gutenberg#78465) - Dashboard Widgets: Adapt Quick Draft to its tile size with a recent drafts list (WordPress/gutenberg#78572) - Add dashboard Site Preview widget (WordPress/gutenberg#78556) - Edit Post Preload: Cover remaining bound GET/OPTIONS requests on load (WordPress/gutenberg#78565) - Several improvements to the Dependabot configuration (WordPress/gutenberg#78536) - Fix: Disable collab sync when incompatible meta boxes are present. (WordPress/gutenberg#78145) - Bump the github-actions group across 2 directories with 6 updates (WordPress/gutenberg#78585) - Editor / Block Editor: Lazy-fetch user pattern categories (WordPress/gutenberg#78568) - RTC: Fix every update block refresh when a peer edits with in the code editor (WordPress/gutenberg#78483) - Edit Post: Hoist setupEditor to run before root.render (WordPress/gutenberg#78581) - Automated Testing: Fix and use built-in mechanism for flagging unused disables (WordPress/gutenberg#78313) - Remove dependency used for counting available CPUs (WordPress/gutenberg#78593) - ESLint: Restrict deprecated __nextHasNoMarginBottom prop (WordPress/gutenberg#78579) - Reset zoom level on component unmount (WordPress/gutenberg#69087) - Add missing package file to the site preview widget (WordPress/gutenberg#78583) - Add dashboard Site Health widget (WordPress/gutenberg#78555) - fix: discard unsaved HTML block changes on cancel (WordPress/gutenberg#78580) - Global styles revisions: ensure stylebook shows revision previews (WordPress/gutenberg#78490) - Docs: Update media editor documentation (WordPress/gutenberg#78617) - RTC: Fix Edit/Join row action invisible on mobile in post list (WordPress/gutenberg#78597) - Grid: animate tile removals (WordPress/gutenberg#78542) - Paste: keep `<img>` inside `<a>` when pasting plain-text HTML (WordPress/gutenberg#78015) - Deduplicate useGlobalStyles hook code (WordPress/gutenberg#78577) - Dashboard: add command palette commands (WordPress/gutenberg#78429) - Docs: Add Workspace Development guide (WordPress/gutenberg#78615) - add default widget instances to dashboard (WordPress/gutenberg#78622) - scale widget picker preview to fill slot (WordPress/gutenberg#78602) - Welcome widget: draw the version number in the banner (WordPress/gutenberg#78611) - Classic Block: Use `get_post()` in `wp_declare_classic_block_necessary` (WordPress/gutenberg#78613) - fix widget content overflowing its grid tile (WordPress/gutenberg#78627) - Fix: Register user-defined taxonomies after user-defined post types (WordPress/gutenberg#78497) - Image: Preserve width/height when converting Classic blocks to blocks (WordPress/gutenberg#78610) - Dashboard: mobile improvements (WordPress/gutenberg#78522) - Grid & Dashboard: polish dashboard drag preview motion, elevation, and drop exit (WordPress/gutenberg#78348) - Welcome widget: add a subtle shine to the version digits (WordPress/gutenberg#78626) - WP Editor Meta Box e2e: wait for TinyMCE init (WordPress/gutenberg#78631) - Quick Draft widget: layout, empty state, and style refinements (WordPress/gutenberg#78601) - Dashboard: Refine widget actionable area toolbar styling (WordPress/gutenberg#78578) - Components: Add Badge text overflow e2e story (WordPress/gutenberg#78589) - UI: Update Autocomplete clear disabled state (WordPress/gutenberg#78520) - Dashboard: tune default grid settings and starter layout (WordPress/gutenberg#78633) - RangeControl: Remove erroneous `icon` prop from web types (WordPress/gutenberg#78444) - UI: Add Button variant states e2e story (WordPress/gutenberg#78634) - DataViews: Fix wrapper height resolution in flex layouts (WordPress/gutenberg#76945) - Tooltip migration: editor + edit-post + edit-site consumers (2/5) (WordPress/gutenberg#78466) - Add dashboard News widget (WordPress/gutenberg#78554) - Add support for layout responsive styles (WordPress/gutenberg#78543) - Build Tools: Move build scripts to `@wordpress/build-scripts` workspace package (WordPress/gutenberg#78509) - Dashboard: fix widget rendering on the masonry grid (WordPress/gutenberg#78645) - Tooltip migration: dataviews consumers (3/5) (WordPress/gutenberg#78470) - Upgrade to React 19 (WordPress/gutenberg#61521) - Dashboard: use fully-specified fast-deep-equal import (WordPress/gutenberg#78660) - Hide block variation selector when style state is selected (WordPress/gutenberg#78658) - Migrate `create-test-block.sh` to `@wordpress/validation-tools` workspace (WordPress/gutenberg#78665) - Docs: Mark React Native mobile editor as unmaintained on trunk after React 19 upgrade (WordPress/gutenberg#78673) - Dashboard: URL bar in site preview widget (WordPress/gutenberg#78656) - UI Button: Fix pressed disabled styles for neutral minimal (WordPress/gutenberg#78635) - Dashboard: prevent pointer events in widget selection (WordPress/gutenberg#78681) - Block Inserter: Animate inserter button icon to signal open state. (WordPress/gutenberg#78306) - Guidelines: Add data-slug attribute to settings list items (WordPress/gutenberg#78676) - Validate additional CSS on mount (WordPress/gutenberg#78682) - Move @emotion deps out of root package.json (WordPress/gutenberg#78687) - Media Editor Modal: Tighten labels for crop handles toggle (WordPress/gutenberg#78703) - Media Editor: make the modal the default crop experience (WordPress/gutenberg#78653) - Media Editor Modal: Update the rotation ruler to use a vertical line marker (WordPress/gutenberg#78704) - Hide image dimension tools when a state is selected (WordPress/gutenberg#78670) - Image cropper: round zoom control values and display as percentages (WordPress/gutenberg#78757) - Media Editor Modal: Try placing the save and cancel buttons in the footer (WordPress/gutenberg#78708) - Unset grid span defaults with viewport states enabled (WordPress/gutenberg#78709) - Media Editor: Remove resize handles toggle from crop panel (WordPress/gutenberg#78758) - Image Editor: focus return after closing image crop modal (WordPress/gutenberg#78711) - Tests: Temporarily disable REST index output-format assertions (WordPress/gutenberg#78788) - Hide Cover overlay controls for viewport states (WordPress/gutenberg#78763) - Update browserslist (WordPress/gutenberg#78840) - e2e-test-utils-playwright: add src to published NPM files (WordPress/gutenberg#78847) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65560. git-svn-id: https://develop.svn.wordpress.org/trunk@62583 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `d5ac60e6118060529737127d44a6fdc8abf57eb9 ` (version `23.2.0`) to `14db4ab9395a9e96430eed678e4288a59eecbd15` (version `23.3.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.2.0..v23.3.0. The following commits are included: - Performance tests: fix template click, delete pages at startup (WordPress/gutenberg#78193) - [ui] Add internal wp compat overlay slot helper (WordPress/gutenberg#77851) - Build: Detect stale node_modules at build/dev time (WordPress/gutenberg#77995) - migrated __experimentalText, __experimentalHStack, and __experimentalVStack to Text and Stack (WordPress/gutenberg#78155) - Connectors: Restyle AI plugin callout with pastel background and beaker decoration (WordPress/gutenberg#78243) - RTC: fix cursor awareness / presence bug in nested rich text elements (WordPress/gutenberg#77673) - Core Data: Share parsed blocks cache between resolver and editor hook (WordPress/gutenberg#78026) - Block supports: Optimize custom CSS class rendering and parsing (WordPress/gutenberg#78217) - scripts: Fix path for license type detection in license.js (WordPress/gutenberg#78245) - Extract media editor save hook (WordPress/gutenberg#78225) - Block Library: Fix Tabs block losing added tabs when the editor is reopened (WordPress/gutenberg#78250) - Extract media editor crop options hook (WordPress/gutenberg#78263) - Media Editor Modal: Add custom datetime view for the sidebar to ensure minimal display of dates (WordPress/gutenberg#78265) - Block Inspector: Hide Styles tab in preview mode (WordPress/gutenberg#78230) - Move Layout panel into styles tab so it sits next to Dimensions (WordPress/gutenberg#77922) - Media Editor Modal: Only show the crop active state when using keyboard (WordPress/gutenberg#78266) - Add supports for pseudo states on single block instances (WordPress/gutenberg#76491) - Perf tests: Save Chromium traces as CI artifacts (WordPress/gutenberg#77974) - Media editor: show live crop dimensions during gesture (WordPress/gutenberg#78221) - Fix flaky navigation frontend submenu e2e test (WordPress/gutenberg#78270) - Widget dashboard: skip tile hover elevation while resizing (WordPress/gutenberg#78234) - DataViews: Adopt `@wordpress/theme` design tokens (WordPress/gutenberg#75204) - Home Link: Add missing controls (WordPress/gutenberg#76672) - Overlays: Extend positioner slot pattern to Popover, Select, Autocomplete (WordPress/gutenberg#78168) - Make RTC-related APIs private (WordPress/gutenberg#78097) - Block Toolbar: Prevent position shifts when using mover control (WordPress/gutenberg#77798) - Experiment: Add default term for taxonomies (WordPress/gutenberg#78233) - [ui] Tooltip: Default portal container to the wp compat overlay slot (WordPress/gutenberg#78095) - Performance Tests: log timestamps, optimize build overhead (WordPress/gutenberg#78237) - Editor: Disable Visual Revisions when classic meta boxes are present (WordPress/gutenberg#78249) - Stabilize small-scope flaky e2e tests (WordPress/gutenberg#77893) - Navigation Link: Preserve custom labels during link updates (WordPress/gutenberg#77186) - Tests: Add `timezone-mock` to `test/unit/package.json` (WordPress/gutenberg#78277) - Fix performance tests when running against old reference commit (WordPress/gutenberg#78288) - Editor: Fix Visual Revisions meta keys overlap (WordPress/gutenberg#78156) - Stylelint: Add more exemptions to logical properties rules (WordPress/gutenberg#78252) - Menu: Reduce flaky Space key test scope (WordPress/gutenberg#78246) - Revisions: Scale diff markers width with user text-size preference (WordPress/gutenberg#78273) - Refactor validation tools and update related scripts (WordPress/gutenberg#77522) - Storybook: Add text overflow E2E stories (WordPress/gutenberg#78256) - Routes: Enforce logical CSS properties in stylesheets (WordPress/gutenberg#78291) - Migrate pattern list item titles to Text from @wordpress/ui (WordPress/gutenberg#77656) - Perf tests: Capture loading durations before stopTracing() (WordPress/gutenberg#78294) - Perf tests: Disable Playwright tracing to remove snapshot overhead (WordPress/gutenberg#78295) - Notes: Support multiple note threads per block (WordPress/gutenberg#75147) - make widget framework types generic (WordPress/gutenberg#78247) - Blocks: Ensure proper merging of classes in block schemas (WordPress/gutenberg#70615) - Collab Sidebar: Replace near-identical pink with red in avatar palette (WordPress/gutenberg#78299) - Compose: Share a single change listener per MediaQueryList in useMediaQuery (WordPress/gutenberg#78297) - Add custom widget dashboard resize handle styling. (WordPress/gutenberg#78236) - Block Editor: Integrate slug-based color selection in color panel (WordPress/gutenberg#78048) - wp-build: Replace getter-based exports with data properties (WordPress/gutenberg#78303) - RTC: Fix connection lost error modal when /wp-json/wp-sync/v1/updates exceeds 16 MiB limit (WordPress/gutenberg#77724) - Hide wrap by default in flex layout panel (WordPress/gutenberg#78269) - Prevent images from appearing squished when only one dimension is set (WordPress/gutenberg#70575) - Block Style States: Show only supported inspector controls when selecting a style state (WordPress/gutenberg#78280) - Build: Remove custom job_status output in favor of native result (WordPress/gutenberg#78208) - Improve GHCR asset publishing and expand trigger events to include `pull_request` (WordPress/gutenberg#78211) - Media Editor: Scope keyboard shortcuts to the modal (WordPress/gutenberg#78322) - Fix 'Invalid Date' when clicking on Now in DateTimePicker on Date Block. (WordPress/gutenberg#78284) - Dashboard: round widget drag radius (WordPress/gutenberg#78292) - Core Abilities: Defer fetch until workflow palette opens (WordPress/gutenberg#78316) - Manually update all package versions to match wp/latest (WordPress/gutenberg#78301) - Dashboard: layout settings drawer with grid/masonry models (WordPress/gutenberg#78202) - Components: Fix FormTokenField validation preventing default behavior (WordPress/gutenberg#77181) - Core Data: Avoid duplicate id-less entity permission requests (WordPress/gutenberg#78262) - Post/Site Editor loading test: remove unwanted actions from timed code path (WordPress/gutenberg#78323) - Tests: Add post-editor preload spec (WordPress/gutenberg#78318) - Automated Testing: Allow console logging in all bin, scripts, tools files (WordPress/gutenberg#78312) - [components] Draggable: Migrate clone wrapper to wp compat overlay slot (WordPress/gutenberg#78183) - Editor: Inline text editor toolbar z-index (WordPress/gutenberg#78309) - Automated Testing: Skip ESLint for bundled library code via ignore patterns (WordPress/gutenberg#78314) - Refactor: useMemo on elements and useCallback is back on resetAllFilter (WordPress/gutenberg#78329) - Guidelines: Fix fatal when `rest_api_init` fires before init (WordPress/gutenberg#78350) - Upload Media: stop propagating `-scaled` to sub-size filenames (WordPress/gutenberg#78038) - design-system-mcp: Update get_components to optionally support multiple names (WordPress/gutenberg#78185) - Dashboard: adds tooltip explaining disabled menu item (WordPress/gutenberg#78344) - Grid: make resize overlay line solid (WordPress/gutenberg#78340) - Dashboard: migrate Layout settings drawer to DataForm (WordPress/gutenberg#78336) - Add dimension validation to sideload endpoint (WordPress/gutenberg#74903) - Tests: Preload spec — track query strings and use an existing draft (WordPress/gutenberg#78343) - design-system-mcp: Add server instructions for client usage guidance (WordPress/gutenberg#78186) - Draggable: Scope the clone's fallback `z-index` to non-slot placements (WordPress/gutenberg#78354) - [ui] Trim verbose comments around the compat overlay slot (WordPress/gutenberg#78356) - DataViews: Inline z-index values (WordPress/gutenberg#78315) - Block/Tabs: Remove mount-time setAttributes that caused dirty editor state on reload (WordPress/gutenberg#78339) - Connectors: Consolidate WP 7.0 compat loading and move from experimental (WordPress/gutenberg#78228) - Grid: visualize columns without outline (WordPress/gutenberg#78281) - Media Editor: Harden cropper math layer against non-finite inputs (WordPress/gutenberg#78321) - Media Editor: Enforce a minimum crop size in the image editor (WordPress/gutenberg#78268) - Editor: Use _n() for revisions count aria-label (WordPress/gutenberg#78382) - Media Editor: Anchor cursorless zoom (slider/keyboard) at crop center (WordPress/gutenberg#78385) - Dashboard: layered grid columns + visual layout model picker (WordPress/gutenberg#78364) - Refactor: Add extractPresetSlug as a generalized function to extract slugs. (WordPress/gutenberg#78328) - Dashboard: full size widget inserter (WordPress/gutenberg#78390) - Grid: resize widget and snap resize-placeholder (WordPress/gutenberg#78389) - UI Card: full bleed as header hero image & content cover (WordPress/gutenberg#77856) - Modal: Inline header z-index (WordPress/gutenberg#78362) - UI Icon: Mark as recommended (WordPress/gutenberg#78365) - Use WCIcon alias for component Icon imports (WordPress/gutenberg#78366) - Tools(Release): migrate bin/plugin into @wordpress/release-tools workspace (WordPress/gutenberg#77695) - UI Button: Optimize overflow styles (WordPress/gutenberg#78300) - [ui] Select: Default portal container to the wp compat overlay slot (WordPress/gutenberg#78372) - Grid: tiled grid overlay (WordPress/gutenberg#78373) - useCopyToClipboard: Always call onSuccess callback (WordPress/gutenberg#78387) - Remove commander.js file from the project (WordPress/gutenberg#78400) - [ui] Autocomplete: Default portal container to the wp compat overlay slot (WordPress/gutenberg#78375) - Use WCTooltip alias for component Tooltip imports (WordPress/gutenberg#78396) - Upload Media: pick up the finalized attachment URL so srcset renders (WordPress/gutenberg#78359) - UI: Fix item popup typography (WordPress/gutenberg#78403) - RTC: Add command to run in WebSockets mode (WordPress/gutenberg#78363) - Publishing packages: defer pushing tags until lerna publish succeeds (WordPress/gutenberg#78253) - Fix: Show collaborators with top toolbar is active (WordPress/gutenberg#78049) - Image block: Add "Mark as decorative" toggle for accessibility (WordPress/gutenberg#78064) - Revisions: Use CSS outline as secondary non-color indicator for diff blocks (WordPress/gutenberg#78393) - DataViewsPicker Table: Fix first-click row selection (WordPress/gutenberg#78423) - Fixed additional issues with block registration types (WordPress/gutenberg#78416) - Media Editor: Make zoom floor coverage-aware instead of fixed at 1x (WordPress/gutenberg#78222) - Grid: animate sibling tiles when layout reflows during drag or resize (WordPress/gutenberg#78395) - Widget Types: declarative presentation hint (full-bleed support) (WordPress/gutenberg#78209) - Image: Fix missing aria-label on lightbox trigger button for single images (WordPress/gutenberg#78426) - Columns: Remove redundant Skip option from layout picker (WordPress/gutenberg#78405) - Components: Popover: don't close when focus moves into the `@wordpress/ui` compat overlay slot (WordPress/gutenberg#78407) - Script Loader: Defer single-page admin init until DOMContentLoaded (Trac WordPress/gutenberg#65103) (WordPress/gutenberg#78136) - Grid: fix immutability lint warning for react hook (WordPress/gutenberg#78431) - Tabs, TabPanel: Align styles with wp-ui (WordPress/gutenberg#78418) - List View: Place caret at end of block when selecting (WordPress/gutenberg#76797) - Dashboard: restrict widget icons to just SVGs (no dashicons) (WordPress/gutenberg#78440) - Dashboard: Increase widget spacing with --wp-grid-gap. (WordPress/gutenberg#78439) - RTC: Provide `PROTOCOL_MISMATCH` error handling (WordPress/gutenberg#76991) - Dashboard: add chrome UI tools to widgets (WordPress/gutenberg#78060) - Experiment: Update Classic block deprecation notice (WordPress/gutenberg#78445) - UI Tabs: Recommend component for use (WordPress/gutenberg#78442) - RTC: Sync the content even if its a function (WordPress/gutenberg#76796) - Theme: Move token structure descriptions into tokens document (WordPress/gutenberg#78438) - Fix persistCRDTDoc minimal save payload (WordPress/gutenberg#77050) - useDialog: handle Escape via React `onKeyDown` so cascade works through portals (WordPress/gutenberg#78433) - Fix inconsistencies in feature selector processing part 1: global styles (WordPress/gutenberg#78276) - Media: Add undo snackbar for media editor image edits (WordPress/gutenberg#78425) - Media Fields: Fix filename truncation with Tooltip (WordPress/gutenberg#78453) - Media Editor Modal: Fix unexpected tab stop on date fields in the Details sidebar (WordPress/gutenberg#78454) - Add experiment to show admin bar in Post and Site Editor (WordPress/gutenberg#77964) - Visually align `Notice` from `@wordpress/components` with `Notice` from `@wordpress/ui` (WordPress/gutenberg#78231) - Widgets: Declare dependencies in a per-widget package.json (WordPress/gutenberg#78463) - Grid: don't allow resizing tile beyond min row height or column width (WordPress/gutenberg#78402) - UI Autocomplete: Fix prop types (WordPress/gutenberg#78450) - @wordpress/ui: Compat overlay slot — viewport-sized containing block (WordPress/gutenberg#78441) - Fix image upload crashes (WordPress/gutenberg#76707) - Theme: Add Tokens "Introduction" Storybook page (WordPress/gutenberg#78449) - Blocks: Share window listeners across instances (block props, rich text, ...) (WordPress/gutenberg#78310) - UI Button: Fix disabled cursor style (WordPress/gutenberg#78479) - Add welcome dashboard widget with adaptive layout and content (WordPress/gutenberg#78461) - Responsive block instance styles (WordPress/gutenberg#78384) - REST: Guard `setAccessible()` behind PHP < 8.1 in block-editor settings controller (WordPress/gutenberg#78478) - Docs: Update iframe editor migration guide for WordPress 7.0/7.1 (WordPress/gutenberg#78401) - Fix inconsistencies in feature selector processing part 2: pseudo block instances (WordPress/gutenberg#78326) - Media Editor Experiments: Tidy up by removing old pathways to the media editor experiment (WordPress/gutenberg#78489) - Compose: Simplify subscribeDelegatedListener root detection (WordPress/gutenberg#78492) - Dashboard: use Page hasPadding prop for content spacing (WordPress/gutenberg#78469) - Grid: hide resize handles and actions while on tile is resizing (WordPress/gutenberg#78391) - Dashboard Widgets: Add content-bleed presentation variant (WordPress/gutenberg#78491) - Dashboard: forbid non-module stylesheets in experimental, new widgets (WordPress/gutenberg#78496) - Revisions: Increase diff marker stripe contrast to 75% primary color proportion (WordPress/gutenberg#78473) - Fix flaky e2e test with dataview kbd navigation (WordPress/gutenberg#78503) - Theme: Update color space registration to avoid side effects (WordPress/gutenberg#77653) - Move PHP Sync Issue Generator file to @wordpress/release-tools (WordPress/gutenberg#78456) - ESLint: Support private API component denylist (WordPress/gutenberg#78451) - Widgets: Add TypeScript project config (WordPress/gutenberg#78467) - Dashboard: small changes to header (WordPress/gutenberg#78513) - Edit post: consume preload cache before React mount (WordPress/gutenberg#78508) - Vips: Remove dead batchResizeImage and vipsBatchResizeImage exports (WordPress/gutenberg#77975) - Automated Testing: Enable concurrency for ESLint (WordPress/gutenberg#78360) - Simplify component ESLint rules and extend to routes/widgets (WordPress/gutenberg#78519) - Image editor: remove unnecessary __nextHasNoMarginBottom prop (WordPress/gutenberg#78530) - RTC: Limit CRDT meta data to REST API edit context (WordPress/gutenberg#78531). - Update plugin release docs and edit for clarity. (WordPress/gutenberg#78537) - Updated the BlockAttribute typedef to allow for multi-type attributes (WordPress/gutenberg#78517) - Refactor media editor crop state into composite reducer (WordPress/gutenberg#78480) - Navigation: Restore block_core_navigation_submenu_render_submenu_icon() as deprecated shim (WordPress/gutenberg#78484) - Font Library: clarify active variant state in Library tab (WordPress/gutenberg#78501) - Guard PHP unit test to avoid failures on old wp versions (WordPress/gutenberg#78547) - Fix block preview for responsive style states (WordPress/gutenberg#78538) - Breadcrumbs block: Hide separator from screen readers (WordPress/gutenberg#78524) - Preload: Backport user global styles entry for classic themes on WP 6.9 (WordPress/gutenberg#78546) - Guidelines: Refine access policy (WordPress/gutenberg#78296) - Fix flaky media upload save lock test (WordPress/gutenberg#78544) - Add `Quick post` widget (WordPress/gutenberg#78408) - Tooltip migration: block-editor + block-directory consumers (1/5) (WordPress/gutenberg#78411) - Navigation: Hard deprecate component (WordPress/gutenberg#78529) - Post Taxonomies: Drop redundant `per_page: -1` from taxonomy queries (WordPress/gutenberg#78569) - Dashboard: add elevation to widget actionable area (WordPress/gutenberg#78563) - Add dashboard Activity widget (WordPress/gutenberg#78552) - Components: Remove deprecated `__experimentalApplyValueToSides` export (WordPress/gutenberg#78528) - IconButton: Fix `focusableWhenDisabled` default (WordPress/gutenberg#78526) - Add cherry-pick script and update release tools in package.json (WordPress/gutenberg#78560) - Theme: Remove and prevent dependency grouping comments (WordPress/gutenberg#78573) - Dashboard: per-instance widget settings drawer (WordPress/gutenberg#78465) - Dashboard Widgets: Adapt Quick Draft to its tile size with a recent drafts list (WordPress/gutenberg#78572) - Add dashboard Site Preview widget (WordPress/gutenberg#78556) - Edit Post Preload: Cover remaining bound GET/OPTIONS requests on load (WordPress/gutenberg#78565) - Several improvements to the Dependabot configuration (WordPress/gutenberg#78536) - Fix: Disable collab sync when incompatible meta boxes are present. (WordPress/gutenberg#78145) - Bump the github-actions group across 2 directories with 6 updates (WordPress/gutenberg#78585) - Editor / Block Editor: Lazy-fetch user pattern categories (WordPress/gutenberg#78568) - RTC: Fix every update block refresh when a peer edits with in the code editor (WordPress/gutenberg#78483) - Edit Post: Hoist setupEditor to run before root.render (WordPress/gutenberg#78581) - Automated Testing: Fix and use built-in mechanism for flagging unused disables (WordPress/gutenberg#78313) - Remove dependency used for counting available CPUs (WordPress/gutenberg#78593) - ESLint: Restrict deprecated __nextHasNoMarginBottom prop (WordPress/gutenberg#78579) - Reset zoom level on component unmount (WordPress/gutenberg#69087) - Add missing package file to the site preview widget (WordPress/gutenberg#78583) - Add dashboard Site Health widget (WordPress/gutenberg#78555) - fix: discard unsaved HTML block changes on cancel (WordPress/gutenberg#78580) - Global styles revisions: ensure stylebook shows revision previews (WordPress/gutenberg#78490) - Docs: Update media editor documentation (WordPress/gutenberg#78617) - RTC: Fix Edit/Join row action invisible on mobile in post list (WordPress/gutenberg#78597) - Grid: animate tile removals (WordPress/gutenberg#78542) - Paste: keep `<img>` inside `<a>` when pasting plain-text HTML (WordPress/gutenberg#78015) - Deduplicate useGlobalStyles hook code (WordPress/gutenberg#78577) - Dashboard: add command palette commands (WordPress/gutenberg#78429) - Docs: Add Workspace Development guide (WordPress/gutenberg#78615) - add default widget instances to dashboard (WordPress/gutenberg#78622) - scale widget picker preview to fill slot (WordPress/gutenberg#78602) - Welcome widget: draw the version number in the banner (WordPress/gutenberg#78611) - Classic Block: Use `get_post()` in `wp_declare_classic_block_necessary` (WordPress/gutenberg#78613) - fix widget content overflowing its grid tile (WordPress/gutenberg#78627) - Fix: Register user-defined taxonomies after user-defined post types (WordPress/gutenberg#78497) - Image: Preserve width/height when converting Classic blocks to blocks (WordPress/gutenberg#78610) - Dashboard: mobile improvements (WordPress/gutenberg#78522) - Grid & Dashboard: polish dashboard drag preview motion, elevation, and drop exit (WordPress/gutenberg#78348) - Welcome widget: add a subtle shine to the version digits (WordPress/gutenberg#78626) - WP Editor Meta Box e2e: wait for TinyMCE init (WordPress/gutenberg#78631) - Quick Draft widget: layout, empty state, and style refinements (WordPress/gutenberg#78601) - Dashboard: Refine widget actionable area toolbar styling (WordPress/gutenberg#78578) - Components: Add Badge text overflow e2e story (WordPress/gutenberg#78589) - UI: Update Autocomplete clear disabled state (WordPress/gutenberg#78520) - Dashboard: tune default grid settings and starter layout (WordPress/gutenberg#78633) - RangeControl: Remove erroneous `icon` prop from web types (WordPress/gutenberg#78444) - UI: Add Button variant states e2e story (WordPress/gutenberg#78634) - DataViews: Fix wrapper height resolution in flex layouts (WordPress/gutenberg#76945) - Tooltip migration: editor + edit-post + edit-site consumers (2/5) (WordPress/gutenberg#78466) - Add dashboard News widget (WordPress/gutenberg#78554) - Add support for layout responsive styles (WordPress/gutenberg#78543) - Build Tools: Move build scripts to `@wordpress/build-scripts` workspace package (WordPress/gutenberg#78509) - Dashboard: fix widget rendering on the masonry grid (WordPress/gutenberg#78645) - Tooltip migration: dataviews consumers (3/5) (WordPress/gutenberg#78470) - Upgrade to React 19 (WordPress/gutenberg#61521) - Dashboard: use fully-specified fast-deep-equal import (WordPress/gutenberg#78660) - Hide block variation selector when style state is selected (WordPress/gutenberg#78658) - Migrate `create-test-block.sh` to `@wordpress/validation-tools` workspace (WordPress/gutenberg#78665) - Docs: Mark React Native mobile editor as unmaintained on trunk after React 19 upgrade (WordPress/gutenberg#78673) - Dashboard: URL bar in site preview widget (WordPress/gutenberg#78656) - UI Button: Fix pressed disabled styles for neutral minimal (WordPress/gutenberg#78635) - Dashboard: prevent pointer events in widget selection (WordPress/gutenberg#78681) - Block Inserter: Animate inserter button icon to signal open state. (WordPress/gutenberg#78306) - Guidelines: Add data-slug attribute to settings list items (WordPress/gutenberg#78676) - Validate additional CSS on mount (WordPress/gutenberg#78682) - Move @emotion deps out of root package.json (WordPress/gutenberg#78687) - Media Editor Modal: Tighten labels for crop handles toggle (WordPress/gutenberg#78703) - Media Editor: make the modal the default crop experience (WordPress/gutenberg#78653) - Media Editor Modal: Update the rotation ruler to use a vertical line marker (WordPress/gutenberg#78704) - Hide image dimension tools when a state is selected (WordPress/gutenberg#78670) - Image cropper: round zoom control values and display as percentages (WordPress/gutenberg#78757) - Media Editor Modal: Try placing the save and cancel buttons in the footer (WordPress/gutenberg#78708) - Unset grid span defaults with viewport states enabled (WordPress/gutenberg#78709) - Media Editor: Remove resize handles toggle from crop panel (WordPress/gutenberg#78758) - Image Editor: focus return after closing image crop modal (WordPress/gutenberg#78711) - Tests: Temporarily disable REST index output-format assertions (WordPress/gutenberg#78788) - Hide Cover overlay controls for viewport states (WordPress/gutenberg#78763) - Update browserslist (WordPress/gutenberg#78840) - e2e-test-utils-playwright: add src to published NPM files (WordPress/gutenberg#78847) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65560. Built from https://develop.svn.wordpress.org/trunk@62583 git-svn-id: http://core.svn.wordpress.org/trunk@61863 1a063a9b-81f0-0310-95a4-ce76da25c4cd



What?
Adds a top-level
presentationfield towidget.jsonso a widget can declare its intended render shape without naming a specific consumer.The dashboard surface honors
'full-bleed'by visually hiding the title header and routing the body throughCard.FullBleed. Other surfaces are free to translate the hint differently or ignore it.Design discussion: #77629.
Part of #77616
Why?
Some widgets are inherently edge-to-edge (image-led hero, embedded canvas) and need to drop the consumer's surrounding chrome unilaterally. The only escape hatch today is for surfaces to special-case widget names, which couples surfaces to specific widgets and defeats the registry.
presentationis an authoring intent expressed by the widget itself: the field describes the widget, not the surface. A surface translates the hint into its own layout model, or ignores it; a surface with no chrome treats both values identically.How?
End-to-end plumbing through the existing widget pipeline:
widget.jsondeclares"presentation": "framed" | "full-bleed"(optional, defaultframed).wp-buildextracts the value into the generated PHP manifest atbuild/widgets/registry.php.gutenberg_register_widget_typespasses it to theWP_Widget_Typeinstance./wp/v2/widget-modulesREST endpoint exposes it (snake_case).WidgetType.presentationshape.WidgetChrometranslatespresentation === 'full-bleed'into:Headerin<VisuallyHidden>so the title stays in the a11y tree and the section'saria-labelledbykeeps pointing to a valid node.<Card.FullBleed>so it spans inline edge-to-edge.Cleanup
Earlier work assumed widget identity types (
WidgetName,WidgetTypeMetadata,WidgetType) would eventually move to a dedicated@wordpress/widget-typespackage, alongside a dedicated store. Widget types now live in a CPT, so that extraction is off the table and the package will never exist. This PR takes the chance to drop the temporary duplication that arrangement implied, and to dedupe thepresentationdeclarations introduced earlier in the same diff:routes/dashboard/widget-dashboard/types.tscollapses to a re-export of the identity types from the canonicalroutes/dashboard/widget-types/types.ts, plus the dashboard-specific types it already owned. TheMIGRATIONcomment block is gone.WP_Widget_Type::PRESENTATION_VALUESis the single PHP source for the allowed values; the REST schema enum and the property docblock both reference it.WidgetModuleRecord.presentationin the resolver derives fromWidgetTypeMetadata['presentation']instead of repeating the union literal.Testing
widgets/hello-world/widget.jsonset to"presentation": "full-bleed": the Hello World tile shows the brand-tinted hero spanning the card's left/right edges; no title header is visible."presentation": "framed"): the title header reappears, and the hero sits inside the card padding with a visible margin around it.Independent of:
widgets/TypeScript scaffolding)Touches
routes/dashboard/widget-types/types.tson a different hunk than the generic-attribute-schemas PR; logically, no conflict.Consumed downstream by the On This Day widget (PR TBD), which declares
"presentation": "full-bleed"in itswidget.json.Follow-ups
schemas/json/widget.jsondoes not yet exist on trunk. When it lands, addpresentationas an optional string property with enum['framed', 'full-bleed'].Card.FullBleedcancels inline padding only. Vertical padding ofCard.Contentremains. Tracked separately (see Remove ZebulanStanphill fromCODEOWNERS#77586).