Suggestions for enhancing the “collapse” and “expand” functions.
We can control the depth of “expand” and “collapse” globally. This will allow us to quickly understand the outline and hierarchy for some forgotten articles, and eliminate unnecessary interference.
You can also control the depth of “expand” and “collapse” on the sub-blocks. For the same reason as above, it allows us to quickly review the content of the sub-blocks, while avoiding interference.
I like this idea a lot! This is similar to the level folding that most text editors support.
I propose the keyboard shortcuts cmdk1, …, cmdkN for the different levels, since that’s what VSCode does (though I’m not sure if that’s standard in other programs):
A second enhancement that’s not on your list but would be great is if the user could fold all blocks they’ve selected. This would be similar but not quite the same as global fold.
Right now, when you select N blocks and then hit the fold arrow to the left, it only folds the one you clicked. I find this behavior surprising. I propose we change it to fold all selected blocks.
Would the core team be open to PRs that introduce these 2 behaviors?