Repository navigation
DataViews: Add an aspect ratio toggle for grid layouts - #81604
Conversation
|
Size Change: +765 B (+0.01%) Total Size: 7.91 MB 📦 View Changed
|
|
Flaky tests detected in 30720c7. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/32799311537 should open the inspector panel in
|
This is a great starting point.
Not with this design. I like how the white background blends with the model surface, so the images remain prominent. I would love to reach a design that feels as simple as macOS image selection, but I think that will require additional component props we need to design. Just a thought that doesn't block this PR CleanShot.2026-08-14.at.11.24.25.mp4 |
|
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 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. |
7444624 to
e09ec1b
Compare
|
I agree that the checkbox is poorly positioned in this design. If we plan this for 7.2, then let’s continue polishing it. In that vein, iCloud’s example is a good idea, but it works well when the title is center-aligned. Maybe that text style can be a property only for this layout. If we take that route, where the ellipsis button also relocates, do we know if we’re not breaking any accessibility requirement? On the other hand, and to your questions:
I will include it in the dropdown as it’s already a view users might prefer. Taking that setting out is unnecessary.
What do you mean here? I hope my suggestions above respond to this. |
|
Not having strong opinions, noting that possibly the checkbox would be more visible if there was a grey background colour behind the photo inside the border. |
That will not work for cases where the checkbox is placed over the photo and the empty area. |
|
Thanks for the continued discussion folks!
The media modal isn't planned for 7.2 but overhauling the media inserter is (#79729) and we'll need to be able to display images in their own aspect ratio for that one. That said, I'd still like to keep improving the media modal over the 7.2 cycle as it's going to take a while to get this all feeling good!
I'm not too sure, but we can certainly loop in accessibility folks if/when we want to start moving things around or hiding things.
@jasmussen's comment on the linked issue kind of gets to the heart of what still feels off in this PR to me:
The main thing to me is that the checkbox looks okay to me if it is completely covered by the image or if there is spacing around it and the image. Where the checkbox sits flush against an image it makes the whole UI look unbalanced and rough to me. But it can sometimes be hard to capture subjective feelings like this in words 🙂. I don't want to needlessly block my own PR here 😆 but here are some ideas for how we could try to mitigate it: If we added a grey backgroundThis tries to make each grid item feel more like a unit. It doesn't solve the checkbox problem but it potentially makes the whitespace feel a bit less dominating (or more dominating depending on how you look at it 🤔):
If we added a grey background + paddingThis adds some breathing room around the inside of the grid item so that the left edge of the aspect ratio generally sits on the same line as the checkbox and at 4:3 there's a bit of space between the image and the checkbox:
It doesn't always work, though, but here's how that would look across a range of aspect ratios:
What do you both think? Is it worth pursuing any of those ideas, or stick with what we've got so far in this PR? |
Same. Your screenshot's looking pretty good to me! Because this mode is a toggle and opt-in for the consumer we likely have a bit of scope to play around with what we're showing and hiding in this mode. A couple of other considerations:
(The more I look at this the less opinionated I'm getting, so happy to try anything that we think makes sense as a natural step for this feature 😄) |
|
For me, showing or not showing checkboxes has to do with distinguishing between DataViews and DataViewsPicker. The former involves more purposes and therefore might trigger more actions, whereas the latter is for selection only. Unless I'm missing context in the Picker version. Google Photos and iCloud are examples that have good interaction design but fall short in the use cases DataViews and DataViewsPicker support. |
Yeah, I think that's a good distinction. Let's leave exploring hiding the checkbox for follow-ups as that could be a good thing to dig into for the difference between these layout types. (I.e I like the idea that the picker layout is a little simpler) I think that leaves one last question for this PR before we look at the code: do we go with the white background or the grey background? @jasmussen and @fcoveram so far it looks like one of you is for grey and one for white. Do either of you feel strongly about which direction we should go in for now? |
|
I echo the distinction can make sense. But consider also if the Picker is intended to be a light-weight "open file" equivalent, it also needs to, in some cases, open multiple files. The thing is, both of these relate to DataViews, and the checkbox where it sits today both follows industry standards, but also arrived there based on a long design process. I agree with Francisco it looks less ideal in cases where the images show their intrinsic aspect ratio. But my appeal is: let's please explore every other option than moving the checkbox first, because it's a fairly impactful change that I have some concern about. Some alternatives include a different design for the checkbox that features a background or something, a la Google Photos, or even exploring horisontal masonry so the shape of the item itself changes (also Google Photos). But that also related to my comment about adding a grey background, hoping that would be enouigh to let the existing checklist design work: it's a small change that could hopefully let things ship. I'm not strongly opinioned against moving the checklist elsewhere, what I feel strongly is that we have to be sure about what we're doing because it's a key part of DataViews. Is that fair? |
Totally fair! Let's leave the checkboxes as-is for this PR. The main thing I'd like feedback on at this stage is just about the background colours as seen in the images above. Any strong opinions re: white or grey, padding or no padding? This comment has the mockups I put together: #81604 (comment) |
|
I'll ultimately defer to Francisco. But assuming you use the colour tokens, a grey background looks helpful (and fine) to me, honestly. But that doesn't preclude better options existing. |
04b0a2d to
e54e5f4
Compare
ramonjd
left a comment
There was a problem hiding this comment.
Just saying from a code perspective this LGTM
I'll let the design folks give the final 👍🏻
Kapture.2026-08-21.at.16.24.57.mp4
I know this is a subjective preference, but my eyes find the colored/grey background more compartmentalized, making the checkbox stand out more on varying aspect ratios. Also, the checkboxes themselves I could do without. I think users have enough experience to know what they're doing without them.
It's not a big deal and an opinion weakly held 😄
|
Thanks for the code review @ramonjd! I'll leave this open over the weekend to give other folks a chance to weigh-in if they like, but otherwise will plan to merge this early next week.
Same, once this PR lands, I'll play around with some ideas for this separately to see what we can try. |
|
Did we lose the grey background? I know @fcoveram feels a lot about this, so I wonder if we can hold off on merging until he has a chance to chime in. My framing is: if we want this aspect ratio toggle, then this PR seems like the smallest path forward, one that does not preclude us doing something different with the checkboxes in the future. Which may be worth doing regardless so that we can fix #64553 which still persists. |
Yes, you mentioned deferring to Francisco, and his last feedback was a preference for the white background, so I've left this PR as the "white" state, but included screenshots above of the grey version for comparison. Happy to add the grey back in next week if it's preferred! (And apologies if I misread the discussion here 🙂) For anyone testing locally, you can update the background color at this line:
Happy to wait until Francisco's had a look! This isn't at all urgent to get in IMO we've all got lots of other features to go on with 😄
Yes, happy to have a go at that after this PR 👍 |
|
The gray background works well. Let's go with that |
…le showing media previews in their original aspect ratio vs covering the grid item
5b0c85d to
30720c7
Compare
|
Thanks for confirming! Here's how it's looking now:
I went with @ramonjd this might need a very quick 👀 again just to make sure the change I made seems okay (switched to outputting the styles in the SCSS files + conditionally adding the background color when this mode is active so we don't affect any existing DataViews grid layouts out in the wild that might expect the white background) |
| &.has-media-fit-contain .dataviews-view-picker-grid__media { | ||
| background-color: var(--wpds-color-background-surface-neutral); | ||
|
|
||
| img { | ||
| object-fit: contain; | ||
| } | ||
| } |
There was a problem hiding this comment.
LGTM to me to switch both props, and allows more if required. CSS var couldn't do that!
|
Thanks again, all! I'll merge this in once tests pass, and happy to look into follow-ups, too. #64553 / hiding the checkboxes except on hover / focus seems worth digging into 👍 |
This updates the pinned commit hash of the Gutenberg repository from `ae8b34d78e1abc6d1c866fdc00080a1452de82ad ` (version `23.8.0`) to `658c8cbe89db5d90279051d3bb816ca210fe4646` (version `23.9.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.8.0..v23.9.0. - Env: Update git to latest commit when `--update` passed (WordPress/gutenberg#81447) - InputControl: Vertically center date and time input values in Safari (WordPress/gutenberg#81361) - DataViews: vendor `ValidatedComboboxControl` (WordPress/gutenberg#81449) - Icon: Fix margin being applied twice in the editor (WordPress/gutenberg#81292) - Docs: Add Background image control Readme (WordPress/gutenberg#69409) - Dimensions: Fix aspect ratio and scale controls not reflecting external updates (WordPress/gutenberg#80747) - DataViews: vendor `ValidatedFormTokenField` (WordPress/gutenberg#81451) - Docs: Fix dead link in the dynamic blocks tutorial (WordPress/gutenberg#81399) - DataViews: vendor `ValidatedToggleGroupControl` (WordPress/gutenberg#81450) - Update 23.8 release changes on trunk (WordPress/gutenberg#81485) - Adds README for inspector-controls-tabs component (WordPress/gutenberg#69072) - BlockEditVisuallyButton: Update Developer Documentation (WordPress/gutenberg#68987) - Storybook: Upgrade Vite to 8 (WordPress/gutenberg#81494) - Packages: Move unreleased changelog entries out of the 23.8 published versions (WordPress/gutenberg#81502) - Theme: Avoid root-level relational selectors (WordPress/gutenberg#81457) - Theme: Move changelog entry to unreleased (WordPress/gutenberg#81508) - Admin UI: Add Navigation component and Page navigation slot (WordPress/gutenberg#79746) - Editor: Correctly mark ToolsMoreMenuGroup as a private SlotFill (WordPress/gutenberg#81503) - Fix: Term Description block skips display filters inside Terms Query. (WordPress/gutenberg#81290) - DataForm: Fix the datetime control sending two updates per calendar interaction (WordPress/gutenberg#81440) - Editor: Stop `:has()` selectors recalculating the whole document on every block selection (WordPress/gutenberg#81471) - Fix: getQueryArgs discards everything after the second = in a query argument value (WordPress/gutenberg#81066) - DOM: treat a caret at a soft line wrap as an ambiguous position in Firefox (WordPress/gutenberg#81003) - In-between indicator: make symmetric (WordPress/gutenberg#68074) - Fix: Delete key on empty heading transforms following paragraph into heading (WordPress/gutenberg#78779) - Media editor: keep initial modal focus on the dialog frame (WordPress/gutenberg#81541) - Writing flow: select next block on Enter key (WordPress/gutenberg#63484) - Media Editor Route Experiment: Override media edit links to point to the new experimental media editor (WordPress/gutenberg#81559) - DataViews: vendor `ValidatedToggleControl` (WordPress/gutenberg#81492) - Release: Improve changelog categorization (WordPress/gutenberg#81475) - Docs: Add Block Editing Mode Readme. (WordPress/gutenberg#69411) - Editor: Use PluginSidebar in GlobalStylesSidebar (WordPress/gutenberg#81570) - Docs: Fix broken links to the Block API reference guides. (WordPress/gutenberg#81571) - Adds JSdoc for `column` and `columns` block's edit.js (WordPress/gutenberg#68873) - Adds JSdoc for `audio` block's edit.js (WordPress/gutenberg#68865) - Refactor: Convert `createColorHOC` to functional component (WordPress/gutenberg#70408) - Adds JSdoc for `avatar` block's edit.js (WordPress/gutenberg#68867) - Editor: Speed up the hierarchical term selector for large taxonomies (WordPress/gutenberg#81376) - Extensible Site Editor: Preview the site on Home for classic themes (WordPress/gutenberg#81578) - TypeScript: Add typecheck script and split root tsconfig into build and dev solutions (WordPress/gutenberg#81499) - Packages: Split blob, grid, interactivity, and theme tsconfigs (WordPress/gutenberg#81509) - Vitest: Resolve @flakiness/vitest reporter to an absolute path (WordPress/gutenberg#81582) - Update waveform player dependency patch (WordPress/gutenberg#81454) - Dashboard Widgets: promote high-relevance actions into a chrome footer (WordPress/gutenberg#81556) - Extensible Site Editor: Gate theme screens on theme support (WordPress/gutenberg#81581) - Editor: Register the editor keyboard shortcuts from the provider (WordPress/gutenberg#81580) - Base styles: Streamline focus ring override (WordPress/gutenberg#81242) - Components: Align legacy form control focus rings with WPDS (WordPress/gutenberg#80417) - Base Styles: Align `input-control` mixin to design system (WordPress/gutenberg#81357) - Add Gutenberg version details for WordPress 7.1 (WordPress/gutenberg#81600) - Fix viewport state values set by grid resizer (WordPress/gutenberg#81601) - Block editor: add an inserter to the parent selector (WordPress/gutenberg#81532) - url: clamp the truncated file name slice in filterURLForDisplay (WordPress/gutenberg#81529) - Fix parent inserter alignment with text labels enabled (WordPress/gutenberg#81608) - URL: Stop normalizePath throwing on a malformed percent sequence (WordPress/gutenberg#81086) - Extensible Site Editor: Add the Identity route (WordPress/gutenberg#81576) - ComboboxControl: narrow `onChange` callback type to `string` | `null` (WordPress/gutenberg#81568) - Storybook: Add Story for URLPopup component (WordPress/gutenberg#68449) - Extensible Site Editor: Show only the style book on Styles for classic themes (WordPress/gutenberg#81579) - Global Styles: Expose additional elements in Typography and Colors (WordPress/gutenberg#80852) - Storybook: Add Story for BlockPopover (WordPress/gutenberg#68681) - Block Editor: Never spotlight blocks in a preview (WordPress/gutenberg#81615) - Boot: Let the editor canvas navigate between entity records (WordPress/gutenberg#81590) - Block API: Declare block keyboard shortcuts on variations and transforms (WordPress/gutenberg#81588) - Storybook: Add Story for InnerBlocks (WordPress/gutenberg#68651) - Boot: Translate the canvas click-to-edit label (WordPress/gutenberg#81620) - Perf: Report the first block selection as its own metric (WordPress/gutenberg#81616) - Boot: Contain a surface failure to that surface (WordPress/gutenberg#81622) - Boot: Warn before leaving with unsaved changes (WordPress/gutenberg#81625) - Env: Fall back to cached docker images when the registry is unreachable (WordPress/gutenberg#81631) - Editor: Refactor 'ErrorBoundary' to use the new recommended components (WordPress/gutenberg#81638) - Fix playlist track toolbar insertion (WordPress/gutenberg#81639) - Playlist Track: Show upload spinner inline (WordPress/gutenberg#81445) - Admin UI: Fix the primary color of the Fresh admin color scheme (WordPress/gutenberg#81618) - Inner Blocks: Fix bug that caused alignment controls to show in Image blocks within a Gallery (WordPress/gutenberg#81606) - Layout block supports: cast numeric grid attributes before use (WordPress/gutenberg#81560) - Make Back button grid column flexible. (WordPress/gutenberg#81701) - List View: Make focus on mount opt in (WordPress/gutenberg#81659) - Lazy Editor: Render the editor preferences modal (WordPress/gutenberg#81630) - Edit Site Init: Seed the editor preferences the editor expects (WordPress/gutenberg#81628) - Boot: Do not offer to edit a trashed entity (WordPress/gutenberg#81632) - Block API: Address review feedback on block keyboard shortcuts (WordPress/gutenberg#81621) - Editor: Simplify List View sidebar shortcut handling (WordPress/gutenberg#81693) - RichText: Use the current record when handling Enter (WordPress/gutenberg#81696) - Boot: Sync the editor's device preview with the URL (WordPress/gutenberg#81617) - Stop saving Table of Contents output (WordPress/gutenberg#80404) - Lazy Editor: Keep the theme's editor styles on the canvas (WordPress/gutenberg#81747) - List View: Fix flaky global shortcut test and re-enable it (WordPress/gutenberg#81690) - Boot: Preview the site where the canvas has nothing to open (WordPress/gutenberg#81749) - Docs: Require site editor features to land in the extensible site editor too (WordPress/gutenberg#81752) - Build Tools: Stop watcher process trees on shutdown (WordPress/gutenberg#81504) - Update Terrazzo packages to 2.5.0 (WordPress/gutenberg#81082) - Site Editor: Use inverted ThemeProvider seed for portaled UI (WordPress/gutenberg#81653) - Components: Migrate DropdownContentWrapper to SCSS module (WordPress/gutenberg#81522) - Playlist: Add aria-label to prevent placeholder as label (WordPress/gutenberg#81654) - UI: Collapse item-popup item sizing to default and small (WordPress/gutenberg#81354) - Add `__unstable_wp_sync_storage` filter for pluggable storage backends (WordPress/gutenberg#81697) - Bump github/codeql-action/upload-sarif (WordPress/gutenberg#81436) - Feat: support block spacing (WordPress/gutenberg#79689) - Enable axial gap for Group and restrict to flex and grid layouts. (WordPress/gutenberg#81476) - Packages: Split tsconfigs for utility and mid-size packages (WordPress/gutenberg#81514) - Media Editor Route: Make the route look like it's part of the media menu in the left-hand sidebar (WordPress/gutenberg#81565) - Global Styles: filter and indicate blocks that have custom styles (WordPress/gutenberg#81373) - Prevent white screen crash during undo operations when Media Modal is open (WordPress/gutenberg#79898) - Fix clipped focus outlines in the media editor Details sidebar (WordPress/gutenberg#81703) - Fix: URL: normalizePath drops the rest of the query after a second "?" (WordPress/gutenberg#81612) - Block Editor: Add translator context to pseudo-state labels (WordPress/gutenberg#81770) - Global styles: Register <label> as element (WordPress/gutenberg#81160) - Site editor: update template section description. (WordPress/gutenberg#81613) - Fix: Accordion: Anchored hash inside the accordion throws the malformed URL console error (WordPress/gutenberg#81780) - BoxControl: update the opposite side when ALT is held on the left or right input (WordPress/gutenberg#81530) - Tabs: Give tab IDs their own counter so numbering starts at 1 and never skips (WordPress/gutenberg#81781) - Modal: Stop Escape key propagation on dismiss (WordPress/gutenberg#81785) - RTC: Couple RTC and polling provider as an opt-in experiment (WordPress/gutenberg#80658) - ui/Card: Use the default neutral border (WordPress/gutenberg#81746) - Update playlist track placeholder to match aria label (WordPress/gutenberg#81762) - Notes: keep the note actions menu in view for long display names (WordPress/gutenberg#81414) - Fix DataViews list layout color token usage (WordPress/gutenberg#81074) - UI: Add Spinner component (WordPress/gutenberg#81358) - Fields: Export the package stylesheet (WordPress/gutenberg#81769) - Fix the failing e2e test (WordPress/gutenberg#81739) - RTC: Add fallback identities when user profiles are unavailable (WordPress/gutenberg#81408) - Align collaboration migration version markers with the 23.8.0 release (WordPress/gutenberg#81789) - Dashboard: add a Site Health detail page as the dashboard's second route (WordPress/gutenberg#81729) - Dashboard Widgets: resolve widget types without a metadata module (WordPress/gutenberg#81738) - Theme: Improve color ramp contrast safeguards (WordPress/gutenberg#81185) - More block: clarify description about excerpt vs full content (WordPress/gutenberg#80619) - Schemas: Document what the theme.json schema checks (WordPress/gutenberg#81773) - Components, DataViews, Editor, UI: Split tsconfigs into build and dev projects (WordPress/gutenberg#81515) - Command Palette: Allow commands to override the category icon (WordPress/gutenberg#81787) - Fix Broken Links in Package file (WordPress/gutenberg#81700) - Notes: Stop forcing capitalization of user names (WordPress/gutenberg#81788) - Media Editor Route: Add undo/redo and save/cancel actions to the header (WordPress/gutenberg#81563) - Fix: Post Editor: Canvas animates from the left when switching mobile/tablet preview to desktop (WordPress/gutenberg#81484) - Build Package: Use Core's boot module when a plugin has none (WordPress/gutenberg#81761) - Docs: Fix broken link to the Document-Isolation-Policy explainer. (WordPress/gutenberg#81790) - Tests: Make PHPUnit tests independent of test config flags and theme root (WordPress/gutenberg#79159) - Editor: Debounce term filtering and announce results once (WordPress/gutenberg#81422) - Packages: Split story package tsconfigs into build and dev projects (WordPress/gutenberg#81516) - Packages: Complete the tsconfig build and dev project split (WordPress/gutenberg#81517) - TypeScript: Require the typecheck run for type checking in CI (WordPress/gutenberg#81518) - Block Editor: Remove leftover files (WordPress/gutenberg#81793) - Rename the media editor toolbar button to 'Edit image' (WordPress/gutenberg#81705) - Playlist: Remove block toolbar sharing between parent and child blocks (WordPress/gutenberg#81432) - Components: Fix Storybook accessibility issues in stories (WordPress/gutenberg#81777) - Fields: migrate last remaining JS file to TS (WordPress/gutenberg#81808) - Menu: Add UI component (WordPress/gutenberg#79560) - Patterns explorer: Refactor the category sidebar to use Tabs (WordPress/gutenberg#81807) - add context to change "revisions code diff" (WordPress/gutenberg#81820) - Add command: View post (WordPress/gutenberg#66720) - Fix: Post Editor: 403 on /wp/v2/settings at boot for users without manage_options cap (WordPress/gutenberg#81813) - UI: Add initial agents guidance mapping to contributing guidelines (WordPress/gutenberg#81400) - UI: Mark Input-related components as recommended (WordPress/gutenberg#81658) - Post Template: Fix mover arrows and labels for blocks inside the grid view (WordPress/gutenberg#81120) - Docs: Fix broken link to the getEntityRecords selector reference. (WordPress/gutenberg#81791) - Quick Inserter: Standardize the design of the Browse all button (WordPress/gutenberg#81827) - UI: Add TextareaControl component (WordPress/gutenberg#81359) - Docs: Narrow the tsconfig split guidance to the standard layout (WordPress/gutenberg#81828) - Storybook: Fix production build warnings (WordPress/gutenberg#81758) - Components: migrate ResizableBox to SCSS module- WordPress/gutenberg#80720 (WordPress/gutenberg#81792) - Bump astral-sh/setup-uv from 9.0.0 to 10.0.0 in /.github/workflows (WordPress/gutenberg#81823) - Global Styles: Keep storing shadow presets as CSS variables when custom presets exist (WordPress/gutenberg#81346) - Docs: Fix broken skip ahead anchor on the custom block editor guide. (WordPress/gutenberg#81835) - Fix MediaPlaceholder drag eligibility (WordPress/gutenberg#81431) - Updated Aria Landmark Example URL (WordPress/gutenberg#81832) - TypeScript: Put route projects under the typecheck run (WordPress/gutenberg#81829) - Add missing dependency to media-editor route (WordPress/gutenberg#81845) - Add transform to Row for Columns block (WordPress/gutenberg#81802) - Editor: Remove FlexItem usage from NoteCard (WordPress/gutenberg#81851) - UI: Expose keyboard shortcut presentation utilities (WordPress/gutenberg#81826) - Theme: Add color warning diagnostics workbench (WordPress/gutenberg#81817) - Editor: Surface debugging details in the ErrorBoundary (WordPress/gutenberg#81642) - Update save & submit docs (WordPress/gutenberg#81077) - Boot: Migrate styles to CSS Modules (WordPress/gutenberg#81756) - Build: Emit TypeScript declarations with --noCheck (WordPress/gutenberg#81839) - Core Data: Validate the parsed-blocks cache against registered block types (WordPress/gutenberg#81809) - Dependencies: Dedupe, update adm-zip, nx (WordPress/gutenberg#81870) - Core Data: Allow keyless entities to be addressed without a record ID (WordPress/gutenberg#81857) - UI: Mark Autocomplete, Field, and Fieldset as recommended (WordPress/gutenberg#80636) - Editor: Announce publish date changes to screen readers (WordPress/gutenberg#81629) - Storybook: Fix default background color for Example Application theme story (WordPress/gutenberg#81765) - Fix/79641 rtc cursor hidden details block v2 (WordPress/gutenberg#81322) - UI: add ControlWithError component (WordPress/gutenberg#81574) - Global Styles: Group shadow editor rows as items (WordPress/gutenberg#81871) - Storybook: Handle production module load failures (WordPress/gutenberg#81867) - Pattern: Disable visibility support (WordPress/gutenberg#81866) - Design System: Add portable agent skills (WordPress/gutenberg#80597) - Global Styles: Allow editing duotone palettes (WordPress/gutenberg#81605) - Color Palette panel: Remove empty whitespace when there are no theme colors (WordPress/gutenberg#81894) - Try caching gutenberg_get_global_styles (WordPress/gutenberg#81889) - Refactor parameter type hints and clean comments (WordPress/gutenberg#81898) - Preserve layout and style attributes on Column transform (WordPress/gutenberg#81855) - Global Styles: Close the revisions screen on the first back click (WordPress/gutenberg#81897) - Editor: Set the width an entity opens at from the editor provider (WordPress/gutenberg#81750) - Pre-publish panel: Remove the headings that repeat the panel title (WordPress/gutenberg#81806) - Components: migrate ComboboxControl to SCSS module (WordPress/gutenberg#80471) - UI: Update Base UI to 1.7.0 (WordPress/gutenberg#81390) - Update Ariakit packages (0.4.35 => 0.4.37) (WordPress/gutenberg#81080) - chore: Update the combobox SCSS to have a breaking changes log (WordPress/gutenberg#81923) - Use `WCTextareaControl` alias for legacy TextareaControl imports (WordPress/gutenberg#81834) - Components: Improve text detection for button icon-with-text (WordPress/gutenberg#81521) - Font Library: Fix the preview weight for variable fonts (WordPress/gutenberg#81748) - Editor: Migrate hierarchical term selector to @wordpress/ui (WordPress/gutenberg#81848) - Validation: update dependency-audit to 0.4.6 and ignore dataviews ./wp bundle (WordPress/gutenberg#81928) - SearchableChipSelect: Add grouped items support (WordPress/gutenberg#80989) - Use `WCInputControl` alias for legacy InputControl imports (WordPress/gutenberg#81830) - Storybook: Upgrade to 10.5 (WordPress/gutenberg#80692) - Documentation: Update coding guidelines to recommend TypeScript (WordPress/gutenberg#81763) - Font library: Add skeleton loader for the font preview images (WordPress/gutenberg#81047) - Build Scripts: Force tsc --pretty so CI reports the project behind global diagnostics (WordPress/gutenberg#81937) - Update is-plain-object to 5.1.0 (WordPress/gutenberg#81926) - DataViews: Sync the displayed calendar month with external value changes (WordPress/gutenberg#81635) - DataForm: Make the panel layout edit button the real field trigger (WordPress/gutenberg#80689) - Dependency updates Aug 2026 (2) (WordPress/gutenberg#81906) - Playlist: Add bulk track metadata editing (WordPress/gutenberg#81441) - Automated Testing: Change Storybook default a11y test to error on failure (WordPress/gutenberg#81597) - Playlist Track: Improve track upload error flows (WordPress/gutenberg#81878) - Block Library: Fix failing test in playlist block (WordPress/gutenberg#81950) - Block editor: Move isElementVisible changelog entry to Unreleased (WordPress/gutenberg#81953: shail-mehta <shailu25@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> - DataViews: Fix date and datetime controls selecting the adjacent day (WordPress/gutenberg#81498) - UI: Accept locale codes in Calendar components (WordPress/gutenberg#81814) - List: Add Align Support (WordPress/gutenberg#68002) - TypeScript: Bring the remaining route projects under the typecheck run (WordPress/gutenberg#81847) - Components: migrate GradientPicker, ColorPalette to SCSS module (WordPress/gutenberg#80473) - Docs: Align @PARAM tag columns in test/ docblocks (WordPress/gutenberg#81905) - Hide layout panel when no controls are available (WordPress/gutenberg#81968) - UI: Add ValidatedInputControl component (WordPress/gutenberg#81627) - Components: migrate StyledLabel to SCSS module (WordPress/gutenberg#80001) - fix: Button rtl loader issue (WordPress/gutenberg#81901) - Theme: Update Terrazzo packages to 2.7.1 (WordPress/gutenberg#81978) - CollapsibleCard: Support multiple header descriptions (WordPress/gutenberg#81227) - DataViews: use `Menu` from `@wordpress/ui` (WordPress/gutenberg#81783) - DataViews: Localize the date/datetime calendars from the site locale and direction (WordPress/gutenberg#81592) - Replace the Storybook test runner with the Vitest integration (WordPress/gutenberg#81918) - Block Editor: Don't close inserter panel when inline quick inserter opens (WordPress/gutenberg#76241) - Updated broken links in document files (WordPress/gutenberg#81961) - Boot: Mount the registered plugins (WordPress/gutenberg#81754) - Extensible Site Editor: Add a theme preview page with global styles editing (WordPress/gutenberg#81954) - Block Styles: Refactor the variation UI to use ui/Button (WordPress/gutenberg#81833) - Styles Route: Reference the api-fetch and html-entities projects (WordPress/gutenberg#81989) - Fix: Line Break Tags Added to Scripts and Styles (WordPress/gutenberg#77542) - Fix: skip empty block markup in navigation to prevent split UL elements (WordPress/gutenberg#78793) - Pattern List: Import a pattern from JSON (WordPress/gutenberg#81919) - UI: Add tooltips to Calendar and RangeCalendar navigation buttons (WordPress/gutenberg#81983) - UI: Add `ValidatedTextArea` control (WordPress/gutenberg#81984) - Fix: Responsive styles: When enabled and a font-size is setting, the corresponding CSS variable remains undefined (WordPress/gutenberg#81854) - Components: Migrate `TextareaControl` to SCSS module (WordPress/gutenberg#81353) - UI: Set Calendar text direction automatically (WordPress/gutenberg#81982) - Theme: Rename ThemeProvider wrapper CSS class from root to wrapper (WordPress/gutenberg#81996) - Editor: Offer the theme export from both site editors (WordPress/gutenberg#81992) - Fix: Stop stripping spaces inside inline HTML elements on paste (WordPress/gutenberg#76696) - DataViews: Add a lint rule preventing private API imports (WordPress/gutenberg#81478) - Components: Migrate ProgressBar styles from Emotion to SCSS module (WordPress/gutenberg#80512) - RTC: Disable syncing for unpersistable post types (WordPress/gutenberg#81946) - Boot: Restore centered snackbar notices (WordPress/gutenberg#81995) - BorderControl, BorderBoxControl: Migrate styles to CSS Modules (WordPress/gutenberg#80437) - Duotone Picker: Stop the duotone bar offering to move its control points (WordPress/gutenberg#81850) - DataViews: Add an aspect ratio toggle for grid layouts (WordPress/gutenberg#81604) - Remove `fixable` on `i18n-no-flanking-whitespace` (WordPress/gutenberg#70279) - Dynamic Gallery block: Skip transforms that expect inner blocks, e.g. Image and Grid transforms (WordPress/gutenberg#82009) - Accordion Heading: Route theme.json spacing to the toggle button (WordPress/gutenberg#81976) - Element: Serialize memo-wrapped components instead of an empty string (WordPress/gutenberg#81986) - Style: Update color to use CSS variable in global-styles-ui (WordPress/gutenberg#79053) - Dashboard Widgets: let the host decide which component renders an action link (WordPress/gutenberg#81740) - Tabs: make inactive panel content findable in page (WordPress/gutenberg#81743) - Border Panel: Fix incorrect panel label (WordPress/gutenberg#78830) - Components: Migrate ZStack styles from Emotion to SCSS module (WordPress/gutenberg#80514) - Storybook: Add missing @types/jest devDependency (WordPress/gutenberg#82017) - TypeScript: Drop redundant undefined casts for keyless entity record IDs (WordPress/gutenberg#82018) - Editor: Fix start page/template modal footer overflow (WordPress/gutenberg#82021) - Storybook: Keep Vitest story scanning independent of the Vite root (WordPress/gutenberg#82020) - Test: Port shared Vitest test environment (WordPress/gutenberg#81038) - Query No Results: Add Border & Spacing Support (WordPress/gutenberg#64601) - RadioControl: allow individual options to be disabled (WordPress/gutenberg#82026) - Components: Migrate `BoxControl` to SCSS module (WordPress/gutenberg#80715) - SearchableChipSelectControl: Add form control to @wordpress/ui (WordPress/gutenberg#80980) - UI: Move controlled prop guidance to contributing docs (WordPress/gutenberg#82044) - Components: Migrate Scrollable to SCSS module (WordPress/gutenberg#80694) - UI: Fix accessibility issues in form primitives and their stories (WordPress/gutenberg#81853) - UI: Align Calendar styling with WPDS tokens (WordPress/gutenberg#81438) - Calendar: Support custom root roles (WordPress/gutenberg#81443) - E2E Tests: Use str_starts_with()/str_contains() in hide-user-rest-routes plugin (WordPress/gutenberg#82030) - Site editor v2: Fix block error with navigation-edit route (WordPress/gutenberg#82051) - ActionItem: Move the more menu deduplication out of the Slot (WordPress/gutenberg#81507) - DataViews: Fix invisible sticky Actions column divider (WordPress/gutenberg#82055) - Quick draft: replace Button+Link with LinkButton (WordPress/gutenberg#82031) - Lint: Prevent private API imports in all bundled packages (WordPress/gutenberg#82015) - PaletteEdit: Expose palette swatches as command buttons (WordPress/gutenberg#82023) - Test: Add Vitest React, Emotion compilation, console, and snapshot parity (WordPress/gutenberg#81039) - remove dead class reference in quick-draft (WordPress/gutenberg#82064) - `InputControl`: Hide the value-like placeholder Safari renders in empty date and time inputs in `ui` and `components` packages (WordPress/gutenberg#81991) - Site editor v2: Fix template part list pagination and sorting (WordPress/gutenberg#82054) - Build: Fix ESM declaration resolution (WordPress/gutenberg#82022) - Core Data: Stop storing NaN pagination totals for unpaginated endpoints (WordPress/gutenberg#82059) - Dashboard widgets & Grid: use kebab-case for CSS selectors (WordPress/gutenberg#82053) - CI: Skip the package CHANGELOG check when only the CHANGELOG changed (WordPress/gutenberg#82069) - Menu: Close non-modal menus on iframe interaction (WordPress/gutenberg#81952) - Packages: Recover August 26 npm release metadata (WordPress/gutenberg#82086) - Private APIs: Add back '@wordpress/dataviews' to the allowed core modules (WordPress/gutenberg#82221) Fixes #66067. git-svn-id: https://develop.svn.wordpress.org/trunk@63535 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `ae8b34d78e1abc6d1c866fdc00080a1452de82ad ` (version `23.8.0`) to `658c8cbe89db5d90279051d3bb816ca210fe4646` (version `23.9.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.8.0..v23.9.0. - Env: Update git to latest commit when `--update` passed (WordPress/gutenberg#81447) - InputControl: Vertically center date and time input values in Safari (WordPress/gutenberg#81361) - DataViews: vendor `ValidatedComboboxControl` (WordPress/gutenberg#81449) - Icon: Fix margin being applied twice in the editor (WordPress/gutenberg#81292) - Docs: Add Background image control Readme (WordPress/gutenberg#69409) - Dimensions: Fix aspect ratio and scale controls not reflecting external updates (WordPress/gutenberg#80747) - DataViews: vendor `ValidatedFormTokenField` (WordPress/gutenberg#81451) - Docs: Fix dead link in the dynamic blocks tutorial (WordPress/gutenberg#81399) - DataViews: vendor `ValidatedToggleGroupControl` (WordPress/gutenberg#81450) - Update 23.8 release changes on trunk (WordPress/gutenberg#81485) - Adds README for inspector-controls-tabs component (WordPress/gutenberg#69072) - BlockEditVisuallyButton: Update Developer Documentation (WordPress/gutenberg#68987) - Storybook: Upgrade Vite to 8 (WordPress/gutenberg#81494) - Packages: Move unreleased changelog entries out of the 23.8 published versions (WordPress/gutenberg#81502) - Theme: Avoid root-level relational selectors (WordPress/gutenberg#81457) - Theme: Move changelog entry to unreleased (WordPress/gutenberg#81508) - Admin UI: Add Navigation component and Page navigation slot (WordPress/gutenberg#79746) - Editor: Correctly mark ToolsMoreMenuGroup as a private SlotFill (WordPress/gutenberg#81503) - Fix: Term Description block skips display filters inside Terms Query. (WordPress/gutenberg#81290) - DataForm: Fix the datetime control sending two updates per calendar interaction (WordPress/gutenberg#81440) - Editor: Stop `:has()` selectors recalculating the whole document on every block selection (WordPress/gutenberg#81471) - Fix: getQueryArgs discards everything after the second = in a query argument value (WordPress/gutenberg#81066) - DOM: treat a caret at a soft line wrap as an ambiguous position in Firefox (WordPress/gutenberg#81003) - In-between indicator: make symmetric (WordPress/gutenberg#68074) - Fix: Delete key on empty heading transforms following paragraph into heading (WordPress/gutenberg#78779) - Media editor: keep initial modal focus on the dialog frame (WordPress/gutenberg#81541) - Writing flow: select next block on Enter key (WordPress/gutenberg#63484) - Media Editor Route Experiment: Override media edit links to point to the new experimental media editor (WordPress/gutenberg#81559) - DataViews: vendor `ValidatedToggleControl` (WordPress/gutenberg#81492) - Release: Improve changelog categorization (WordPress/gutenberg#81475) - Docs: Add Block Editing Mode Readme. (WordPress/gutenberg#69411) - Editor: Use PluginSidebar in GlobalStylesSidebar (WordPress/gutenberg#81570) - Docs: Fix broken links to the Block API reference guides. (WordPress/gutenberg#81571) - Adds JSdoc for `column` and `columns` block's edit.js (WordPress/gutenberg#68873) - Adds JSdoc for `audio` block's edit.js (WordPress/gutenberg#68865) - Refactor: Convert `createColorHOC` to functional component (WordPress/gutenberg#70408) - Adds JSdoc for `avatar` block's edit.js (WordPress/gutenberg#68867) - Editor: Speed up the hierarchical term selector for large taxonomies (WordPress/gutenberg#81376) - Extensible Site Editor: Preview the site on Home for classic themes (WordPress/gutenberg#81578) - TypeScript: Add typecheck script and split root tsconfig into build and dev solutions (WordPress/gutenberg#81499) - Packages: Split blob, grid, interactivity, and theme tsconfigs (WordPress/gutenberg#81509) - Vitest: Resolve @flakiness/vitest reporter to an absolute path (WordPress/gutenberg#81582) - Update waveform player dependency patch (WordPress/gutenberg#81454) - Dashboard Widgets: promote high-relevance actions into a chrome footer (WordPress/gutenberg#81556) - Extensible Site Editor: Gate theme screens on theme support (WordPress/gutenberg#81581) - Editor: Register the editor keyboard shortcuts from the provider (WordPress/gutenberg#81580) - Base styles: Streamline focus ring override (WordPress/gutenberg#81242) - Components: Align legacy form control focus rings with WPDS (WordPress/gutenberg#80417) - Base Styles: Align `input-control` mixin to design system (WordPress/gutenberg#81357) - Add Gutenberg version details for WordPress 7.1 (WordPress/gutenberg#81600) - Fix viewport state values set by grid resizer (WordPress/gutenberg#81601) - Block editor: add an inserter to the parent selector (WordPress/gutenberg#81532) - url: clamp the truncated file name slice in filterURLForDisplay (WordPress/gutenberg#81529) - Fix parent inserter alignment with text labels enabled (WordPress/gutenberg#81608) - URL: Stop normalizePath throwing on a malformed percent sequence (WordPress/gutenberg#81086) - Extensible Site Editor: Add the Identity route (WordPress/gutenberg#81576) - ComboboxControl: narrow `onChange` callback type to `string` | `null` (WordPress/gutenberg#81568) - Storybook: Add Story for URLPopup component (WordPress/gutenberg#68449) - Extensible Site Editor: Show only the style book on Styles for classic themes (WordPress/gutenberg#81579) - Global Styles: Expose additional elements in Typography and Colors (WordPress/gutenberg#80852) - Storybook: Add Story for BlockPopover (WordPress/gutenberg#68681) - Block Editor: Never spotlight blocks in a preview (WordPress/gutenberg#81615) - Boot: Let the editor canvas navigate between entity records (WordPress/gutenberg#81590) - Block API: Declare block keyboard shortcuts on variations and transforms (WordPress/gutenberg#81588) - Storybook: Add Story for InnerBlocks (WordPress/gutenberg#68651) - Boot: Translate the canvas click-to-edit label (WordPress/gutenberg#81620) - Perf: Report the first block selection as its own metric (WordPress/gutenberg#81616) - Boot: Contain a surface failure to that surface (WordPress/gutenberg#81622) - Boot: Warn before leaving with unsaved changes (WordPress/gutenberg#81625) - Env: Fall back to cached docker images when the registry is unreachable (WordPress/gutenberg#81631) - Editor: Refactor 'ErrorBoundary' to use the new recommended components (WordPress/gutenberg#81638) - Fix playlist track toolbar insertion (WordPress/gutenberg#81639) - Playlist Track: Show upload spinner inline (WordPress/gutenberg#81445) - Admin UI: Fix the primary color of the Fresh admin color scheme (WordPress/gutenberg#81618) - Inner Blocks: Fix bug that caused alignment controls to show in Image blocks within a Gallery (WordPress/gutenberg#81606) - Layout block supports: cast numeric grid attributes before use (WordPress/gutenberg#81560) - Make Back button grid column flexible. (WordPress/gutenberg#81701) - List View: Make focus on mount opt in (WordPress/gutenberg#81659) - Lazy Editor: Render the editor preferences modal (WordPress/gutenberg#81630) - Edit Site Init: Seed the editor preferences the editor expects (WordPress/gutenberg#81628) - Boot: Do not offer to edit a trashed entity (WordPress/gutenberg#81632) - Block API: Address review feedback on block keyboard shortcuts (WordPress/gutenberg#81621) - Editor: Simplify List View sidebar shortcut handling (WordPress/gutenberg#81693) - RichText: Use the current record when handling Enter (WordPress/gutenberg#81696) - Boot: Sync the editor's device preview with the URL (WordPress/gutenberg#81617) - Stop saving Table of Contents output (WordPress/gutenberg#80404) - Lazy Editor: Keep the theme's editor styles on the canvas (WordPress/gutenberg#81747) - List View: Fix flaky global shortcut test and re-enable it (WordPress/gutenberg#81690) - Boot: Preview the site where the canvas has nothing to open (WordPress/gutenberg#81749) - Docs: Require site editor features to land in the extensible site editor too (WordPress/gutenberg#81752) - Build Tools: Stop watcher process trees on shutdown (WordPress/gutenberg#81504) - Update Terrazzo packages to 2.5.0 (WordPress/gutenberg#81082) - Site Editor: Use inverted ThemeProvider seed for portaled UI (WordPress/gutenberg#81653) - Components: Migrate DropdownContentWrapper to SCSS module (WordPress/gutenberg#81522) - Playlist: Add aria-label to prevent placeholder as label (WordPress/gutenberg#81654) - UI: Collapse item-popup item sizing to default and small (WordPress/gutenberg#81354) - Add `__unstable_wp_sync_storage` filter for pluggable storage backends (WordPress/gutenberg#81697) - Bump github/codeql-action/upload-sarif (WordPress/gutenberg#81436) - Feat: support block spacing (WordPress/gutenberg#79689) - Enable axial gap for Group and restrict to flex and grid layouts. (WordPress/gutenberg#81476) - Packages: Split tsconfigs for utility and mid-size packages (WordPress/gutenberg#81514) - Media Editor Route: Make the route look like it's part of the media menu in the left-hand sidebar (WordPress/gutenberg#81565) - Global Styles: filter and indicate blocks that have custom styles (WordPress/gutenberg#81373) - Prevent white screen crash during undo operations when Media Modal is open (WordPress/gutenberg#79898) - Fix clipped focus outlines in the media editor Details sidebar (WordPress/gutenberg#81703) - Fix: URL: normalizePath drops the rest of the query after a second "?" (WordPress/gutenberg#81612) - Block Editor: Add translator context to pseudo-state labels (WordPress/gutenberg#81770) - Global styles: Register <label> as element (WordPress/gutenberg#81160) - Site editor: update template section description. (WordPress/gutenberg#81613) - Fix: Accordion: Anchored hash inside the accordion throws the malformed URL console error (WordPress/gutenberg#81780) - BoxControl: update the opposite side when ALT is held on the left or right input (WordPress/gutenberg#81530) - Tabs: Give tab IDs their own counter so numbering starts at 1 and never skips (WordPress/gutenberg#81781) - Modal: Stop Escape key propagation on dismiss (WordPress/gutenberg#81785) - RTC: Couple RTC and polling provider as an opt-in experiment (WordPress/gutenberg#80658) - ui/Card: Use the default neutral border (WordPress/gutenberg#81746) - Update playlist track placeholder to match aria label (WordPress/gutenberg#81762) - Notes: keep the note actions menu in view for long display names (WordPress/gutenberg#81414) - Fix DataViews list layout color token usage (WordPress/gutenberg#81074) - UI: Add Spinner component (WordPress/gutenberg#81358) - Fields: Export the package stylesheet (WordPress/gutenberg#81769) - Fix the failing e2e test (WordPress/gutenberg#81739) - RTC: Add fallback identities when user profiles are unavailable (WordPress/gutenberg#81408) - Align collaboration migration version markers with the 23.8.0 release (WordPress/gutenberg#81789) - Dashboard: add a Site Health detail page as the dashboard's second route (WordPress/gutenberg#81729) - Dashboard Widgets: resolve widget types without a metadata module (WordPress/gutenberg#81738) - Theme: Improve color ramp contrast safeguards (WordPress/gutenberg#81185) - More block: clarify description about excerpt vs full content (WordPress/gutenberg#80619) - Schemas: Document what the theme.json schema checks (WordPress/gutenberg#81773) - Components, DataViews, Editor, UI: Split tsconfigs into build and dev projects (WordPress/gutenberg#81515) - Command Palette: Allow commands to override the category icon (WordPress/gutenberg#81787) - Fix Broken Links in Package file (WordPress/gutenberg#81700) - Notes: Stop forcing capitalization of user names (WordPress/gutenberg#81788) - Media Editor Route: Add undo/redo and save/cancel actions to the header (WordPress/gutenberg#81563) - Fix: Post Editor: Canvas animates from the left when switching mobile/tablet preview to desktop (WordPress/gutenberg#81484) - Build Package: Use Core's boot module when a plugin has none (WordPress/gutenberg#81761) - Docs: Fix broken link to the Document-Isolation-Policy explainer. (WordPress/gutenberg#81790) - Tests: Make PHPUnit tests independent of test config flags and theme root (WordPress/gutenberg#79159) - Editor: Debounce term filtering and announce results once (WordPress/gutenberg#81422) - Packages: Split story package tsconfigs into build and dev projects (WordPress/gutenberg#81516) - Packages: Complete the tsconfig build and dev project split (WordPress/gutenberg#81517) - TypeScript: Require the typecheck run for type checking in CI (WordPress/gutenberg#81518) - Block Editor: Remove leftover files (WordPress/gutenberg#81793) - Rename the media editor toolbar button to 'Edit image' (WordPress/gutenberg#81705) - Playlist: Remove block toolbar sharing between parent and child blocks (WordPress/gutenberg#81432) - Components: Fix Storybook accessibility issues in stories (WordPress/gutenberg#81777) - Fields: migrate last remaining JS file to TS (WordPress/gutenberg#81808) - Menu: Add UI component (WordPress/gutenberg#79560) - Patterns explorer: Refactor the category sidebar to use Tabs (WordPress/gutenberg#81807) - add context to change "revisions code diff" (WordPress/gutenberg#81820) - Add command: View post (WordPress/gutenberg#66720) - Fix: Post Editor: 403 on /wp/v2/settings at boot for users without manage_options cap (WordPress/gutenberg#81813) - UI: Add initial agents guidance mapping to contributing guidelines (WordPress/gutenberg#81400) - UI: Mark Input-related components as recommended (WordPress/gutenberg#81658) - Post Template: Fix mover arrows and labels for blocks inside the grid view (WordPress/gutenberg#81120) - Docs: Fix broken link to the getEntityRecords selector reference. (WordPress/gutenberg#81791) - Quick Inserter: Standardize the design of the Browse all button (WordPress/gutenberg#81827) - UI: Add TextareaControl component (WordPress/gutenberg#81359) - Docs: Narrow the tsconfig split guidance to the standard layout (WordPress/gutenberg#81828) - Storybook: Fix production build warnings (WordPress/gutenberg#81758) - Components: migrate ResizableBox to SCSS module- WordPress/gutenberg#80720 (WordPress/gutenberg#81792) - Bump astral-sh/setup-uv from 9.0.0 to 10.0.0 in /.github/workflows (WordPress/gutenberg#81823) - Global Styles: Keep storing shadow presets as CSS variables when custom presets exist (WordPress/gutenberg#81346) - Docs: Fix broken skip ahead anchor on the custom block editor guide. (WordPress/gutenberg#81835) - Fix MediaPlaceholder drag eligibility (WordPress/gutenberg#81431) - Updated Aria Landmark Example URL (WordPress/gutenberg#81832) - TypeScript: Put route projects under the typecheck run (WordPress/gutenberg#81829) - Add missing dependency to media-editor route (WordPress/gutenberg#81845) - Add transform to Row for Columns block (WordPress/gutenberg#81802) - Editor: Remove FlexItem usage from NoteCard (WordPress/gutenberg#81851) - UI: Expose keyboard shortcut presentation utilities (WordPress/gutenberg#81826) - Theme: Add color warning diagnostics workbench (WordPress/gutenberg#81817) - Editor: Surface debugging details in the ErrorBoundary (WordPress/gutenberg#81642) - Update save & submit docs (WordPress/gutenberg#81077) - Boot: Migrate styles to CSS Modules (WordPress/gutenberg#81756) - Build: Emit TypeScript declarations with --noCheck (WordPress/gutenberg#81839) - Core Data: Validate the parsed-blocks cache against registered block types (WordPress/gutenberg#81809) - Dependencies: Dedupe, update adm-zip, nx (WordPress/gutenberg#81870) - Core Data: Allow keyless entities to be addressed without a record ID (WordPress/gutenberg#81857) - UI: Mark Autocomplete, Field, and Fieldset as recommended (WordPress/gutenberg#80636) - Editor: Announce publish date changes to screen readers (WordPress/gutenberg#81629) - Storybook: Fix default background color for Example Application theme story (WordPress/gutenberg#81765) - Fix/79641 rtc cursor hidden details block v2 (WordPress/gutenberg#81322) - UI: add ControlWithError component (WordPress/gutenberg#81574) - Global Styles: Group shadow editor rows as items (WordPress/gutenberg#81871) - Storybook: Handle production module load failures (WordPress/gutenberg#81867) - Pattern: Disable visibility support (WordPress/gutenberg#81866) - Design System: Add portable agent skills (WordPress/gutenberg#80597) - Global Styles: Allow editing duotone palettes (WordPress/gutenberg#81605) - Color Palette panel: Remove empty whitespace when there are no theme colors (WordPress/gutenberg#81894) - Try caching gutenberg_get_global_styles (WordPress/gutenberg#81889) - Refactor parameter type hints and clean comments (WordPress/gutenberg#81898) - Preserve layout and style attributes on Column transform (WordPress/gutenberg#81855) - Global Styles: Close the revisions screen on the first back click (WordPress/gutenberg#81897) - Editor: Set the width an entity opens at from the editor provider (WordPress/gutenberg#81750) - Pre-publish panel: Remove the headings that repeat the panel title (WordPress/gutenberg#81806) - Components: migrate ComboboxControl to SCSS module (WordPress/gutenberg#80471) - UI: Update Base UI to 1.7.0 (WordPress/gutenberg#81390) - Update Ariakit packages (0.4.35 => 0.4.37) (WordPress/gutenberg#81080) - chore: Update the combobox SCSS to have a breaking changes log (WordPress/gutenberg#81923) - Use `WCTextareaControl` alias for legacy TextareaControl imports (WordPress/gutenberg#81834) - Components: Improve text detection for button icon-with-text (WordPress/gutenberg#81521) - Font Library: Fix the preview weight for variable fonts (WordPress/gutenberg#81748) - Editor: Migrate hierarchical term selector to @wordpress/ui (WordPress/gutenberg#81848) - Validation: update dependency-audit to 0.4.6 and ignore dataviews ./wp bundle (WordPress/gutenberg#81928) - SearchableChipSelect: Add grouped items support (WordPress/gutenberg#80989) - Use `WCInputControl` alias for legacy InputControl imports (WordPress/gutenberg#81830) - Storybook: Upgrade to 10.5 (WordPress/gutenberg#80692) - Documentation: Update coding guidelines to recommend TypeScript (WordPress/gutenberg#81763) - Font library: Add skeleton loader for the font preview images (WordPress/gutenberg#81047) - Build Scripts: Force tsc --pretty so CI reports the project behind global diagnostics (WordPress/gutenberg#81937) - Update is-plain-object to 5.1.0 (WordPress/gutenberg#81926) - DataViews: Sync the displayed calendar month with external value changes (WordPress/gutenberg#81635) - DataForm: Make the panel layout edit button the real field trigger (WordPress/gutenberg#80689) - Dependency updates Aug 2026 (2) (WordPress/gutenberg#81906) - Playlist: Add bulk track metadata editing (WordPress/gutenberg#81441) - Automated Testing: Change Storybook default a11y test to error on failure (WordPress/gutenberg#81597) - Playlist Track: Improve track upload error flows (WordPress/gutenberg#81878) - Block Library: Fix failing test in playlist block (WordPress/gutenberg#81950) - Block editor: Move isElementVisible changelog entry to Unreleased (WordPress/gutenberg#81953: shail-mehta <shailu25@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> - DataViews: Fix date and datetime controls selecting the adjacent day (WordPress/gutenberg#81498) - UI: Accept locale codes in Calendar components (WordPress/gutenberg#81814) - List: Add Align Support (WordPress/gutenberg#68002) - TypeScript: Bring the remaining route projects under the typecheck run (WordPress/gutenberg#81847) - Components: migrate GradientPicker, ColorPalette to SCSS module (WordPress/gutenberg#80473) - Docs: Align @PARAM tag columns in test/ docblocks (WordPress/gutenberg#81905) - Hide layout panel when no controls are available (WordPress/gutenberg#81968) - UI: Add ValidatedInputControl component (WordPress/gutenberg#81627) - Components: migrate StyledLabel to SCSS module (WordPress/gutenberg#80001) - fix: Button rtl loader issue (WordPress/gutenberg#81901) - Theme: Update Terrazzo packages to 2.7.1 (WordPress/gutenberg#81978) - CollapsibleCard: Support multiple header descriptions (WordPress/gutenberg#81227) - DataViews: use `Menu` from `@wordpress/ui` (WordPress/gutenberg#81783) - DataViews: Localize the date/datetime calendars from the site locale and direction (WordPress/gutenberg#81592) - Replace the Storybook test runner with the Vitest integration (WordPress/gutenberg#81918) - Block Editor: Don't close inserter panel when inline quick inserter opens (WordPress/gutenberg#76241) - Updated broken links in document files (WordPress/gutenberg#81961) - Boot: Mount the registered plugins (WordPress/gutenberg#81754) - Extensible Site Editor: Add a theme preview page with global styles editing (WordPress/gutenberg#81954) - Block Styles: Refactor the variation UI to use ui/Button (WordPress/gutenberg#81833) - Styles Route: Reference the api-fetch and html-entities projects (WordPress/gutenberg#81989) - Fix: Line Break Tags Added to Scripts and Styles (WordPress/gutenberg#77542) - Fix: skip empty block markup in navigation to prevent split UL elements (WordPress/gutenberg#78793) - Pattern List: Import a pattern from JSON (WordPress/gutenberg#81919) - UI: Add tooltips to Calendar and RangeCalendar navigation buttons (WordPress/gutenberg#81983) - UI: Add `ValidatedTextArea` control (WordPress/gutenberg#81984) - Fix: Responsive styles: When enabled and a font-size is setting, the corresponding CSS variable remains undefined (WordPress/gutenberg#81854) - Components: Migrate `TextareaControl` to SCSS module (WordPress/gutenberg#81353) - UI: Set Calendar text direction automatically (WordPress/gutenberg#81982) - Theme: Rename ThemeProvider wrapper CSS class from root to wrapper (WordPress/gutenberg#81996) - Editor: Offer the theme export from both site editors (WordPress/gutenberg#81992) - Fix: Stop stripping spaces inside inline HTML elements on paste (WordPress/gutenberg#76696) - DataViews: Add a lint rule preventing private API imports (WordPress/gutenberg#81478) - Components: Migrate ProgressBar styles from Emotion to SCSS module (WordPress/gutenberg#80512) - RTC: Disable syncing for unpersistable post types (WordPress/gutenberg#81946) - Boot: Restore centered snackbar notices (WordPress/gutenberg#81995) - BorderControl, BorderBoxControl: Migrate styles to CSS Modules (WordPress/gutenberg#80437) - Duotone Picker: Stop the duotone bar offering to move its control points (WordPress/gutenberg#81850) - DataViews: Add an aspect ratio toggle for grid layouts (WordPress/gutenberg#81604) - Remove `fixable` on `i18n-no-flanking-whitespace` (WordPress/gutenberg#70279) - Dynamic Gallery block: Skip transforms that expect inner blocks, e.g. Image and Grid transforms (WordPress/gutenberg#82009) - Accordion Heading: Route theme.json spacing to the toggle button (WordPress/gutenberg#81976) - Element: Serialize memo-wrapped components instead of an empty string (WordPress/gutenberg#81986) - Style: Update color to use CSS variable in global-styles-ui (WordPress/gutenberg#79053) - Dashboard Widgets: let the host decide which component renders an action link (WordPress/gutenberg#81740) - Tabs: make inactive panel content findable in page (WordPress/gutenberg#81743) - Border Panel: Fix incorrect panel label (WordPress/gutenberg#78830) - Components: Migrate ZStack styles from Emotion to SCSS module (WordPress/gutenberg#80514) - Storybook: Add missing @types/jest devDependency (WordPress/gutenberg#82017) - TypeScript: Drop redundant undefined casts for keyless entity record IDs (WordPress/gutenberg#82018) - Editor: Fix start page/template modal footer overflow (WordPress/gutenberg#82021) - Storybook: Keep Vitest story scanning independent of the Vite root (WordPress/gutenberg#82020) - Test: Port shared Vitest test environment (WordPress/gutenberg#81038) - Query No Results: Add Border & Spacing Support (WordPress/gutenberg#64601) - RadioControl: allow individual options to be disabled (WordPress/gutenberg#82026) - Components: Migrate `BoxControl` to SCSS module (WordPress/gutenberg#80715) - SearchableChipSelectControl: Add form control to @wordpress/ui (WordPress/gutenberg#80980) - UI: Move controlled prop guidance to contributing docs (WordPress/gutenberg#82044) - Components: Migrate Scrollable to SCSS module (WordPress/gutenberg#80694) - UI: Fix accessibility issues in form primitives and their stories (WordPress/gutenberg#81853) - UI: Align Calendar styling with WPDS tokens (WordPress/gutenberg#81438) - Calendar: Support custom root roles (WordPress/gutenberg#81443) - E2E Tests: Use str_starts_with()/str_contains() in hide-user-rest-routes plugin (WordPress/gutenberg#82030) - Site editor v2: Fix block error with navigation-edit route (WordPress/gutenberg#82051) - ActionItem: Move the more menu deduplication out of the Slot (WordPress/gutenberg#81507) - DataViews: Fix invisible sticky Actions column divider (WordPress/gutenberg#82055) - Quick draft: replace Button+Link with LinkButton (WordPress/gutenberg#82031) - Lint: Prevent private API imports in all bundled packages (WordPress/gutenberg#82015) - PaletteEdit: Expose palette swatches as command buttons (WordPress/gutenberg#82023) - Test: Add Vitest React, Emotion compilation, console, and snapshot parity (WordPress/gutenberg#81039) - remove dead class reference in quick-draft (WordPress/gutenberg#82064) - `InputControl`: Hide the value-like placeholder Safari renders in empty date and time inputs in `ui` and `components` packages (WordPress/gutenberg#81991) - Site editor v2: Fix template part list pagination and sorting (WordPress/gutenberg#82054) - Build: Fix ESM declaration resolution (WordPress/gutenberg#82022) - Core Data: Stop storing NaN pagination totals for unpaginated endpoints (WordPress/gutenberg#82059) - Dashboard widgets & Grid: use kebab-case for CSS selectors (WordPress/gutenberg#82053) - CI: Skip the package CHANGELOG check when only the CHANGELOG changed (WordPress/gutenberg#82069) - Menu: Close non-modal menus on iframe interaction (WordPress/gutenberg#81952) - Packages: Recover August 26 npm release metadata (WordPress/gutenberg#82086) - Private APIs: Add back '@wordpress/dataviews' to the allowed core modules (WordPress/gutenberg#82221) Fixes #66067. Built from https://develop.svn.wordpress.org/trunk@63535 git-svn-id: http://core.svn.wordpress.org/trunk@62711 1a063a9b-81f0-0310-95a4-ce76da25c4cd














What?
Fixes: #81567
Add an aspect ratio toggle to DataViews grid layouts to allow the media preview to be displayed via
contain(so it preserves its aspect ratio) or viacover(default as on trunk) where it fills the container.Why?
As described in #81567, and flagged in #79729, for many kinds of grid items (but especially user uploads of photos) it's essential to be able to see the full aspect ratio before you can reliably choose an item. This is especially true of media that someone has cropped or uploaded different images in portrait or vertical orientations.
Without some way of previewing the image in its full aspect ratio, you can only know what you're getting after selection. So, the idea here is that DataViews should support showing the media in its aspect ratio, but not require it.
How?
mediaFitlayout property to the grid-based DataViews layoutsmediaFitControlprop and toggle button in the settings dropdown in DataViews (optional so that consumers can decide whether or not they want to allow the toggle)Testing Instructions
Enable the Media Upload Modal experiment:
Go to add an image to an Image or Gallery block and see how it looks and feels. What do you reckon? What needs changing to make this feel better?
Questions
Screenshots or screencast
2026-08-14.14.17.59.mp4
Use of AI Tools
Claude Code (Opus 5)