[Real-time collaboration] Refine collaborator overlay with Avatar component integration#75595
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 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. |
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @dabowman! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
Initial implementation of the real-time collaboration overlay system: cursor rendering via CursorRegistry, block selection highlighting, overlay style injection into the editor iframe, and BlockCanvasCover SlotFill integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bug: useBlockHighlighting crashes with TypeError: Cannot read properties of undefined (reading 'WholeBlock') when two users edit the same post. Cause: In use-block-highlighting.ts:15, SelectionType is destructured from unlock(coreDataPrivateApis), but it was never added to the private APIs in private-apis.js. It's undefined at runtime. Fix: Import SelectionType directly from @wordpress/core-data (it's already a public export), matching the pattern in use-render-cursors.ts. Remove it from the unlock() destructure.
Replace the naive RGB lightness-shift color system with a contrast-aware pipeline that derives two purpose-specific colors per collaborator from seed colors in the palette: - strokeColor: meets 3.1:1 contrast against white (WCAG 2.1 SC 1.4.11 for UI components like borders and block highlights) - backgroundColor: meets 7:1 contrast against white (WCAG 2.1 SC 1.4.3 AA for white text on colored cursor labels) Colors are manipulated in OKLCH space (Björn Ottosson's OKLAB) for perceptually uniform darkening — only lightness is reduced while chroma and hue are preserved. This avoids the hue drift that CIE LCH exhibits when darkening blues. The implementation is ~60 lines of pure math with zero external dependencies. Also updates the seed palette to use more vibrant, distinct colors and replaces the RGB-shift overflow strategy with OKLCH hue rotation for generating new colors when all palette slots are taken. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the inline box-shadow approach for RTC block highlighting with the same outline-based method core uses for `.is-highlighted` blocks. This ensures consistent outline style, width, offset, and zoom scaling across both the default selection and collaborator highlights. - Switch from inline `style.boxShadow` to a `.is-collaborator-selected` CSS class with a `--collaborator-outline-color` custom property - Reuse the `selected-block-focus()` mixin from `@wordpress/base-styles` - Add `:not(:focus)` guard so the user's own selection always wins - Extract shared `collaborator-contrast-shadow()` mixin used by both the block highlight and avatar components - Add compiled `COLLABORATOR_CONTRAST_SHADOW` constant for iframe styles Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Redesign the cursor label from a plain text tag to a pill-shaped badge with the collaborator's avatar. The label defaults to showing just the avatar circle and expands on hover to reveal the username. - Add `collaborator-avatar()` mixin for shared avatar styles between the presence list and cursor label, using `--avatar-url` CSS custom property - Restyle cursor label as a flex pill with avatar + name, white outline contrast ring, and hover expand transition - Add white outline + elevation shadow to cursor caret for contrast - Fix block highlight inset shadow: use a wider inset that extends past the outline so the white inner ring remains visible - Consolidate `collaborator-contrast-shadow()` to include inset ring, fixing the `--with-color-border` avatar variant losing its inner ring - Sync all changes to `overlay-iframe-styles.ts` for iframe injection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When a collaborator has no custom Gravatar, display their first two initials on their assigned background color instead of the default placeholder image. A shared gravatar-check utility detects real vs default avatars by preloading with `d=404` and caching the result for both the React presence avatar and the imperative cursor overlay. Also refines cursor overlay visuals: Safari-style blink animation, rounded caret edges, label centered on caret midpoint, and box-sizing fix for accurate avatar dimensions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace custom avatar implementations across the collaborators-presence and collaborators-overlay features with the new Avatar and AvatarGroup private components from @wordpress/components. - Add Avatar and AvatarGroup components to the RTC branch (copied from add/avatar-component) and register them as private APIs - Replace hand-rolled avatar in presence toolbar with AvatarGroup - Replace custom avatar in collaborators list with Avatar component - Replace manual cursor label markup in overlay with Avatar badge mode - Inject compiled Avatar CSS into the iframe via useStyleOverride since wp-components styles are excluded from the editor canvas - Rename `has-border-color` modifier to `has-avatar-border-color` to avoid collision with the WordPress block support class of the same name - Add `width: max-content` to overlay Avatar so CSS Grid fr units resolve correctly in the absolutely-positioned context - Delete old avatar.tsx, avatar.scss, and _collaborator-mixins.scss - Remove unused COLLABORATOR_CONTRAST_SHADOW constant Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
WordPress always returns a Gravatar URL even when the user has no custom image. Add a utility that rewrites the URL with `d=404` and preloads it to detect default placeholders. When a default is detected, `undefined` is passed as the Avatar `src`, triggering its built-in initials fallback. - Add `gravatar-check.ts` with async image preload, module-level cache, and callback queue for multiple consumers - Add `useResolveGravatars` hook to initiate checks and trigger re-renders when results arrive - Integrate into cursor overlay (use-render-cursors), presence toolbar, and collaborators list via `resolveGravatarUrl(getAvatarUrl(urls))` - Re-enable inner white ring box-shadow on bordered avatar images Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the OKLCH color generation system in core-data with the simpler `AVATAR_BORDER_COLORS` array from `collab-sidebar/utils.js`. All editor consumers now use `getAvatarBorderColor(userId)` for a single color per collaborator (border, cursor, and block highlight), removing the need for separate stroke/background derivation and ~230 lines of color math. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename `--components-avatar-border-color` to `--components-avatar-outline-color` to avoid matching `html :where([style*="border-color"])` in block-library's common.scss, which forces `border-style: solid` on any element whose style attribute contains the substring "border-color". Also adds explicit type parameter to `useMergeRefs` to fix TS2322. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
233d98a to
2c7940f
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The squash/rebase accidentally introduced a second BlockCanvasCover.Slot after the block content in both iframe and non-iframe paths. This extra Slot rendered a container element below .editor-styles-wrapper, causing the padding appender's click-to-append to fail — clicks near the bottom of the canvas would hit the Slot element instead of the editor's 40vh padding area, bypassing the target check. The existing Slot before the content is sufficient since the cover uses position: absolute. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
packages/editor/src/components/collaborators-overlay/gravatar-check.ts
Outdated
Show resolved
Hide resolved
packages/editor/src/components/collaborators-overlay/use-render-cursors.ts
Outdated
Show resolved
Hide resolved
packages/editor/src/components/collaborators-overlay/use-resolve-gravatars.ts
Outdated
Show resolved
Hide resolved
Developed in #10968. Props ellatrix, adamsilverstein, youknowriad. See #64595. --- I've included a log of the Gutenberg changes with the following command: git log --reverse --format="- %s" 59a08c5496008ca88f4b6b86f38838c3612d88c8..7a11a53377a95cba4d3786d71cadd4c2f0c5ac52 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy - Remove unnecessary block deprecation from experimental tabs (WordPress/gutenberg#75208) - Block Editor: The insertBlock(s) actions should receive the same arguments (WordPress/gutenberg#75197) - Storybook: Always load design tokens in Design System section (WordPress/gutenberg#74899) - Default all initial suggested results to 20 for navigation link ui (WordPress/gutenberg#75186) - Navigation overlay: remove experiment (WordPress/gutenberg#74968) - Move AwarenessState to @wordpress/core-data (WordPress/gutenberg#75216) - RichText: Avoid stale active formats when deleting the text (WordPress/gutenberg#75227) - Fix <CollaboratorsPresence> type imports (WordPress/gutenberg#75232) - Block Editor: Add l10n context to 'Manage allowed blocks' string (WordPress/gutenberg#75239) - Fixed: Custom colors are now reflected in the editor for heading blocks (WordPress/gutenberg#75234) - Real-time Collaboration: Fix revision restore bug (WordPress/gutenberg#75233) - Real-time collaboration: Update 'sync.providers' filter inline comments (WordPress/gutenberg#75248) - Real-time collaboration: Make the collaborators presense button translatable (WordPress/gutenberg#75252) - Fix: Navigation Overlay Close Block: Add missing @SInCE tag WordPress/gutenberg#75247 (WordPress/gutenberg#75250) - Cover: Add new "fullheight" icon, and use for Cover (WordPress/gutenberg#75240) - Real-time collaboration: Remove @wordpress/sync from bundled packages and add private APIs (WordPress/gutenberg#74671) - Navigation Link: Clarify Link To invalid and draft state messages (WordPress/gutenberg#74054) - Docs: Simplifying Gutenberg versions table (WordPress/gutenberg#75209) - UI: Remove Box component abstraction (WordPress/gutenberg#74986) - Docs: Remove private GitHub team links in repository management (WordPress/gutenberg#75255) - UI: Add `Textarea` primitive (WordPress/gutenberg#74707) - Components: Add usage guidance for agents and Storybook (WordPress/gutenberg#74815) - Theme: Update elevation tokens to use abbreviated size names (WordPress/gutenberg#75103) - Navigation link: fix resetting link from the tools panel (WordPress/gutenberg#75228) - List View Support: Only render list view on top level block with support (WordPress/gutenberg#75166) - Gallery: Add lightbox support (WordPress/gutenberg#62906) - Workflows: Ignore icons manifest for manual backports (WordPress/gutenberg#75245) - Add new `adaptiveSelect` DataForm control (WordPress/gutenberg#74937) - Site Editor Pages: QuickEdit as a modal (WordPress/gutenberg#75173) - Add block rename keyboard shortcut (WordPress/gutenberg#74454) - Playlist block: Remove border (WordPress/gutenberg#75202) - Widget Area: Disable renaming and visibility support (WordPress/gutenberg#75279) - @wordpress/theme: add missing CHANGELOG entries (WordPress/gutenberg#75281) - Storybook: Add Stories for LetterSpacingControl component (WordPress/gutenberg#73480) - Remove the client from the awareness state when they disconnect (WordPress/gutenberg#75253) - Fix awareness timeout documentation unit (WordPress/gutenberg#75284) - Add global setting to enable real-time collaboration (WordPress/gutenberg#75286) - Notes: Pressing Escape should cancel adding a note (WordPress/gutenberg#75288) - Real-time Collaboration: Change users to collaborators (WordPress/gutenberg#75237) - Add timestamp when publishing next versions (WordPress/gutenberg#75293) - Storybook: Preserve export order for stories (WordPress/gutenberg#75295) - ToggleControl: Prevent console warning for `__nextHasNoMarginBottom` (WordPress/gutenberg#75296) - Quick edit: Make footer sticky (WordPress/gutenberg#75297) - DataForm Regular layout: label always uppercase (WordPress/gutenberg#75292) - @wordpress/ui: add Dialog component (WordPress/gutenberg#75183) - Navigation Link: Go to page link and edit page for inspector sidebar (WordPress/gutenberg#75262) - SiteEditor Pages: prevent QuickEdit modal from being triggered in list layout via URL param (WordPress/gutenberg#75300) - Link Control: Fix validation timing (WordPress/gutenberg#75267) - Publishing packages: fix next timestamp (WordPress/gutenberg#75301) - Add storybook for ColorPaletteControl (WordPress/gutenberg#74425) - Post Comments Form: Migrate to text-align block support (WordPress/gutenberg#75322) - Post Comments Count: Migrate to text-align block support (WordPress/gutenberg#75321) - Optimize tabsList computation with useRef for comparison (WordPress/gutenberg#75219) - Accordion block: Add list view support (WordPress/gutenberg#75271) - Media Fields: Filter author field to only show users with authoring capabilities (WordPress/gutenberg#75328) - Fields: Fix `authorField` query (WordPress/gutenberg#75298) - Slot: fix ref forwarding (WordPress/gutenberg#75274) - wp-env: Add --config option for custom config files (WordPress/gutenberg#75087) - Update Emotion for React 19 compat (WordPress/gutenberg#75324) - Block Visibility: Show keyboard shortcut hint in context menu (WordPress/gutenberg#75334) - Updated Typo in template-activate file (WordPress/gutenberg#75333) - wp-env: fix status command (WordPress/gutenberg#75325) - Playlist block:Inherit more CSS (WordPress/gutenberg#75256) - DataViews: Add onReset prop for view persistence reset (WordPress/gutenberg#75093) - Notes: Add a keyboard shortcut for creating a new note (WordPress/gutenberg#75287) - Storybook: Fix missing props on certain components (WordPress/gutenberg#75316) - Pattern Editing: Allow click through to List View (WordPress/gutenberg#75246) - Block Bindings: Have block fields panel reflects bound attribute value (WordPress/gutenberg#72096) - Fix: ISO 8601 compliant year formatting in TimePicker (WordPress/gutenberg#75343) - Prevent fatal error when the inline CSS duotone variable is an array (WordPress/gutenberg#75283) - Bugfix: Set the removed users to empty for awareness (WordPress/gutenberg#75337) - Button: prevent outline flicker when focused and active at the same time (WordPress/gutenberg#75346) - Real-time collaboration: Always target autosave revision (WordPress/gutenberg#75105) - In-editor revisions: add visual diffing (WordPress/gutenberg#75049) - iAPI Router: Update cached styles for re-fetched pages (WordPress/gutenberg#75097) - Add tests for the awareness code in core-data (WordPress/gutenberg#75074) - Add tests for the awareness code in sync (WordPress/gutenberg#75077) - Lock save button during Client Side Media processing and uploading (WordPress/gutenberg#74951) - Real-time Collaboration: Fix broken unit tests for awareness (WordPress/gutenberg#75362) - Boot: Fix mobile admin bar covering single-page mode headers (WordPress/gutenberg#75339) - Design System: Add guidelines for save and submit UX (WordPress/gutenberg#74811) - Featured Image: fix select-default-value (WordPress/gutenberg#75358) - Breadcrumbs: Improve loading state rendering (WordPress/gutenberg#75383) - Block Editor: Remove formatting controls restriction private API (WordPress/gutenberg#75382) - Link Control: Validate on submit (WordPress/gutenberg#75310) - Rich Text: Remove min-width inline style causing flex layout issues (WordPress/gutenberg#75370) - Tabs: Tidy up UI for controls (WordPress/gutenberg#75309) - Core Block Reference: Fix object empty inner key processing (WordPress/gutenberg#75391) - Improve sync performance metrics (WordPress/gutenberg#75029) - DataForm: update panel trigger (WordPress/gutenberg#75290) - Block Editor: Fix Columns block horizontal spacing when setting vertical gap (WordPress/gutenberg#75355) - DataViews Filters: Fix styling of long values in filter dropdown (WordPress/gutenberg#75369) - Try swapping tabs (WordPress/gutenberg#75194) - RichText: move useFormatTypes to rich-text package (WordPress/gutenberg#75387) - Make all navigation overlay close buttons work (WordPress/gutenberg#75384) - Block Editor: Improve Background panel UI in Global Styles (WordPress/gutenberg#75230) - Tabs: Update Tabs block icons (WordPress/gutenberg#75376) - Accordion: Move Accordion icons to Icon library (WordPress/gutenberg#75380) - Fix: Changing URL in link after changing text outside the popover resets it (WordPress/gutenberg#75342) - Update icon manifest acronyms. (WordPress/gutenberg#75418) - Code Modernization: Use null coalescing operator in additional `isset() ternaries. (WordPress/gutenberg#75419) - Pattern Editing: Move List View selectors to private-selectors (WordPress/gutenberg#75414) - DataViews: Use public ColorPicker instead of internal Picker export (WordPress/gutenberg#75394) - Abilities: Allow nested namespace ability names (2-4 segments) (WordPress/gutenberg#75393) - Fix: Remove backport changelog committed by mistake (WordPress/gutenberg#75441) - Block Visibility: Simplify toolbar for hidden blocks (WordPress/gutenberg#75335) - Block Visibility: Centralize modal state in block-editor store (WordPress/gutenberg#75367) - Allow grid to use style variation blockGap values for columns calculation (WordPress/gutenberg#75360) - Langauge Format: Add missing attribute definiton (WordPress/gutenberg#75422) - Block transform command: pass the block icon src rather than a BlockIcon component (WordPress/gutenberg#75365) - Note: Remove block highlight when deleting parent note (WordPress/gutenberg#75453) - Core Data: Improve blocks cache in useEntityBlockEditor (WordPress/gutenberg#75400) - MediaEdit: Support ordered values and reordering of items (WordPress/gutenberg#75207) - Writing flow: fix select all with full formatting (WordPress/gutenberg#64934) - Filter navigation category patterns to only show in navigation-overlay template part context (WordPress/gutenberg#75276) - Update Testing Library for React 19 compat (WordPress/gutenberg#75340) - Writing Flow: Fix block selection from partially selected RichText (WordPress/gutenberg#75449) - Notes: Fix sidebar display logic for small screens (WordPress/gutenberg#75454) - Post editor: iframe: check inserted rather than registered block versions (WordPress/gutenberg#75187) - Block Visibility: Disable visibility toggle for children of sections (WordPress/gutenberg#75447) - Notes: Update shortcut category (WordPress/gutenberg#75461) - Add dedicated navigation-overlay icon (WordPress/gutenberg#75249) (WordPress/gutenberg#75426) - Docs: Rename Interactivity API's 'API Reference' to 'Directives and Store' (WordPress/gutenberg#74974) - DataForm: Fix color picker styles (WordPress/gutenberg#75427) - Post Excerpt Block: Remove REST API filter for excerpt length in post excerpt block (WordPress/gutenberg#75299) - Move experimental PR out of backport log (WordPress/gutenberg#75465) - Add paste logging to writing flow (WordPress/gutenberg#73885) - Real-time collaboration: Sync post content and undefined `blocks` value (WordPress/gutenberg#75437) - Gutenberg plugin: always enforce the iframe in the post editor (WordPress/gutenberg#75475) - New Block: Icon Block (WordPress/gutenberg#71227) - Tabs: Improve tab keyboard nav (WordPress/gutenberg#75471) - Pre-populate Navigation Page Creator with Search Text (WordPress/gutenberg#75154) - Block Library: Hide navigation-overlay template parts from inserter (WordPress/gutenberg#75478) - Tabs: Add text and background color support (WordPress/gutenberg#75482) - Preserve existing URLInput defaults (WordPress/gutenberg#75392) - UI: Remove unnecessary jest.setTimeout from Select test (WordPress/gutenberg#75444) - Fix missed dimension token migration in UI package (WordPress/gutenberg#75446) - Render default density selector last in design tokens CSS (WordPress/gutenberg#75474) - Navigation: Improved help text in create a page flow (WordPress/gutenberg#75349) - Fix gap token migration guide in changelog (WordPress/gutenberg#75492) - Block Visibility: Disable Apply button on non-dirty state (WordPress/gutenberg#75494) - Real-time Collaboration: Use Y.text for title, content and excerpt (WordPress/gutenberg#75448) - DataForm: Style SummaryButton in panel layout with `is-disabled` classname (WordPress/gutenberg#75470) - Gallery: Add list view block support (WordPress/gutenberg#75407) - Types: consistently use the React namespace (WordPress/gutenberg#75499) - Enhance block appender labels to reflect default block type (WordPress/gutenberg#71502) - Import Yjs correctly (WordPress/gutenberg#75500) - Add testsEnvironment option and split Gutenberg wp-env configs (WordPress/gutenberg#75341) - Add `clearEntityRecordEdits` action to core-data (WordPress/gutenberg#75397) - Tabs: Stabilize Tabs blocks (WordPress/gutenberg#75424) - Simplify Tabs Menu Item editing (WordPress/gutenberg#75416) - Fix LinkControl URL Normalization (WordPress/gutenberg#75488) - Navigation Submenu: Restore openSubmenusOnClick to usesContext for backward compatibility. (WordPress/gutenberg#75435) - Tabs: Add `@since 7.0.0` annotations (WordPress/gutenberg#75521) - Story types: fix StoryFns used as React components (WordPress/gutenberg#75472) - Tabs: fix incorrect fixtures (WordPress/gutenberg#75523) - AGENTS.md: Add CLAUDE.md symlinks, architecture decisions, and common pitfalls (WordPress/gutenberg#75507) - Use contextual snackbar text when activating a theme from preview (WordPress/gutenberg#75385) - Pick user fields instead of spreading the entire object (WordPress/gutenberg#75528) - Real-time collaboration: Move PHP code to compat / backports directory (WordPress/gutenberg#75366) - Icons: Fix incorrect attributes for SVG (WordPress/gutenberg#75273) - Icons: Make full height icon label title case (WordPress/gutenberg#75524) - Respect deprecated openSubmenusOnClick value on frontend rendering (WordPress/gutenberg#75439) - useRef: always supply initial value (WordPress/gutenberg#75513) - Code Modernization: Replace isset() checks with null coalescing operator (WordPress/gutenberg#75425) - Prefix usages of JSX namespaces with React.JSX (WordPress/gutenberg#75508) - Cleanup: Remove unnecessary array check in `WP_Theme_JSON_Gutenberg` (WordPress/gutenberg#75515) - Real-time collaboration: Add collaborators cursor awareness (WordPress/gutenberg#75398) - Post Comments Link: Migrate to Text-Align Block Support (WordPress/gutenberg#75332) - Post time to read: Migrate to Text-Align Block Support (WordPress/gutenberg#75541) - ExternalLink: Prevent Twemoji from replacing arrow (WordPress/gutenberg#75538) - Duotone: add sgomes as owner (WordPress/gutenberg#75519) - Use null coalescing operator for common isset patterns (WordPress/gutenberg#75487) - Term Description: Migrate to Text-Align Block Support (WordPress/gutenberg#75542) - Create sub-sized images (WordPress/gutenberg#74566) - Add EXIF metadata tests for Client Side Media (WordPress/gutenberg#74909) - Add AVIF, WebP and MozJPEG output encoding support (WordPress/gutenberg#75081) - Post Terms: Migrate to Text-Align Block Support (WordPress/gutenberg#75545) - Tabs: Make Example preview translatable (WordPress/gutenberg#75555) - List View tab: Ensure it's populated when first selecting a container block (WordPress/gutenberg#75558) - Fix auto draft bug for Y.text titles (WordPress/gutenberg#75560) - Border Support: Fix editor split border style fallback (WordPress/gutenberg#75546) - Block Editor: Avoid unnecessary state churn in controlled inner blocks reducers (WordPress/gutenberg#75458) - Block Lock: Disable Apply button on non-dirty state (WordPress/gutenberg#75495) - Post Terms: Avoid unbound queries when the post context isn't available (WordPress/gutenberg#75536) - wp-env Playground: improve mapping and core source handling (WordPress/gutenberg#75527) - DataForm: add edit variant (WordPress/gutenberg#75462) - Tabs: Improve Tab Panel accessibility (WordPress/gutenberg#75484) - Tabs: Remove name editing UI (WordPress/gutenberg#75554) - useBlockSync: stop reconstructing controlled inner blocks (WordPress/gutenberg#75562) - Notes: Fix new note creation from the List View (WordPress/gutenberg#75566) - Navigation: Update overlay template part naming to "Navigation Overlay" (WordPress/gutenberg#75564) - Update usage of RefObject types (React 19 compat) (WordPress/gutenberg#75567) - useMergeRefs: migrate to TypeScript (WordPress/gutenberg#75569) - Improve link preview badges (WordPress/gutenberg#75318) - Add getDimensionsClassesAndStyles function and related tests (WordPress/gutenberg#74524) - Informational Parity between Inspector Link Preview and on Canvas Link Preview (WordPress/gutenberg#75399) - Icons Registry: Don't expose "internal" icons (WordPress/gutenberg#75526) - ui/Button: fix disabled styles and variable composition (WordPress/gutenberg#75568) - Tabs: Set explicit font-family on tab buttons (WordPress/gutenberg#75537) - Interactivity API: Export `watch` from `@preact/signals`'s `effect` (WordPress/gutenberg#75563) - iAPI router: Move internal properties to a private store (WordPress/gutenberg#70882) - Post Excerpt: Add text columns support (WordPress/gutenberg#75587) - Update gutenberg to match core after WordPress/gutenberg#75360 sync (WordPress/gutenberg#75594) - Block Visibility: Show viewport icons and tooltip in list view for hidden blocks (WordPress/gutenberg#75404) - [Real-time collaboration] Refine collaborator overlay with Avatar component integration (WordPress/gutenberg#75595) - Media Utils: Auto-select uploaded files in media modal experiment (WordPress/gutenberg#75597) - Try enabling paragraphs to be added to contentOnly patterns (WordPress/gutenberg#73222) - Implement WebAssembly support detection and fallbacks (WordPress/gutenberg#74827) - Icon block: Skip serialization and increase default size (WordPress/gutenberg#75553) - In-editor Revisions: Update success notice message (WordPress/gutenberg#75411) - Stabilize PHP-Only Block Registration (WordPress/gutenberg#75543) - Add comments around expandRevision functionality (WordPress/gutenberg#75573) - Tab Block: Ensure label formatting works correctly (WordPress/gutenberg#75548) - Tabs: Fix saved HTML (WordPress/gutenberg#75580) - [Real-time collaboration] Fix <CollaboratorsPresence> layout issue (WordPress/gutenberg#75599) - Notes: Fix block toolbar click action (WordPress/gutenberg#75614) - Commands: Add category property to command registration (WordPress/gutenberg#75612) - fix tab color-reset-all-filter (WordPress/gutenberg#75606) - Fix selection restoration after entity navigation (WordPress/gutenberg#75371) - Tabs: Sanitize tab_id (WordPress/gutenberg#75615) - Inherit text color for tabs-menu-item blocks (WordPress/gutenberg#75621) - Auto-switch viewport based on Overlay Visibility setting when entering overlay editor (WordPress/gutenberg#75386) - Fix: Show and hook up submenu visibility for Page Lists within Navigation Blocks (WordPress/gutenberg#75531) - Remove useEffect guard rail to enforce minimum width. (WordPress/gutenberg#75624) - Navigation: select list view tab on contentOnly. Alternative with explicit solution (WordPress/gutenberg#75578) - Navigation overlay: added basic e2e tests (WordPress/gutenberg#75581) - Revert Tabs block to experimental block (WordPress/gutenberg#75572) - List Block: Prevent content loss when merging into a fresh empty list item (WordPress/gutenberg#74382) - Fix Overlay core patterns not showing on design tab (WordPress/gutenberg#75618) - Rename Verse block to Poetry (WordPress/gutenberg#74121) - Fix Navigation block button showing "View custom" instead of "View link" for external URLs (WordPress/gutenberg#75571) - Removed Unused Global Documentation (WordPress/gutenberg#75631) - Real-time collaboration: Add sync connection status handling (WordPress/gutenberg#75066) - Add e2e test for selection restoration after pattern entity navigation (WordPress/gutenberg#75575) - Remove the Icon Block and Icon SVG API from experiments (WordPress/gutenberg#75576) - Block editor cross origin isolation: attempt to gracefully deal with race conditions (WordPress/gutenberg#75600) - Update diff package (WordPress/gutenberg#75644) - Upload Media: rebase of 75547 (WordPress/gutenberg#75646) - Block Editor: Allow disabling content-only editing for unsynced patterns (WordPress/gutenberg#75457) - Real-Time Collaboration: Add e2e tests for RTC (WordPress/gutenberg#75598) - Update the y-protocols versin and remove the unncessary types (WordPress/gutenberg#75657) - Pattern Editing: Add "Edit section" button to unsynced pattern toolbar (WordPress/gutenberg#75602) - PHP-Only Block Registration: Remove client-side schema validation (WordPress/gutenberg#75623) - Navigation: Add 'expectedDeprecated' annotations (WordPress/gutenberg#75659) - Site Editor: make QuickEdit stable + change template to select (WordPress/gutenberg#75565) - Icon Block: Move default width rule to theme.json instead of block.json (WordPress/gutenberg#75653) - Add e2e test for loading settings in site editor preload spec (WordPress/gutenberg#75661) - Update Ariakit packages (WordPress/gutenberg#75620) - Upgrade Playwright to v1.58 (WordPress/gutenberg#75632) - GitHub actions: Exclude lib/theme.json from backport changelog check (WordPress/gutenberg#75666) - theme.json: Enable width support for icon block by default (WordPress/gutenberg#75665) - Icons: Trim list of public icons further (WordPress/gutenberg#75630) - Update Navigation block tests to use non-deprecated API (WordPress/gutenberg#75660) - Update navigation block tests to use gutenberg version of block_core_navigation_block_tree_has_block_type - works on old wp versions (WordPress/gutenberg#75673) - Update copy (WordPress/gutenberg#75663) - Commands: Display category labels and enforce category icons (WordPress/gutenberg#75669) - Heading Block: Fix preview display (WordPress/gutenberg#75675) - Iframe: memoize src URL globally keyed by resolvedAssets (WordPress/gutenberg#75619) - ContrastChecker: Fix check for button block colors (WordPress/gutenberg#71959) - Writing flow: skip non-empty blocks on arrow key nav (WordPress/gutenberg#75141) - Comments Link: fix transforms textAlign (WordPress/gutenberg#75676) - Add initialSearchState to avoid console warnings from LinkControl inputValue change (WordPress/gutenberg#75643) - Migrate `EditorSnackbar` and `EditorNotices` components to the `@wordpress/notices` package (WordPress/gutenberg#74384) - Add minimum cap check to sync endpoint (WordPress/gutenberg#75681) - Fix: Hide link controls in sidebar when submenus open on click (WordPress/gutenberg#75637) - Set snackbar position to center (WordPress/gutenberg#75294) - Gallery: Fix PHP warning in random order image reordering (WordPress/gutenberg#75678) - DateCalendar, DateRangeCalendar: use lighter gray for disabled dates (WordPress/gutenberg#75683) - Pass unsupported formats directly to the server (WordPress/gutenberg#74910) - RTC: Compact on request with encodeStateAsUpdate (WordPress/gutenberg#75682) - Icons: Generate manifest PHP file based on JSON file (WordPress/gutenberg#75684) - ui/IconButton: make icon always 24px regardless of `size` prop (WordPress/gutenberg#75677) - Gallery: Skip interactivity directives when no images have lightbox enabled (WordPress/gutenberg#75680) - DataForm: Fix focus loss and refactor Card layout (WordPress/gutenberg#75689) - Remove IS_GUTENBERG_PLUGIN checks for collaborative editing (WordPress/gutenberg#75699) git-svn-id: https://develop.svn.wordpress.org/trunk@61680 602fd350-edb4-49c9-b593-d223f7449a82
Developed in WordPress/wordpress-develop#10968. Props ellatrix, adamsilverstein, youknowriad. See #64595. --- I've included a log of the Gutenberg changes with the following command: git log --reverse --format="- %s" 59a08c5496008ca88f4b6b86f38838c3612d88c8..7a11a53377a95cba4d3786d71cadd4c2f0c5ac52 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy - Remove unnecessary block deprecation from experimental tabs (WordPress/gutenberg#75208) - Block Editor: The insertBlock(s) actions should receive the same arguments (WordPress/gutenberg#75197) - Storybook: Always load design tokens in Design System section (WordPress/gutenberg#74899) - Default all initial suggested results to 20 for navigation link ui (WordPress/gutenberg#75186) - Navigation overlay: remove experiment (WordPress/gutenberg#74968) - Move AwarenessState to @wordpress/core-data (WordPress/gutenberg#75216) - RichText: Avoid stale active formats when deleting the text (WordPress/gutenberg#75227) - Fix <CollaboratorsPresence> type imports (WordPress/gutenberg#75232) - Block Editor: Add l10n context to 'Manage allowed blocks' string (WordPress/gutenberg#75239) - Fixed: Custom colors are now reflected in the editor for heading blocks (WordPress/gutenberg#75234) - Real-time Collaboration: Fix revision restore bug (WordPress/gutenberg#75233) - Real-time collaboration: Update 'sync.providers' filter inline comments (WordPress/gutenberg#75248) - Real-time collaboration: Make the collaborators presense button translatable (WordPress/gutenberg#75252) - Fix: Navigation Overlay Close Block: Add missing @SInCE tag WordPress/gutenberg#75247 (WordPress/gutenberg#75250) - Cover: Add new "fullheight" icon, and use for Cover (WordPress/gutenberg#75240) - Real-time collaboration: Remove @wordpress/sync from bundled packages and add private APIs (WordPress/gutenberg#74671) - Navigation Link: Clarify Link To invalid and draft state messages (WordPress/gutenberg#74054) - Docs: Simplifying Gutenberg versions table (WordPress/gutenberg#75209) - UI: Remove Box component abstraction (WordPress/gutenberg#74986) - Docs: Remove private GitHub team links in repository management (WordPress/gutenberg#75255) - UI: Add `Textarea` primitive (WordPress/gutenberg#74707) - Components: Add usage guidance for agents and Storybook (WordPress/gutenberg#74815) - Theme: Update elevation tokens to use abbreviated size names (WordPress/gutenberg#75103) - Navigation link: fix resetting link from the tools panel (WordPress/gutenberg#75228) - List View Support: Only render list view on top level block with support (WordPress/gutenberg#75166) - Gallery: Add lightbox support (WordPress/gutenberg#62906) - Workflows: Ignore icons manifest for manual backports (WordPress/gutenberg#75245) - Add new `adaptiveSelect` DataForm control (WordPress/gutenberg#74937) - Site Editor Pages: QuickEdit as a modal (WordPress/gutenberg#75173) - Add block rename keyboard shortcut (WordPress/gutenberg#74454) - Playlist block: Remove border (WordPress/gutenberg#75202) - Widget Area: Disable renaming and visibility support (WordPress/gutenberg#75279) - @wordpress/theme: add missing CHANGELOG entries (WordPress/gutenberg#75281) - Storybook: Add Stories for LetterSpacingControl component (WordPress/gutenberg#73480) - Remove the client from the awareness state when they disconnect (WordPress/gutenberg#75253) - Fix awareness timeout documentation unit (WordPress/gutenberg#75284) - Add global setting to enable real-time collaboration (WordPress/gutenberg#75286) - Notes: Pressing Escape should cancel adding a note (WordPress/gutenberg#75288) - Real-time Collaboration: Change users to collaborators (WordPress/gutenberg#75237) - Add timestamp when publishing next versions (WordPress/gutenberg#75293) - Storybook: Preserve export order for stories (WordPress/gutenberg#75295) - ToggleControl: Prevent console warning for `__nextHasNoMarginBottom` (WordPress/gutenberg#75296) - Quick edit: Make footer sticky (WordPress/gutenberg#75297) - DataForm Regular layout: label always uppercase (WordPress/gutenberg#75292) - @wordpress/ui: add Dialog component (WordPress/gutenberg#75183) - Navigation Link: Go to page link and edit page for inspector sidebar (WordPress/gutenberg#75262) - SiteEditor Pages: prevent QuickEdit modal from being triggered in list layout via URL param (WordPress/gutenberg#75300) - Link Control: Fix validation timing (WordPress/gutenberg#75267) - Publishing packages: fix next timestamp (WordPress/gutenberg#75301) - Add storybook for ColorPaletteControl (WordPress/gutenberg#74425) - Post Comments Form: Migrate to text-align block support (WordPress/gutenberg#75322) - Post Comments Count: Migrate to text-align block support (WordPress/gutenberg#75321) - Optimize tabsList computation with useRef for comparison (WordPress/gutenberg#75219) - Accordion block: Add list view support (WordPress/gutenberg#75271) - Media Fields: Filter author field to only show users with authoring capabilities (WordPress/gutenberg#75328) - Fields: Fix `authorField` query (WordPress/gutenberg#75298) - Slot: fix ref forwarding (WordPress/gutenberg#75274) - wp-env: Add --config option for custom config files (WordPress/gutenberg#75087) - Update Emotion for React 19 compat (WordPress/gutenberg#75324) - Block Visibility: Show keyboard shortcut hint in context menu (WordPress/gutenberg#75334) - Updated Typo in template-activate file (WordPress/gutenberg#75333) - wp-env: fix status command (WordPress/gutenberg#75325) - Playlist block:Inherit more CSS (WordPress/gutenberg#75256) - DataViews: Add onReset prop for view persistence reset (WordPress/gutenberg#75093) - Notes: Add a keyboard shortcut for creating a new note (WordPress/gutenberg#75287) - Storybook: Fix missing props on certain components (WordPress/gutenberg#75316) - Pattern Editing: Allow click through to List View (WordPress/gutenberg#75246) - Block Bindings: Have block fields panel reflects bound attribute value (WordPress/gutenberg#72096) - Fix: ISO 8601 compliant year formatting in TimePicker (WordPress/gutenberg#75343) - Prevent fatal error when the inline CSS duotone variable is an array (WordPress/gutenberg#75283) - Bugfix: Set the removed users to empty for awareness (WordPress/gutenberg#75337) - Button: prevent outline flicker when focused and active at the same time (WordPress/gutenberg#75346) - Real-time collaboration: Always target autosave revision (WordPress/gutenberg#75105) - In-editor revisions: add visual diffing (WordPress/gutenberg#75049) - iAPI Router: Update cached styles for re-fetched pages (WordPress/gutenberg#75097) - Add tests for the awareness code in core-data (WordPress/gutenberg#75074) - Add tests for the awareness code in sync (WordPress/gutenberg#75077) - Lock save button during Client Side Media processing and uploading (WordPress/gutenberg#74951) - Real-time Collaboration: Fix broken unit tests for awareness (WordPress/gutenberg#75362) - Boot: Fix mobile admin bar covering single-page mode headers (WordPress/gutenberg#75339) - Design System: Add guidelines for save and submit UX (WordPress/gutenberg#74811) - Featured Image: fix select-default-value (WordPress/gutenberg#75358) - Breadcrumbs: Improve loading state rendering (WordPress/gutenberg#75383) - Block Editor: Remove formatting controls restriction private API (WordPress/gutenberg#75382) - Link Control: Validate on submit (WordPress/gutenberg#75310) - Rich Text: Remove min-width inline style causing flex layout issues (WordPress/gutenberg#75370) - Tabs: Tidy up UI for controls (WordPress/gutenberg#75309) - Core Block Reference: Fix object empty inner key processing (WordPress/gutenberg#75391) - Improve sync performance metrics (WordPress/gutenberg#75029) - DataForm: update panel trigger (WordPress/gutenberg#75290) - Block Editor: Fix Columns block horizontal spacing when setting vertical gap (WordPress/gutenberg#75355) - DataViews Filters: Fix styling of long values in filter dropdown (WordPress/gutenberg#75369) - Try swapping tabs (WordPress/gutenberg#75194) - RichText: move useFormatTypes to rich-text package (WordPress/gutenberg#75387) - Make all navigation overlay close buttons work (WordPress/gutenberg#75384) - Block Editor: Improve Background panel UI in Global Styles (WordPress/gutenberg#75230) - Tabs: Update Tabs block icons (WordPress/gutenberg#75376) - Accordion: Move Accordion icons to Icon library (WordPress/gutenberg#75380) - Fix: Changing URL in link after changing text outside the popover resets it (WordPress/gutenberg#75342) - Update icon manifest acronyms. (WordPress/gutenberg#75418) - Code Modernization: Use null coalescing operator in additional `isset() ternaries. (WordPress/gutenberg#75419) - Pattern Editing: Move List View selectors to private-selectors (WordPress/gutenberg#75414) - DataViews: Use public ColorPicker instead of internal Picker export (WordPress/gutenberg#75394) - Abilities: Allow nested namespace ability names (2-4 segments) (WordPress/gutenberg#75393) - Fix: Remove backport changelog committed by mistake (WordPress/gutenberg#75441) - Block Visibility: Simplify toolbar for hidden blocks (WordPress/gutenberg#75335) - Block Visibility: Centralize modal state in block-editor store (WordPress/gutenberg#75367) - Allow grid to use style variation blockGap values for columns calculation (WordPress/gutenberg#75360) - Langauge Format: Add missing attribute definiton (WordPress/gutenberg#75422) - Block transform command: pass the block icon src rather than a BlockIcon component (WordPress/gutenberg#75365) - Note: Remove block highlight when deleting parent note (WordPress/gutenberg#75453) - Core Data: Improve blocks cache in useEntityBlockEditor (WordPress/gutenberg#75400) - MediaEdit: Support ordered values and reordering of items (WordPress/gutenberg#75207) - Writing flow: fix select all with full formatting (WordPress/gutenberg#64934) - Filter navigation category patterns to only show in navigation-overlay template part context (WordPress/gutenberg#75276) - Update Testing Library for React 19 compat (WordPress/gutenberg#75340) - Writing Flow: Fix block selection from partially selected RichText (WordPress/gutenberg#75449) - Notes: Fix sidebar display logic for small screens (WordPress/gutenberg#75454) - Post editor: iframe: check inserted rather than registered block versions (WordPress/gutenberg#75187) - Block Visibility: Disable visibility toggle for children of sections (WordPress/gutenberg#75447) - Notes: Update shortcut category (WordPress/gutenberg#75461) - Add dedicated navigation-overlay icon (WordPress/gutenberg#75249) (WordPress/gutenberg#75426) - Docs: Rename Interactivity API's 'API Reference' to 'Directives and Store' (WordPress/gutenberg#74974) - DataForm: Fix color picker styles (WordPress/gutenberg#75427) - Post Excerpt Block: Remove REST API filter for excerpt length in post excerpt block (WordPress/gutenberg#75299) - Move experimental PR out of backport log (WordPress/gutenberg#75465) - Add paste logging to writing flow (WordPress/gutenberg#73885) - Real-time collaboration: Sync post content and undefined `blocks` value (WordPress/gutenberg#75437) - Gutenberg plugin: always enforce the iframe in the post editor (WordPress/gutenberg#75475) - New Block: Icon Block (WordPress/gutenberg#71227) - Tabs: Improve tab keyboard nav (WordPress/gutenberg#75471) - Pre-populate Navigation Page Creator with Search Text (WordPress/gutenberg#75154) - Block Library: Hide navigation-overlay template parts from inserter (WordPress/gutenberg#75478) - Tabs: Add text and background color support (WordPress/gutenberg#75482) - Preserve existing URLInput defaults (WordPress/gutenberg#75392) - UI: Remove unnecessary jest.setTimeout from Select test (WordPress/gutenberg#75444) - Fix missed dimension token migration in UI package (WordPress/gutenberg#75446) - Render default density selector last in design tokens CSS (WordPress/gutenberg#75474) - Navigation: Improved help text in create a page flow (WordPress/gutenberg#75349) - Fix gap token migration guide in changelog (WordPress/gutenberg#75492) - Block Visibility: Disable Apply button on non-dirty state (WordPress/gutenberg#75494) - Real-time Collaboration: Use Y.text for title, content and excerpt (WordPress/gutenberg#75448) - DataForm: Style SummaryButton in panel layout with `is-disabled` classname (WordPress/gutenberg#75470) - Gallery: Add list view block support (WordPress/gutenberg#75407) - Types: consistently use the React namespace (WordPress/gutenberg#75499) - Enhance block appender labels to reflect default block type (WordPress/gutenberg#71502) - Import Yjs correctly (WordPress/gutenberg#75500) - Add testsEnvironment option and split Gutenberg wp-env configs (WordPress/gutenberg#75341) - Add `clearEntityRecordEdits` action to core-data (WordPress/gutenberg#75397) - Tabs: Stabilize Tabs blocks (WordPress/gutenberg#75424) - Simplify Tabs Menu Item editing (WordPress/gutenberg#75416) - Fix LinkControl URL Normalization (WordPress/gutenberg#75488) - Navigation Submenu: Restore openSubmenusOnClick to usesContext for backward compatibility. (WordPress/gutenberg#75435) - Tabs: Add `@since 7.0.0` annotations (WordPress/gutenberg#75521) - Story types: fix StoryFns used as React components (WordPress/gutenberg#75472) - Tabs: fix incorrect fixtures (WordPress/gutenberg#75523) - AGENTS.md: Add CLAUDE.md symlinks, architecture decisions, and common pitfalls (WordPress/gutenberg#75507) - Use contextual snackbar text when activating a theme from preview (WordPress/gutenberg#75385) - Pick user fields instead of spreading the entire object (WordPress/gutenberg#75528) - Real-time collaboration: Move PHP code to compat / backports directory (WordPress/gutenberg#75366) - Icons: Fix incorrect attributes for SVG (WordPress/gutenberg#75273) - Icons: Make full height icon label title case (WordPress/gutenberg#75524) - Respect deprecated openSubmenusOnClick value on frontend rendering (WordPress/gutenberg#75439) - useRef: always supply initial value (WordPress/gutenberg#75513) - Code Modernization: Replace isset() checks with null coalescing operator (WordPress/gutenberg#75425) - Prefix usages of JSX namespaces with React.JSX (WordPress/gutenberg#75508) - Cleanup: Remove unnecessary array check in `WP_Theme_JSON_Gutenberg` (WordPress/gutenberg#75515) - Real-time collaboration: Add collaborators cursor awareness (WordPress/gutenberg#75398) - Post Comments Link: Migrate to Text-Align Block Support (WordPress/gutenberg#75332) - Post time to read: Migrate to Text-Align Block Support (WordPress/gutenberg#75541) - ExternalLink: Prevent Twemoji from replacing arrow (WordPress/gutenberg#75538) - Duotone: add sgomes as owner (WordPress/gutenberg#75519) - Use null coalescing operator for common isset patterns (WordPress/gutenberg#75487) - Term Description: Migrate to Text-Align Block Support (WordPress/gutenberg#75542) - Create sub-sized images (WordPress/gutenberg#74566) - Add EXIF metadata tests for Client Side Media (WordPress/gutenberg#74909) - Add AVIF, WebP and MozJPEG output encoding support (WordPress/gutenberg#75081) - Post Terms: Migrate to Text-Align Block Support (WordPress/gutenberg#75545) - Tabs: Make Example preview translatable (WordPress/gutenberg#75555) - List View tab: Ensure it's populated when first selecting a container block (WordPress/gutenberg#75558) - Fix auto draft bug for Y.text titles (WordPress/gutenberg#75560) - Border Support: Fix editor split border style fallback (WordPress/gutenberg#75546) - Block Editor: Avoid unnecessary state churn in controlled inner blocks reducers (WordPress/gutenberg#75458) - Block Lock: Disable Apply button on non-dirty state (WordPress/gutenberg#75495) - Post Terms: Avoid unbound queries when the post context isn't available (WordPress/gutenberg#75536) - wp-env Playground: improve mapping and core source handling (WordPress/gutenberg#75527) - DataForm: add edit variant (WordPress/gutenberg#75462) - Tabs: Improve Tab Panel accessibility (WordPress/gutenberg#75484) - Tabs: Remove name editing UI (WordPress/gutenberg#75554) - useBlockSync: stop reconstructing controlled inner blocks (WordPress/gutenberg#75562) - Notes: Fix new note creation from the List View (WordPress/gutenberg#75566) - Navigation: Update overlay template part naming to "Navigation Overlay" (WordPress/gutenberg#75564) - Update usage of RefObject types (React 19 compat) (WordPress/gutenberg#75567) - useMergeRefs: migrate to TypeScript (WordPress/gutenberg#75569) - Improve link preview badges (WordPress/gutenberg#75318) - Add getDimensionsClassesAndStyles function and related tests (WordPress/gutenberg#74524) - Informational Parity between Inspector Link Preview and on Canvas Link Preview (WordPress/gutenberg#75399) - Icons Registry: Don't expose "internal" icons (WordPress/gutenberg#75526) - ui/Button: fix disabled styles and variable composition (WordPress/gutenberg#75568) - Tabs: Set explicit font-family on tab buttons (WordPress/gutenberg#75537) - Interactivity API: Export `watch` from `@preact/signals`'s `effect` (WordPress/gutenberg#75563) - iAPI router: Move internal properties to a private store (WordPress/gutenberg#70882) - Post Excerpt: Add text columns support (WordPress/gutenberg#75587) - Update gutenberg to match core after WordPress/gutenberg#75360 sync (WordPress/gutenberg#75594) - Block Visibility: Show viewport icons and tooltip in list view for hidden blocks (WordPress/gutenberg#75404) - [Real-time collaboration] Refine collaborator overlay with Avatar component integration (WordPress/gutenberg#75595) - Media Utils: Auto-select uploaded files in media modal experiment (WordPress/gutenberg#75597) - Try enabling paragraphs to be added to contentOnly patterns (WordPress/gutenberg#73222) - Implement WebAssembly support detection and fallbacks (WordPress/gutenberg#74827) - Icon block: Skip serialization and increase default size (WordPress/gutenberg#75553) - In-editor Revisions: Update success notice message (WordPress/gutenberg#75411) - Stabilize PHP-Only Block Registration (WordPress/gutenberg#75543) - Add comments around expandRevision functionality (WordPress/gutenberg#75573) - Tab Block: Ensure label formatting works correctly (WordPress/gutenberg#75548) - Tabs: Fix saved HTML (WordPress/gutenberg#75580) - [Real-time collaboration] Fix <CollaboratorsPresence> layout issue (WordPress/gutenberg#75599) - Notes: Fix block toolbar click action (WordPress/gutenberg#75614) - Commands: Add category property to command registration (WordPress/gutenberg#75612) - fix tab color-reset-all-filter (WordPress/gutenberg#75606) - Fix selection restoration after entity navigation (WordPress/gutenberg#75371) - Tabs: Sanitize tab_id (WordPress/gutenberg#75615) - Inherit text color for tabs-menu-item blocks (WordPress/gutenberg#75621) - Auto-switch viewport based on Overlay Visibility setting when entering overlay editor (WordPress/gutenberg#75386) - Fix: Show and hook up submenu visibility for Page Lists within Navigation Blocks (WordPress/gutenberg#75531) - Remove useEffect guard rail to enforce minimum width. (WordPress/gutenberg#75624) - Navigation: select list view tab on contentOnly. Alternative with explicit solution (WordPress/gutenberg#75578) - Navigation overlay: added basic e2e tests (WordPress/gutenberg#75581) - Revert Tabs block to experimental block (WordPress/gutenberg#75572) - List Block: Prevent content loss when merging into a fresh empty list item (WordPress/gutenberg#74382) - Fix Overlay core patterns not showing on design tab (WordPress/gutenberg#75618) - Rename Verse block to Poetry (WordPress/gutenberg#74121) - Fix Navigation block button showing "View custom" instead of "View link" for external URLs (WordPress/gutenberg#75571) - Removed Unused Global Documentation (WordPress/gutenberg#75631) - Real-time collaboration: Add sync connection status handling (WordPress/gutenberg#75066) - Add e2e test for selection restoration after pattern entity navigation (WordPress/gutenberg#75575) - Remove the Icon Block and Icon SVG API from experiments (WordPress/gutenberg#75576) - Block editor cross origin isolation: attempt to gracefully deal with race conditions (WordPress/gutenberg#75600) - Update diff package (WordPress/gutenberg#75644) - Upload Media: rebase of 75547 (WordPress/gutenberg#75646) - Block Editor: Allow disabling content-only editing for unsynced patterns (WordPress/gutenberg#75457) - Real-Time Collaboration: Add e2e tests for RTC (WordPress/gutenberg#75598) - Update the y-protocols versin and remove the unncessary types (WordPress/gutenberg#75657) - Pattern Editing: Add "Edit section" button to unsynced pattern toolbar (WordPress/gutenberg#75602) - PHP-Only Block Registration: Remove client-side schema validation (WordPress/gutenberg#75623) - Navigation: Add 'expectedDeprecated' annotations (WordPress/gutenberg#75659) - Site Editor: make QuickEdit stable + change template to select (WordPress/gutenberg#75565) - Icon Block: Move default width rule to theme.json instead of block.json (WordPress/gutenberg#75653) - Add e2e test for loading settings in site editor preload spec (WordPress/gutenberg#75661) - Update Ariakit packages (WordPress/gutenberg#75620) - Upgrade Playwright to v1.58 (WordPress/gutenberg#75632) - GitHub actions: Exclude lib/theme.json from backport changelog check (WordPress/gutenberg#75666) - theme.json: Enable width support for icon block by default (WordPress/gutenberg#75665) - Icons: Trim list of public icons further (WordPress/gutenberg#75630) - Update Navigation block tests to use non-deprecated API (WordPress/gutenberg#75660) - Update navigation block tests to use gutenberg version of block_core_navigation_block_tree_has_block_type - works on old wp versions (WordPress/gutenberg#75673) - Update copy (WordPress/gutenberg#75663) - Commands: Display category labels and enforce category icons (WordPress/gutenberg#75669) - Heading Block: Fix preview display (WordPress/gutenberg#75675) - Iframe: memoize src URL globally keyed by resolvedAssets (WordPress/gutenberg#75619) - ContrastChecker: Fix check for button block colors (WordPress/gutenberg#71959) - Writing flow: skip non-empty blocks on arrow key nav (WordPress/gutenberg#75141) - Comments Link: fix transforms textAlign (WordPress/gutenberg#75676) - Add initialSearchState to avoid console warnings from LinkControl inputValue change (WordPress/gutenberg#75643) - Migrate `EditorSnackbar` and `EditorNotices` components to the `@wordpress/notices` package (WordPress/gutenberg#74384) - Add minimum cap check to sync endpoint (WordPress/gutenberg#75681) - Fix: Hide link controls in sidebar when submenus open on click (WordPress/gutenberg#75637) - Set snackbar position to center (WordPress/gutenberg#75294) - Gallery: Fix PHP warning in random order image reordering (WordPress/gutenberg#75678) - DateCalendar, DateRangeCalendar: use lighter gray for disabled dates (WordPress/gutenberg#75683) - Pass unsupported formats directly to the server (WordPress/gutenberg#74910) - RTC: Compact on request with encodeStateAsUpdate (WordPress/gutenberg#75682) - Icons: Generate manifest PHP file based on JSON file (WordPress/gutenberg#75684) - ui/IconButton: make icon always 24px regardless of `size` prop (WordPress/gutenberg#75677) - Gallery: Skip interactivity directives when no images have lightbox enabled (WordPress/gutenberg#75680) - DataForm: Fix focus loss and refactor Card layout (WordPress/gutenberg#75689) - Remove IS_GUTENBERG_PLUGIN checks for collaborative editing (WordPress/gutenberg#75699) Built from https://develop.svn.wordpress.org/trunk@61680 git-svn-id: http://core.svn.wordpress.org/trunk@60988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
There was a conflict while trying to cherry-pick the commit to the wp/7.0 branch. Please resolve the conflict manually and create a PR to the wp/7.0 branch. PRs to wp/7.0 are similar to PRs to trunk, but you should base your PR on the wp/7.0 branch instead of trunk. |
|
This PR is already in the |
What?
Refines the real-time collaboration (RTC) cursor overlay and presence indicators in the editor by integrating the new
AvatarandAvatarGroupprivate components from@wordpress/components, refining the block highlighting, adding Gravatar default detection, and aligning the color system with collab-sidebar.Why?
The collaborator overlay previously used custom avatar rendering and inline DOM manipulation. The cursor labels were rendered imperatively via a
CursorRegistryclass. The color system in@wordpress/core-datawas different than the colors used in collab-sidebar and wasn't the best place for presentation concerns.This PR:
Avatarcomponent (badge mode for cursor labels, standard mode for presence list)AVATAR_BORDER_COLORS)BlockCanvasCover.SlotafterWritingFlowso the overlay renders on top of editor contentHow?
Avatar integration
Avatarin badge mode (nameprop triggers hover-expand pill animation)AvatarGroupwithmax={3}for stacked avatar display with+NoverflowAvatarwithborderColorfor each collaboratoruseStyleOverride(sincewp-componentsstyles are excluded from the canvas iframe by the PHP REST controller)JSX cursor rendering
useRenderCursorsnow returnsCursorData[]instead of imperatively creating DOM elementsoverlay.tsxrenders cursors as JSX with Avatar badge labelscursor-registry.tsand imperative DOM manipulationColor simplification
getAvatarBorderColor(userId)fromcollab-sidebar/utils.js(8 colors,userId % length)color,strokeColor,backgroundColorfromCollaboratorInfotypeTesting Instructions
+Noverflow if >3 users)Testing Instructions for Keyboard
Screenshots or screencast