-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add basic edit button UI to Nav block offcanvas editor #45815
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
Size Change: +74 B (0%) Total Size: 1.3 MB
ℹ️ View Unchanged
|
@@ -132,6 +133,14 @@ function ListViewBlock( { | |||
) | |||
: __( 'Options' ); | |||
|
|||
const editAriaLabel = blockInformation |
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.
Why not put this in the component itself?
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.
Seems like other labels are here as well.
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.
LGTM
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.
🚢
What?
Adds an "Edit" icon button to the off canvas editor list view for each block node which when clicked selects the given block.
This is a stepping stone on the path towards the "drill down" panels system (see also the mockup.
Please don't worry - this is not the final product 😄
Built on foundation laid down in #45575.
Co-authored-by: George Hotelling george@hotelling.net
Why?
We need the edit button UI in place for basic interactions.
How?
Adds add new button component and displays on hover.
Testing Instructions
Screenshots or screencast
Screen.Capture.on.2022-11-16.at.16-24-49.mp4