This is one I have been asking for for years and is probably my most wanted request, but posting here so it is on the new radar.
I’d like at least a manually invokable command that expands the outline to show all items that match the filter (text and filter buttons), and also collapse each matching item that is last in its branch. Right now I can sort of manually approximate this by collapsing all and then using filter text to filter.
Ideally there would be an option to always apply this command whenever a filter is modified. Maybe call it “Expand to show matching items only” or something like that.