Fold all / unfold all please
This is a feature request. I would like to be able to fold all folders with a button, for being able to get a quick overview.
What would be the suggested UI/UX for this?
Look, I'm no designer but here's a mockup: https://imgur.com/a/v5rbLJX Disregard the duplicate tag, I have some kinda issue. I'm sure it can be done much nicer and cleaner. Also, how about a recursive implementation, where each (non-leaf) node has a "fold lower"/"unfold lower" button which applies fold/unfold respectively to all children?
As for UX: quickly getting an overview of all folders. Very useful when reorganizing. Unfold would be the opposite, expanding rapidly, also useful when organizing.
Now that I think about this, not to clutter the UI maybe a "reorganization mode" would be appropriate, where you're supposed to turn these options on?
Perhaps a click and hold on the circle would be an appropriate UX. A dedicated link would be too distracting IMO.
I agree, that sounds much better. How about discoverability?
Possibly just a title attribute on the circle so on a brief hover it could say something along the lines of Press to collapse/expand, Long press to collapse/expand all.
Wording could be perfected lol
For now I can't think of a better way than the mentioned click-and-hold. Zim implements collapsing/expanding a folder and all its children via the right-click menu, but that would diverge a lot from how things work in SN.
Either way, it will be a huge productivity boost because folder expansions sometimes really grow wild and you'll be able to clear it up with a single click.
Discoverability is an issue, but in my opinion it's to be tacked on a higher level. E.g. I missed that folders can be collapsed/extended by clicking the dots, even though this was something I've been looking forward to ever since I began using SN.
If this gets implemented, then please make sure this won't work only globally (collapsing/expanding every note down the hierarchy in "All"), but also for any folder or subfolder (e.g. in OP's example, maybe I want to expand only "Barcelona" down to the last subfolder, but leave the rest of the folders collapsed).
Could also be alt/option + click..
Could also be alt/option + click..
It could be, but that would kinda break the pattern of not requiring a keyboard for anything but typing, wouldn't it? Also, it would be hard to pull off for people such as touch screen users.
I also dislike needing alt. Obviously bad on mobile, but also bad on desktop bc you now need both hands
I've never seen long pressing in a desktop environment though. Maybe double clicking can work.
I think long pressing would be safer. Some may accidentally collapse a single item with one click and then click again to expand, but they may do it too quickly and trigger a "collapse/expand this and all its children", losing the collapsed/expanded state of all child items.
Also, double-clicking/tapping is harder to do precisely on touch screens, while long pressing is not. Its "safety" would depend on getting the required hold time right.