Skip to content

Icons: Add "database" icon - #85273

Merged
scruffian merged 2 commits into
trunkfrom
add/database-icon
Oct 21, 2026
Merged

scruffian merged 2 commits into
trunkfrom
add/database-icon

Conversation

@jasmussen

Copy link
Copy Markdown
Contributor

What?

Adds a new "database" icon:

database

The purpose is to indicate "storage" and the likes, and it is in response to feedback on https://core.trac.wordpress.org/ticket/65089 where a generic "storage" icon is useful for the "storage" indication in the dashboard.

Testing Instructions

npm run storybook:dev

Use of AI Tools

Claude Opus 5.

@jasmussen
jasmussen requested a review from a team October 21, 2026 10:59
@jasmussen jasmussen self-assigned this Oct 21, 2026
@jasmussen jasmussen added [Type] Enhancement A suggestion for improvement. [Package] Icons /packages/icons labels Oct 21, 2026
@github-actions

github-actions Bot commented Oct 21, 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: jasmussen <joen@git.wordpress.org>
Co-authored-by: scruffian <scruffian@git.wordpress.org>

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

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

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 19d19ac trunk % Change
timeToFirstByte 55.2 ms +10.24% -3.35% 53.6 ms +11.85% -2.52% 2.99%
largestContentfulPaint 96 ms +6.25% -4.17% 96 ms +2.08% -6.25% 0%
lcpMinusTtfb 41.6 ms +2.76% -15.26% 35.65 ms +16.55% -5.89% 16.69%
wpBeforeTemplate 29.59 ms +15.44% -2.3% 28.66 ms +18.11% -1.64% 3.24%
wpTemplate 21 ms +3.48% -3.05% 21.21 ms +3.3% -3.58% -0.99%
wpTotal 51.39 ms +9.59% -3.19% 50.06 ms +12.29% -2.84% 2.66%
wpMemoryUsage 7.65 MB +0% -0% 7.61 MB +0% -0% 0.46%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 19d19ac trunk % Change
timeToFirstByte 46.9 ms +4.69% -2.77% 46.6 ms +7.62% -2.15% 0.64%
largestContentfulPaint 104 ms +0% -3.85% 102 ms +1.96% -1.96% 1.96%
lcpMinusTtfb 54.7 ms +5.12% -1.01% 54.4 ms +2.48% -1.1% 0.55%
wpBeforeTemplate 26.95 ms +8.27% -1.37% 27.3 ms +5.9% -2.38% -1.28%
wpTemplate 15.92 ms +10.49% -1.32% 16.25 ms +2.4% -2.71% -2.03%
wpTotal 43.8 ms +4.68% -3.13% 43.39 ms +7.74% -1.64% 0.94%
wpMemoryUsage 6.34 MB +0% -0% 6.30 MB +0% -0% 0.58%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 19d19ac trunk % Change
mediaProcessingJpeg 400.86 ms +2.37% -0.89% 398.35 ms +0.38% -0.18% 0.63%
mediaProcessingAvif 6089.14 ms +0.25% -0.28% 6063.7 ms +0.22% -0.05% 0.42%
mediaProcessingJpegToAvif 4200.52 ms +0.21% -0.35% 4205.02 ms +0.09% -0.2% -0.11%

media-upload

Metric 19d19ac trunk % Change
jpegUploadProcessing 1454.04 ms +35.07% -1.44% 1438.15 ms +1.48% -0.33% 1.1%
pngUploadProcessing 177.39 ms +21.57% -3.2% 191.65 ms +16.23% -4.2% -7.44%
largeJpegUploadProcessing 1419.29 ms +0.71% -0.92% 1423.73 ms +0.85% -0.63% -0.31%
multipleImageUploadProcessing 1579.58 ms +8.36% -2.45% 1599.68 ms +26.55% -1.57% -1.26%

post-editor

Metric 19d19ac trunk % Change
serverResponse 347.75 ms +4.17% -6.7% 334.7 ms +5.66% -4.21% 3.9%
firstPaint 313.52 ms +32.65% -34.69% 397.93 ms +3.27% -5.87% -21.21%
domContentLoaded 907.76 ms +2.2% -3.3% 902.63 ms +0.65% -3.15% 0.57%
loaded 908.78 ms +2.19% -3.31% 903.55 ms +0.66% -3.17% 0.58%
firstContentfulPaint 413.86 ms +0.49% -16.42% 402.45 ms +2.11% -3.3% 2.84%
firstBlock 2631.08 ms +2.59% -1.58% 2569.15 ms +1.59% -0.84% 2.41%
type 15.77 ms +3.87% -2.16% 16.55 ms +12.51% -4.05% -4.71%
typeWithoutInspector 15.71 ms +3.56% -3.44% 15.88 ms +7.18% -1.26% -1.07%
typeWithTopToolbar 20.94 ms +1.96% -2.01% 20.21 ms +2.97% -4.65% 3.61%
typeContainer 7.77 ms +6.05% -3.99% 7.71 ms +8.95% -4.93% 0.78%
focus 95.84 ms +5.58% -4.5% 95.19 ms +2.7% -4.56% 0.68%
firstFocus 178.59 ms +0% -0% 186.82 ms +0% -0% -4.41%
selectAll 393.12 ms +5.54% -1.28% 404.64 ms +1.12% -2.15% -2.85%
listViewOpen 62.61 ms +4.84% -11.95% 59.52 ms +24.65% -5.34% 5.19%
inserterOpen 35.92 ms +10.77% -9.94% 36.44 ms +5.16% -9.03% -1.43%
inserterHover 10.4 ms +7.88% -3.37% 10.29 ms +7.29% -11.86% 1.07%
inserterSearch 8.01 ms +3.87% -5.12% 7.95 ms +5.66% -3.4% 0.75%
loadPatterns 546.74 ms +2.4% -7.01% 524.02 ms +3.46% -2.04% 4.34%
wpTotal 338.65 ms +4.17% -6.66% 326.32 ms +5.41% -4.32% 3.78%
wpMemoryUsage 14.69 MB +0% -0% 14.65 MB +0% -0% 0.25%
wpDbQueries 55 +0% -1.82% 55 +0% -1.82% 0%

site-editor

Metric 19d19ac trunk % Change
serverResponse 254.25 ms +9.47% -9.88% 251.38 ms +5.86% -6.93% 1.14%
firstPaint 283.88 ms +28.37% -30.35% 194.74 ms +22.12% -14.25% 45.77%
domContentLoaded 773.67 ms +3.81% -1.37% 769.12 ms +3.22% -2.36% 0.59%
loaded 774.65 ms +3.82% -1.38% 769.85 ms +3.23% -2.31% 0.62%
firstContentfulPaint 350.59 ms +4.36% -1.41% 334.05 ms +3.54% -25.24% 4.95%
firstBlock 2848.08 ms +5.55% -1.91% 2870.12 ms +2.47% -2.9% -0.77%
type 15.48 ms +1.61% -6.98% 13.78 ms +5.88% -2.83% 12.34%
navigate 80.48 ms +9.42% -6.55% 98.93 ms +2.98% -4.56% -18.65%
loadPatterns 1057.3 ms +14.29% -19.96% 898.57 ms +26.44% -10.55% 17.66%
loadPages 926.86 ms +5.64% -1.6% 963.68 ms +2.41% -1.66% -3.82%
wpTotal 248.15 ms +9.55% -10.19% 245.18 ms +6.04% -7.15% 1.21%
wpMemoryUsage 12.70 MB +0% -0% 12.67 MB +0% -0% 0.29%
wpDbQueries 44.5 +1.12% -1.12% 45 +0% -2.22% -1.11%

d9e8cf0 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.

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
drags a multi-selection from a block nested in a selected block in /test/e2e/specs/editor/various/draggable-blocks.spec.js, passed after 1 failed attempt.
TypeError: Cannot read properties of null (reading 'y')
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:989:57
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:988:3
drags a multi-selection from anywhere inside it in /test/e2e/specs/editor/various/draggable-blocks.spec.js, passed after 1 failed attempt.
TypeError: Cannot read properties of null (reading 'y')
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:824:57
    at dragSelectionBelowLanding (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:823:3)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:844:3
keeps the blocks selected after dropping a multi-selection in /test/e2e/specs/editor/various/draggable-blocks.spec.js, passed after 1 failed attempt.
TypeError: Cannot read properties of null (reading 'y')
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:824:57
    at dragSelectionBelowLanding (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:823:3)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:908:3
refuses the drop and uploads nothing in /test/e2e/specs/editor/various/single-file-placeholder-drop.spec.js, passed after 1 failed attempt.
Error: expect(received).toHaveLength(expected)

Expected length: 0
Received length: 1
Received array:  [{"_links": {"about": [{"href": "http://localhost:8889/wp-json/wp/v2/types/attachment"}], "author": [{"embeddable": true, "href": "http://localhost:8889/wp-json/wp/v2/users/1"}], "collection": [{"href": "http://localhost:8889/wp-json/wp/v2/media"}], "curies": [{"href": "https://api.w.org/{rel}", "name": "wp", "templated": true}], "replies": [{"embeddable": true, "href": "http://localhost:8889/wp-json/wp/v2/comments?post=223"}], "self": [{"href": "http://localhost:8889/wp-json/wp/v2/media/223", "targetHints": {"allow": ["GET", "POST", "PUT", "PATCH", "DELETE"]}}], "wp:attached-to": [{"embeddable": true, "href": "http://localhost:8889/wp-json/wp/v2/posts/222", "id": 222, "post_type": "post"}]}, "alt_text": "", "author": 1, "caption": {"rendered": ""}, "class_list": ["post-223", "attachment", "type-attachment", "status-inherit", "hentry", "entry"], "comment_status": "open", "date": "2026-10-21T11:25:14", "date_gmt": "2026-10-21T11:25:14", "description": {"rendered": "<p class=\"attachment\"><a href='http://localhost:8889/wp-content/uploads/2026/10/870fcf8e-f17b-4714-a663-9272f22127e1.png'><img loading=\"lazy\" decoding=\"async\" width=\"10\" height=\"10\" src=\"http://localhost:8889/wp-content/uploads/2026/10/870fcf8e-f17b-4714-a663-9272f22127e1.png\" class=\"attachment-medium size-medium\" alt=\"\" style=\"width:100%;height:100%;max-width:10px;\" /></a></p>
"}, "featured_media": 0, "filename": "870fcf8e-f17b-4714-a663-9272f22127e1.png", "filesize": 80, "guid": {"rendered": "http://localhost:8889/wp-content/uploads/2026/10/870fcf8e-f17b-4714-a663-9272f22127e1.png"}, "id": 223, "link": "http://localhost:8889/?attachment_id=223", "media_details": {"file": "2026/10/870fcf8e-f17b-4714-a663-9272f22127e1.png", "filesize": 80, "height": 10, "image_meta": {"alt": "", "aperture": "0", "camera": "", "caption": "", "copyright": "", "created_timestamp": "0", "credit": "", "focal_length": "0", "iso": "0", "keywords": [], "orientation": "0", "shutter_speed": "0", "title": ""}, "sizes": {}, "width": 10}, "media_type": "image", "meta": [], "mime_type": "image/png", "modified": "2026-10-21T11:25:14", "modified_gmt": "2026-10-21T11:25:14", "ping_status": "closed", "post": 222, "slug": "870fcf8e-f17b-4714-a663-9272f22127e1", "source_url": "http://localhost:8889/wp-content/uploads/2026/10/870fcf8e-f17b-4714-a663-9272f22127e1.png", "status": "inherit", "template": "", "title": {"rendered": "870fcf8e-f17b-4714-a663-9272f22127e1"}, "type": "attachment"}]
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/single-file-placeholder-drop.spec.js:71:45
restores the blocks when a multi-selection drag is canceled in /test/e2e/specs/editor/various/draggable-blocks.spec.js, passed after 1 failed attempt.
TypeError: Cannot read properties of null (reading 'y')
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:824:57
    at dragSelectionBelowLanding (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:823:3)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:871:3
should cut and paste individual blocks with collapsed selection in /test/e2e/specs/editor/various/copy-cut-paste.spec.js, passed after 1 failed attempt.
Error: expect(string).toMatchSnapshot(expected) failed

  @@ -1,3 +1,3 @@
   <!-- wp:paragraph -->
  -<p>2Cut - collapsed selection</p>
  +<p>2</p>
   <!-- /wp:paragraph -->


    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:45:49

d9e8cf0 Run

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

@scruffian scruffian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@scruffian
scruffian merged commit 18721bc into trunk Oct 21, 2026
79 checks passed
@scruffian
scruffian deleted the add/database-icon branch October 21, 2026 13:04
@github-actions github-actions Bot added this to the Gutenberg 24.4 milestone Oct 21, 2026
fushar added a commit that referenced this pull request Nov 15, 2026
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
wporg-sync pushed a commit to WordPress/wordpress-develop that referenced this pull request Nov 17, 2026
This updates the pinned commit hash of the Gutenberg repository from `1b0dc90c700746b108e080263a4dc67707b750a1` to `61aba5422836aeed76a794f98d3fe0da3eb5f5d1` (head of the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@1b0dc90...61aba54.

- Interactivity API: Render TrustedHTML after rejecting the same markup as a string (WordPress/gutenberg#86555).
- Interactivity Router: Render only the most recently started navigation (WordPress/gutenberg#86515) (WordPress/gutenberg#86608).
- Block Parser: Update error-handling for stack of unclosed blocks (WordPress/gutenberg#74427).
- Block Parser: Match updates from Core's default parser (WordPress/gutenberg#86078).
- Upload Media: Export `isClientSideSupportedFormat()` (WordPress/gutenberg#86541) (WordPress/gutenberg#86693).
- Core fields: Restore the `editor.PostFeaturedImage.imageSize` filter in the post editor (WordPress/gutenberg#86662).
- Icons: Rename file to folder, add actual file icon (WordPress/gutenberg#86526) (WordPress/gutenberg#86779).
- Icons: Add "database" icon (WordPress/gutenberg#85273) (WordPress/gutenberg#86853).
- [WP 7.2] Icons: Map a conservative set of Dashicons to `core-admin` icons (WordPress/gutenberg#86708) (WordPress/gutenberg#86854).
- Connectors: Show filesystem credentials modal on plugin install (WordPress/gutenberg#78367).
- Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg (WordPress/gutenberg#85740) (WordPress/gutenberg#86924).
- Blocks: Fix duplicated content when implicitly closing a final open block (WordPress/gutenberg#86703).
- ContentEditableControl: Don't focus a disabled field on click (WordPress/gutenberg#86613).
- Fix iOS keyboard not opening on a tap into another block after Done (WordPress/gutenberg#86839).

Removes the icons restored by this update from the `$_old_files` array to prevent them being deleted when WordPress is updated.

Developed in: #16048

Props peterwilsoncc, mamaduka, wildworks, fushar.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65543 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync pushed a commit to WordPress/WordPress that referenced this pull request Nov 17, 2026
This updates the pinned commit hash of the Gutenberg repository from `1b0dc90c700746b108e080263a4dc67707b750a1` to `61aba5422836aeed76a794f98d3fe0da3eb5f5d1` (head of the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@1b0dc90...61aba54.

- Interactivity API: Render TrustedHTML after rejecting the same markup as a string (WordPress/gutenberg#86555).
- Interactivity Router: Render only the most recently started navigation (WordPress/gutenberg#86515) (WordPress/gutenberg#86608).
- Block Parser: Update error-handling for stack of unclosed blocks (WordPress/gutenberg#74427).
- Block Parser: Match updates from Core's default parser (WordPress/gutenberg#86078).
- Upload Media: Export `isClientSideSupportedFormat()` (WordPress/gutenberg#86541) (WordPress/gutenberg#86693).
- Core fields: Restore the `editor.PostFeaturedImage.imageSize` filter in the post editor (WordPress/gutenberg#86662).
- Icons: Rename file to folder, add actual file icon (WordPress/gutenberg#86526) (WordPress/gutenberg#86779).
- Icons: Add "database" icon (WordPress/gutenberg#85273) (WordPress/gutenberg#86853).
- [WP 7.2] Icons: Map a conservative set of Dashicons to `core-admin` icons (WordPress/gutenberg#86708) (WordPress/gutenberg#86854).
- Connectors: Show filesystem credentials modal on plugin install (WordPress/gutenberg#78367).
- Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg (WordPress/gutenberg#85740) (WordPress/gutenberg#86924).
- Blocks: Fix duplicated content when implicitly closing a final open block (WordPress/gutenberg#86703).
- ContentEditableControl: Don't focus a disabled field on click (WordPress/gutenberg#86613).
- Fix iOS keyboard not opening on a tap into another block after Done (WordPress/gutenberg#86839).

Removes the icons restored by this update from the `$_old_files` array to prevent them being deleted when WordPress is updated.

Developed in: WordPress/wordpress-develop#16048

Props peterwilsoncc, mamaduka, wildworks, fushar.
See #66340.
Built from https://develop.svn.wordpress.org/trunk@65543


git-svn-id: http://core.svn.wordpress.org/trunk@64616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
arshidkv12 pushed a commit to arshidkv12/wordpress-develop that referenced this pull request Nov 21, 2026
This updates the pinned commit hash of the Gutenberg repository from `1b0dc90c700746b108e080263a4dc67707b750a1` to `61aba5422836aeed76a794f98d3fe0da3eb5f5d1` (head of the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@1b0dc90...61aba54.

- Interactivity API: Render TrustedHTML after rejecting the same markup as a string (WordPress/gutenberg#86555).
- Interactivity Router: Render only the most recently started navigation (WordPress/gutenberg#86515) (WordPress/gutenberg#86608).
- Block Parser: Update error-handling for stack of unclosed blocks (WordPress/gutenberg#74427).
- Block Parser: Match updates from Core's default parser (WordPress/gutenberg#86078).
- Upload Media: Export `isClientSideSupportedFormat()` (WordPress/gutenberg#86541) (WordPress/gutenberg#86693).
- Core fields: Restore the `editor.PostFeaturedImage.imageSize` filter in the post editor (WordPress/gutenberg#86662).
- Icons: Rename file to folder, add actual file icon (WordPress/gutenberg#86526) (WordPress/gutenberg#86779).
- Icons: Add "database" icon (WordPress/gutenberg#85273) (WordPress/gutenberg#86853).
- [WP 7.2] Icons: Map a conservative set of Dashicons to `core-admin` icons (WordPress/gutenberg#86708) (WordPress/gutenberg#86854).
- Connectors: Show filesystem credentials modal on plugin install (WordPress/gutenberg#78367).
- Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg (WordPress/gutenberg#85740) (WordPress/gutenberg#86924).
- Blocks: Fix duplicated content when implicitly closing a final open block (WordPress/gutenberg#86703).
- ContentEditableControl: Don't focus a disabled field on click (WordPress/gutenberg#86613).
- Fix iOS keyboard not opening on a tap into another block after Done (WordPress/gutenberg#86839).

Removes the icons restored by this update from the `$_old_files` array to prevent them being deleted when WordPress is updated.

Developed in: WordPress#16048

Props peterwilsoncc, mamaduka, wildworks, fushar.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65543 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Icons /packages/icons [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants