-
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
Update: Implement new parent and order design. #61918
Update: Implement new parent and order design. #61918
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +935 B (+0.05%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
e7b4ae8
to
d08b9d8
Compare
@@ -173,6 +173,7 @@ export function PageAttributesParent() { | |||
options={ parentOptions } | |||
onFilterValueChange={ debounce( handleKeydown, 300 ) } | |||
onChange={ handleChange } | |||
hideLabelFromVision |
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.
The new designs shared here include some helping text as well. Is this still the case @jameskoster ?
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.
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.
This tests well for me, thanks! I've left a design question (help text in parent controls) and some suggestions to move around some components.
Hi @jameskoster,
This would involve implementing a reorder page action. A little bit like the rename. Are we ok with it being an action e.g.: something that could be done from the dataviews page list? I think it seems fine but I want to confirm. |
I think that's okay, but I'd appreciate a gut-check from @jasmussen. |
The change seems okay, especially for Friday, but we should probably improve it further, it's not clear at all what Order does, and "parent" is ambiguous. |
@jasmussen sorry I should have been more specific. It's a question about where to place access to re-ordering. See the mockup here as an alternative to having it appear as a row in the summary panel. |
Ah, thanks for clarifying. Yeah it's tricky, it reduces the prominence, but that may be fine? In a block editor context, you'd most likely reorder your menus through a custom menu rather than changing the page order. But it is definitely harder to find. If we go with this and get confusion in the beta period, are we okay with a full revert back to a panel, pending better ideas for 6.7? |
Yeah that seems reasonable. @jorgefilipecosta do you think there's time to try the modal approach in this PR before the beta deadline? Or should we merge this and follow up with the modal separately? |
d08b9d8
to
b8a0b62
Compare
Hi @jameskoster, I think ideally we should merge this component as the action approach for order may need more discussion (it needs some checks in addition to the other actions). |
@jorgefilipecosta okay, that sounds good to me. I pushed a couple of small tweaks. |
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>
This PR implements the new parent and order design.
Related #60291, #59689.
Screenshot
Testing Instructions
Verified I could still change the parent and order of a page.