Repository navigation
Navigation List View: Add block movers to the more menu - #48099
Merged
Merged
Conversation
|
Size Change: +618 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in db37c3a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4186211906
|
Member
Member
Contributor
Author
Oops I forgot to push! |
Contributor
Author
Member
Looks good to me :) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




What?
This adds block movers to the "more" menu in the Navigation List View.
Why?
It is possible to move these blocks in the canvas, and in the Navigation List View using drag and drop, but there's no affordance for moving items in the Navigation List View with a keyboard.
In addition, this is something we've been exploring for the page list block in #48034, so this might be a good first step towards that.
How?
Just adds a couple of extra options to the more menu that's used in the Navigation List View.
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Screen.Recording.2023-02-15.at.14.46.31.mov
Question
Should we use the words "up" and "down" even when the block itself its horizontally aligned, because the List View is vertical?
cc @richtabor @SaxonF @jasmussen for design input.