To my understanding, you are in the process of rewriting the layer panel.
In doing so would it be possible to put this
name filter input field into the panel’s header?
(In fact, I only noticed today(!) that filtering for layer names is at all possible…)