Skip to content

[WP 7.2] Notes: Show reaction picker as a row of emoji - #85892

Merged
Mamaduka merged 1 commit into
wp/7.2from
backport/7.2-note-reaction-picker
Oct 29, 2026
Merged

Mamaduka merged 1 commit into
wp/7.2from
backport/7.2-note-reaction-picker

Conversation

@Mamaduka

Copy link
Copy Markdown
Member

Backports #85819 to wp/7.2.

Conflict in note-reactions.tsx imports: #85188 (per-import ESLint suppressions) isn't on wp/7.2. Took the trunk import block. #85835 (allowlists getWpCompatOverlaySlot) isn't on wp/7.2 either, so added a suppression for it.

🤖 Generated with Claude Code

Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: fcoveram <fcoveram@git.wordpress.org>
Co-authored-by: huzaifaalmesbah <huzaifaalmesbah@git.wordpress.org>
Co-authored-by: adamsilverstein <adamsilverstein@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: marko-srb <markoserb@git.wordpress.org>
(cherry picked from commit 20b10c6)
@github-actions github-actions Bot added the [Package] Editor /packages/editor label Oct 29, 2026
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground

🎉 Props

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: fcoveram <fcoveram@git.wordpress.org>
Co-authored-by: huzaifaalmesbah <huzaifaalmesbah@git.wordpress.org>
Co-authored-by: adamsilverstein <adamsilverstein@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: markoserb <markoserb@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Updated as activity occurs, without notifying anyone named here. Add the props-bot label to refresh.

🏷️ Labels

This pull request needs exactly one label indicating its type, and has 0.

  • Required: any label starting with [Type].
  • Found: none.

Read more about Type labels in Gutenberg. If you cannot add labels yourself, a reviewer can do it for you.

📦 Bundle size

Size Change: +919 B (+0.01%)

Total Size: 9.04 MB

📦 View Changed
Filename Size Change
build/scripts/editor/index.min.js 616 kB +219 B (+0.04%)
build/styles/editor/style-rtl.css 31.6 kB +186 B (+0.59%)
build/styles/editor/style-rtl.min.css 27 kB +163 B (+0.61%)
build/styles/editor/style.css 31.7 kB +188 B (+0.6%)
build/styles/editor/style.min.css 27 kB +163 B (+0.61%)

04fdebc Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 816b15b wp/7.2 % Change
timeToFirstByte 47.25 ms +7.72% -3.7% 46.45 ms +3.44% -4.52% 1.72%
largestContentfulPaint 76 ms +10.53% -0% 76 ms +10.53% -0% 0%
lcpMinusTtfb 31.2 ms +16.51% -6.57% 31 ms +16.45% -7.42% 0.65%
wpBeforeTemplate 23.83 ms +7.93% -2.94% 23.03 ms +5.43% -1.39% 3.47%
wpTemplate 19.58 ms +2.5% -4.39% 19.23 ms +4.11% -4.84% 1.82%
wpTotal 43.62 ms +7.27% -3.26% 43.18 ms +3.31% -4.86% 1.02%
wpMemoryUsage 7.69 MB +0% -0% 7.66 MB +0% -0% 0.42%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 816b15b wp/7.2 % Change
timeToFirstByte 38.6 ms +3.5% -2.59% 37.45 ms +3.6% -1.74% 3.07%
largestContentfulPaint 88 ms +0% -2.27% 84 ms +4.76% -0% 4.76%
lcpMinusTtfb 48.8 ms +2.15% -4.2% 46.95 ms +3.09% -1.6% 3.94%
wpBeforeTemplate 20.35 ms +6.24% -1.28% 20.07 ms +1.35% -0.55% 1.4%
wpTemplate 14.94 ms +6.43% -1.27% 14.63 ms +6.97% -4.44% 2.12%
wpTotal 35.77 ms +3.44% -2.38% 34.84 ms +3.21% -2.55% 2.67%
wpMemoryUsage 6.38 MB +0% -0% 6.35 MB +0% -0% 0.52%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 816b15b wp/7.2 % Change
mediaProcessingJpeg 387.84 ms +2.11% -2.33% 385.15 ms +0.21% -1.51% 0.7%
mediaProcessingAvif 5634.81 ms +0.23% -0.14% 5616.12 ms +0.2% -0.25% 0.33%
mediaProcessingJpegToAvif 3858.57 ms +0.1% -0.16% 3863.71 ms +0.18% -0.03% -0.13%

media-upload

Metric 816b15b wp/7.2 % Change
jpegUploadProcessing 1690.4 ms +15.38% -14.84% 1447.89 ms +2.57% -0.86% 16.75%
pngUploadProcessing 208.33 ms +2.24% -2.29% 210.22 ms +3.84% -3.14% -0.9%
largeJpegUploadProcessing 1448.18 ms +0.2% -1.24% 1446.82 ms +0.21% -0.54% 0.09%
multipleImageUploadProcessing 2015.14 ms +0.42% -0.08% 2024.55 ms +1.03% -0.45% -0.46%

post-editor

Metric 816b15b wp/7.2 % Change
serverResponse 292.3 ms +5.31% -4.46% 315.22 ms +1.18% -3.29% -7.27%
firstPaint 257.68 ms +42.01% -31.02% 392.59 ms +5.71% -41.3% -34.36%
domContentLoaded 811.44 ms +5.75% -1.11% 835.63 ms +2.22% -2.19% -2.89%
loaded 812.34 ms +5.73% -1.11% 836.67 ms +2.2% -2.19% -2.91%
firstContentfulPaint 367.98 ms +8.32% -1.79% 393.35 ms +5.51% -1.87% -6.45%
firstBlock 2472.17 ms +3.46% -2.42% 2481.35 ms +4.01% -1.77% -0.37%
type 15.98 ms +6.57% -2.69% 16.59 ms +0.78% -2.11% -3.68%
typeWithoutInspector 16.04 ms +2.81% -6.86% 15.78 ms +7.22% -4.06% 1.65%
typeWithTopToolbar 18.77 ms +7.83% -4.21% 21.22 ms +11.5% -8.62% -11.55%
typeContainer 7 ms +7.57% -3.57% 7 ms +4.29% -5.86% 0%
focus 82.27 ms +7.48% -2.49% 97.08 ms +8.74% -5.48% -15.26%
firstFocus 171.06 ms +0% -0% 158.66 ms +0% -0% 7.82%
selectAll 363.08 ms +2.57% -1.3% 359.1 ms +1.75% -3.86% 1.11%
listViewOpen 51.67 ms +2.88% -2.05% 52.74 ms +6.66% -13.06% -2.03%
inserterOpen 28.74 ms +6.4% -2.44% 30.04 ms +5.76% -8.69% -4.33%
inserterHover 10.51 ms +7.9% -6.18% 9.14 ms +14.22% -11.05% 14.99%
inserterSearch 7.29 ms +3.02% -1.65% 7.02 ms +6.13% -7.12% 3.85%
loadPatterns 578.92 ms +2.49% -14.07% 486.04 ms +4.68% -4.69% 19.11%
wpTotal 285.41 ms +5.32% -4.85% 306.26 ms +1.43% -2.84% -6.81%
wpMemoryUsage 14.74 MB +0% -0% 14.71 MB +0% -0% 0.23%
wpDbQueries 55 +0% -0% 55 +0% -0% 0%

site-editor

Metric 816b15b wp/7.2 % Change
serverResponse 552.39 ms +2.19% -5.87% 528.9 ms +6.1% -3.3% 4.44%
firstPaint 263.71 ms +14.85% -1.54% 281.11 ms +13.89% -9.74% -6.19%
domContentLoaded 1321.41 ms +0.92% -0.91% 1350.33 ms +0.26% -0.42% -2.14%
loaded 1322.49 ms +0.94% -0.89% 1351.39 ms +0.27% -0.39% -2.14%
firstContentfulPaint 528.33 ms +3.28% -4.55% 550.23 ms +1.14% -1.24% -3.98%
firstBlock 5057.74 ms +0.8% -0.46% 5141.46 ms +0.79% -1.21% -1.63%
type 19.56 ms +7.41% -4.96% 19.33 ms +3.78% -3.78% 1.19%
navigate 143.78 ms +9.86% -10.88% 127.61 ms +13.71% -2.93% 12.67%
loadPatterns 1362.2 ms +9.49% -8.66% 1346.79 ms +5.21% -1.29% 1.14%
loadPages 1088.05 ms +0.83% -1.3% 1079.94 ms +1.36% -1.34% 0.75%
wpTotal 542.24 ms +2.2% -6.06% 519.21 ms +6.17% -3.52% 4.44%
wpMemoryUsage 12.77 MB +0% -0% 12.73 MB +0% -0% 0.27%
wpDbQueries 44 +2.27% -0% 44 +2.27% -0% 0%

04fdebc Run

🏁 Flaky tests

Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

As a user I expect my navigation to use the colors I selected for it in /test/e2e/specs/editor/blocks/navigation-colors.spec.js, passed after 1 failed attempt.
Error: locator.click: Error: strict mode violation: getByRole('option', { name: 'Pale cyan blue' }) resolved to 2 elements:
    1) <button type="button" role="option" tabindex="-1" aria-selected="false" aria-label="Pale cyan blue" id="components-circular-option-picker-0-9" class="components-button components-circular-option-picker__option is-next-40px-default-size"></button> aka locator('#components-circular-option-picker-0-9')
    2) <button type="button" role="option" tabindex="-1" aria-selected="false" aria-label="Pale cyan blue" id="components-circular-option-picker-1-21" class="components-button components-circular-option-picker__option is-next-40px-default-size"></button> aka locator('#components-circular-option-picker-1-21')

Call log:
  - waiting for getByRole('option', { name: 'Pale cyan blue' })

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:315:5
Backspace in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  -  5
+ Received  + 11

@@ -1,25 +1,31 @@
  Array [
    Object {
      "innerBlocks": Array [
        Object {
          "attributes": Object {
-           "content": "1",
+           "content": "1‸a",
          },
-         "innerBlocks": Array [
+         "innerBlocks": Array [],
+         "name": "core/list-item",
+       },
        Object {
+         "attributes": Object {
+           "content": "2",
+         },
          "innerBlocks": Array [
            Object {
              "attributes": Object {
-                   "content": "a‸2",
+               "ordered": false,
+               "values": "",
              },
-                 "name": "core/list-item",
-               },
+             "innerBlocks": Array [
                Object {
                  "attributes": Object {
                    "content": "b",
                  },
+                 "innerBlocks": Array [],
                  "name": "core/list-item",
                },
              ],
              "name": "core/list",
            },

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:2041:42
Custom Completer: should allow newlines after multiple option completions in /test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 2
+ Received  + 2

@@ -1,11 +1,11 @@
  <!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
- <p>🫐 test</p>
+ <p>🍎 test</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
  <p>🫐 test</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:466:6
Custom Completer: should not insert disabled options in /test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:paragraph -->
- <p>Sorry, we are all out of ~g grapes.</p>
+ <p>Sorry, we are all out of 🍎 grapes.</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:391:7
Delete (forward) in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  -  5
+ Received  + 11

@@ -1,25 +1,31 @@
  Array [
    Object {
      "innerBlocks": Array [
        Object {
          "attributes": Object {
-           "content": "1",
+           "content": "1‸a",
          },
-         "innerBlocks": Array [
+         "innerBlocks": Array [],
+         "name": "core/list-item",
+       },
        Object {
+         "attributes": Object {
+           "content": "2",
+         },
          "innerBlocks": Array [
            Object {
              "attributes": Object {
-                   "content": "a‸2",
+               "ordered": false,
+               "values": "",
              },
-                 "name": "core/list-item",
-               },
+             "innerBlocks": Array [
                Object {
                  "attributes": Object {
                    "content": "b",
                  },
+                 "innerBlocks": Array [],
                  "name": "core/list-item",
                },
              ],
              "name": "core/list",
            },

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:2056:42
Navigation text does not inherit the link color from the theme/group in /test/e2e/specs/editor/blocks/navigation-colors.spec.js, passed after 1 failed attempt.
Error: locator.click: Error: strict mode violation: getByRole('option', { name: 'Vivid purple' }) resolved to 2 elements:
    1) <button type="button" role="option" tabindex="-1" aria-selected="false" aria-label="Vivid purple" id="components-circular-option-picker-0-11" class="components-button components-circular-option-picker__option is-next-40px-default-size"></button> aka getByRole('tabpanel', { name: 'Default' }).getByRole('option', { name: 'Vivid purple' })
    2) <button type="button" role="option" tabindex="-1" aria-selected="false" aria-label="Vivid purple" id="components-circular-option-picker-1-23" class="components-button components-circular-option-picker__option is-next-40px-default-size"></button> aka getByRole('tabpanel', { name: 'Hover' }).getByRole('option', { name: 'Vivid purple' })

Call log:
  - waiting for getByRole('option', { name: 'Vivid purple' })

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:177:5
Regression: updating a specific option will only change its value and will not corrupt others in /test/e2e/specs/editor/various/core-settings.spec.js, passed after 1 failed attempt.
Error: expect(received).toStrictEqual(expected) // deep equality

- Expected  - 1
+ Received  + 1

  Array [
    "rewrite_rules",
-   "SERIALIZED DATA",
+   "",
  ]
    at forEach (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/core-settings.spec.js:46:26)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/core-settings.spec.js:43:35
Undo restores the post selection when another synced entity is loaded in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 2,
+   "offset": 2,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5
can be converted to a quote in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

@@ -1,9 +1,9 @@
  <!-- wp:quote -->
  <blockquote class="wp-block-quote"><!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one</li>
+ <li>ne</li>
  <!-- /wp:list-item -->

  <!-- wp:list-item -->
  <li>two</li>
  <!-- /wp:list-item --></ul>

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:436:52
can be converted to paragraphs in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:paragraph -->
- <p>one</p>
+ <p>ne</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
  <p>two</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:391:52
can be converted when nested to paragraphs in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <!-- wp:paragraph -->
- <p>one</p>
+ <p>ne</p>
  <!-- /wp:paragraph -->

  <!-- wp:paragraph -->
  <p>two</p>
  <!-- /wp:paragraph -->

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:417:52
does not disable collaboration when all meta boxes are RTC-compatible (RTC WebSocket) in /test/e2e/specs/editor/collaboration/collaboration-metabox-lock.spec.ts, passed after 1 failed attempt.
Error: apiRequestContext.fetch: socket hang up
Call log:
  - → GET http://localhost:8889/wp-json/wp/v2/users?per_page=100
    - user-agent: Playwright/1.63.0 (x64; ubuntu 24.04) node/24.20 CI/1
    - accept: */*
    - accept-encoding: gzip,deflate,br
    - X-WP-Nonce: 5dac02c7ab
    - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1793427092%7C2ustY9ZiFgVrmR236CnIiRNiDOIFkEfnaE4JRb0ynND%7Ce340861a7c29cffe91a781328238e8eb0f3fc15a3c78ca1e888d5c2cac757e26; wp-settings-time-1=1793254294

    at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:112:39)
    at RequestUtils.listUsers (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/users.ts:34:30)
    at RequestUtils.deleteAllUsers (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/users.ts:106:44)
    at CollaborationUtils.teardown (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/fixtures/collaboration-utils.ts:609:28)
    at Object.collaborationUtils (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/fixtures/index.ts:31:5)
does not select blocks in the canvas preview when editing from the sidebar (Site Editor v2) in /test/e2e/specs/site-editor/navigation-sidebar-list-view.spec.js, passed after 1 failed attempt.
Error: expect(locator).toBeVisible() failed

Locator: getByRole('listbox', { name: 'Search results' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" getByRole('listbox', { name: 'Search results' }) with timeout 5000ms
  - waiting for getByRole('listbox', { name: 'Search results' })

    at LinkControl.useLinkControlSearch (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation-sidebar-list-view.spec.js:396:33)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation-sidebar-list-view.spec.js:179:3
should be immediately saved on indentation in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

@@ -1,8 +1,8 @@
  <!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one<!-- wp:list -->
+ <li>ne<!-- wp:list -->
  <ul class="wp-block-list"><!-- wp:list-item -->
  <li></li>
  <!-- /wp:list-item --></ul>
  <!-- /wp:list --></li>
  <!-- /wp:list-item --></ul>

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:694:52
should change the indented list type in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Indent"]')

    at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:17:15)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:727:3
should create paragraph on Enter in quote block in /test/e2e/specs/editor/blocks/list.spec.js, passed after 1 failed attempt.

Truncated. See the full report.

04fdebc Run

@Mamaduka
Mamaduka merged commit 1cfa327 into wp/7.2 Oct 29, 2026
88 checks passed
@Mamaduka
Mamaduka deleted the backport/7.2-note-reaction-picker branch October 29, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Editor /packages/editor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant