Unfortunately, I already commited to doing @anon20920130 Toolbar plugin first.
Perhaps maybe I can just combine the two ideas by putting in a code “fold all/unfold all” button on the toolbar plugin as a future update once the developer licenses are open again.