Automatically expand collapsed file if clicked from the tree view

Problem to solve

When using the tree view, I click on a file that is collapsed and then scroll right by it because it's still collapsed.

Further details

As a user, I am explicitly expressing a desire to view the collapsed file. I should be taken to file.

Proposal

Expand collapsed files if clicked from the tree view.

What does success look like, and how can we measure that?

Links / references

Assignee Loading
Time tracking Loading