I think the idea is like adding a view button (?️) beside the panel in Views Tree section.
But we already can set the Visible property to False.
When I click the Designer Script area, Script mode (read-only) is activated, the panel (together with it's child views) will be hidden.
When the Properties section is focused, the panel and it's child views are visible.