neos / neos-ui

Neos CMS UI written in ReactJS with Immutable data structures.
GNU General Public License v3.0
265 stars 135 forks source link

Usability? How to refocus current node in tree after "Collapse All" #3805

Open mhsdesign opened 1 month ago

mhsdesign commented 1 month ago

https://github.com/neos/neos-ui/pull/3756 introduced a new collapse button in the document tree:

image

but after collapsing its unclear how to find the current node again in the tree.

image

For that to achieve i have to reload the tree but i think we are missing a more dedicated feature for that.

image image

PHPStorm for example faces a similar problem and thus offers a target button to highlight the current file again:

image

I think we should consider such option as well

lorenzulrich commented 3 weeks ago

@mindpilot Do you have an opinion on this?

mhsdesign commented 3 weeks ago

or as-well @Devclaim ? ;)

ahaeslich commented 3 weeks ago

@laurahaenel and me discussed this feature on friday as well. This would not just be a good idea if an editor collapsed everthing but also, wenn they did this manually for a deep subtree folder they are currently located at.

mindpilot commented 3 weeks ago

Hi @mhsdesign , having a button "show in page in document tree" which opens and highlights the current page, would be quite handy.

neos-target-button

What I'm still missing is the permanent storage of manually collapsed menu items over time. Editors on large sites very often are working on a limited set of pages all the time. For thus having the same tree state upon the next session would be helpful.

Devclaim commented 3 weeks ago

I like the Idea and will look into it