-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Site editor sidebar: refactor page details (#51093)
* - Rolls back exposing getMedia details from the editor package - Refactors page details and the useSelect callbacks - Rolls back the generic data list components since we don't need them anywhere else (premature optimization) * - Ensuring last modified is visible * Use `availableTemplates` from editor settings to fetch template title using slug * Checking for templateSlug before performing a find * Whoops forgot to extract props from featuredMedia object in useSelect.
- Loading branch information
Showing
10 changed files
with
269 additions
and
291 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
packages/edit-site/src/components/sidebar-navigation-data-list/data-list-item.js
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
packages/edit-site/src/components/sidebar-navigation-data-list/index.js
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
packages/edit-site/src/components/sidebar-navigation-data-list/style.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
658847e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in 658847e.
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.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5129384135
📝 Reported issues:
specs/editor/plugins/cpt-locking.test.js