"Component-ize" the filetree panel
Merge remote-tracking branch 'upstream/pr/11476' into pr/11476

* upstream/pr/11476:
  "Component-ize" the filetree panel