-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Organise context menu for user testing with shortcut information #224
Comments
I'm generally very aligned with your approach @microbit-matt-hillsdon. I'm in favour of re-ordering to favour most common actions, and grouping with separators if possible. A few random thoughts..
|
https://github.com/google/blockly/pull/8767/files will add support for separators (but not before testing, since it's against rc/v12).
Yes, that's one of the requirements I've recorded in #155. But we won't get that for testing. |
Controlled by |
The behaviour is always "insert here", regardless of the wording or cursor location, but in one of our recent Blockly / micro:bit coordination meetings some concerns were raised about (plain) "Insert" when the cursor was on a block rather than between blocks, so I added "above" to make clear where the new block goes with respect to the block the cursor is on. The actual implementation is (as noted previously) equivalent to when dragging from the toolbox: if the cursor is on a block, then that block is disconnected and the new block is put in its place, and then the original block is reattached to the new block if possible (and, in the case of value blocks, provided the new block has only a single value input). In the case of stack blocks, that has the effect of inserting the new block between the block the cursor is on and the block above it. In the case of value blocks in the Geras renderer this inserts 'to the left', while for value blocks in Zelos this inserts 'around this block' (but in neither case do we provide any special description beyond "here").
Likewise, and I expect that they will do so by putting the cursor on the bottom-most next connection (which is always a valid cursor location) and pressing enter. |
Thanks for the clarification 👍 |
#234 (comment) says this is now fixed for user testing. |
I went through Kirsty's question/comment list and filed the remaining work as separate issues that are tracked in the accessibility project. None of the remaining ones need to be finished for testing.
As mentioned above, this is tracked.
Filed as #266
Filed as #267
Filed as #265 because I think we should at least discuss making this change broadly for Zelos users.
Blockly supports help as either a URL or a function. The context menu option is hidden if help is not defined, which is the case for the drawing blocks that I created.
No work needed.
We're already discussing insert in #132 so I don't see it as a blocker for closing this issue. |
Status quo
In the demo, the context menu for a block contains
It's already quite a confusing sequence. Separate issues also plan to add "Cut", "Copy" and "Paste".
Proposal
How about something like:
Organisation is core keyboard nav actions, copy/paste, less commonly used actions. Likely I've missed some. I don't have a strong view re Duplicate.
On an "Edit" menu it's common for delete to be below paste but I think it makes sense paired with insert here.
Not sure if there's support for separators or how pretty we can make the shortcuts, ideally right aligned like this:
...but anything that exposes them is a bit step forward for user testing.
Tagging @kmcnaught for input.
The text was updated successfully, but these errors were encountered: