Make the graph view visualizations sidepane a sidebar, with the ability to manually (and automatically) hide it to provide more space for the treeview's folder names
Problem statement
99% of the time I don't look at, and therefore don't need, the rings chart (and "treemap chart"), yet they eat 50% of the precious window width.
I just want to dig through the treeview which already has accurate counts and bar charts built-in, and it is already sorted by size. I want to be able to read long folder/file names in that treeview (I have very long folder names in deep multi-levels paths).
This is particularly true when I'm on a laptop screen (with a 1280px width), or a portrait HD screen (1080 px width) or tiled screen half (960px resolution).
Proposed solution
Make that pane a sidebar using the new libadwaita sidebar widgets available in GNOME 45+.
It should be possible to toggle the visualizations' pane off...
- Automatically:
- When the window width is too constrained (which would be useful for mobile formfactor compatibility anyway)
- When the window is tiled to half of the monitor (we can presume space is usually at a premium then)
- Manually: with the standard
F9
shortcut as the toggle for it.
I'm even OK with this "manual toggle" feature being an easter-egg that is only documented in the keyboard shortcuts dialog, if you don't want to add a menubutton for it in the analysis results view.
When this sidebar is toggled off, that state should be automatically remembered in a gsettings/dconf key, so that it doesn't reappear by itself on the next startup.
Both methods are valid to have at the same time, as the system cannot really predict how much space the user will want to have to read folder names in practice.