Boolean properties should hide child elements from sidebar

I’m liking the new properties within Figma but there are quite a large number of improvements that can be made, one of which is hiding properties in the sidebar if their parent (or anything above them) is hidden.

Currently if you have a text property and a boolean on the text and hide it using the property the text property is hidden in the sidebar. This makes sense, but it should also be the case for any elements above it. For example, if I have a group and that group contains text with the text property, if the group is hidden I would expect the text properties (child elements in the group which are subsequently hidden) to not be shown in the sidebar.

This would make the sidebar much more neater. To achieve the same thing, if you allowed multiple properties to be added to a component that could solve the issue.