Expand/Collapse trees

The new function of Expand/Collapse trees is a great step in the right direction but I think it could perform better if instead of Expanding and Collapsing everything, you could collapse and expand the selection?

Here’s a reference:
https://youtu.be/Hg6voflC2Gw?si=Ub8Pk3X61W9PxZkd&t=186