9deb0302ca
The Project-grouping flag was one global bool while the grouping beneath it was already stored per scope (workspace vs all-profiles). Picking Project inside a workspace therefore dragged the all-profiles view into the project tree and vice versa — "I have to re-set grouping every time I switch." The flag now lives per scope like its sibling grouping atoms (the flat key keeps its historical name so existing choices survive), setSidebarGrouping writes to the scope it just switched INTO when Profile flips the view, and reset clears both scopes.