-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Site Editor Document Tools Navigation to own component #55770
Conversation
Size Change: +101 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Flaky tests detected in f9cacb4. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6721803125
|
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.
Looks like a straightforward refactor, very nice :)
What?
Refactoring the site editor document tools header navigation to be its own component.
Why?
This brings it in line with the other site headers. It will also make the work from #54513 be much easier to review since it won't include as many changes, and this is a useful refactor for ease of reading and use regardless.
How?
<DocumentTools />
component. Named that as the aria-label isDocument Tools
.<DocumentTools />
component via propsTesting Instructions
There should be no functional changes. All tests should pass.