-
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
Feature Request - UX - Expand/Collapse subtree on double click on a List View item #51253
Comments
In the #51327 PR (great work by @torounit) it has emerged that on another PR #42605 a "rename" block feature is "booked" to be assigned to It's also emerged that the "rename" feature should have more priority due to be intuitive for a non-power user. In contrast with "expand/collapse" which could be used by a more "developer-ish" audience.
So It could be ideal to consider the |
Since expanding/collapsing is more common than renaming, I would prefer to use the three-dot options menu at the end of each block to add an option for renaming. Double click makes more sense to me to expand/collapse. |
Pinging @WordPress/gutenberg-design for their thoughts. The question is should the "double-click" action on the List View:
|
I very much agree with @JosVelasco Jos
On my Mac I double click a folder to open it. Double clicking to open something feels more natural compared to double clicking to rename. Having the rename in the three dot options menu is a good place to have it. In regards to custom labeling/naming. It would be most helpful to have this automatic. Having the first certain amount of characters used be seen next to the block icon. If there is a need to rename then one can click the 3 dot options menu to do so. As I believe I would not spend a lot of time renaming blocks through the List View. Having it automatic would be very helpful and save time as well as make it easier at a quick glance to see what is what in List View. |
That is a very good point! |
Agreed. |
What problem does this address?
When working with a lot of nested blocks, expanding and collapsing subtree is suboptimal because you need to "precisely" click on the Chevron icon at the left side of the block name.
Double Clicking on an item doesn't do anything, so the "double click" keybinding is "free" to use...
It's personal preference but maybe other folks have the same expectation when double-clicking on items.
What is your proposed solution?
As a personal preference, I'd like that when double-clicking an item, like ...
... the subtree is expanded like ...
... and on double clicking again the subtree collapse (close).
The text was updated successfully, but these errors were encountered: