Skip to content

feat(ui): make sidebar sections and cleanup groups collapsible on label click - #196

Merged
momenbasel merged 1 commit into
momenbasel:mainfrom
itsamanvishwakarma:ui/collapsible-sidebar-sections
Nov 19, 2026
Merged

momenbasel merged 1 commit into
momenbasel:mainfrom
itsamanvishwakarma:ui/collapsible-sidebar-sections

Conversation

@itsamanvishwakarma

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Allows toggling Cleanup and Developer Cleanup dropdown groups by clicking anywhere on their header row, in addition to the disclosure chevron.
  • Adds matching sidebar hover styling to the Cleanup disclosure headers for visual consistency.
  • Makes the primary sidebar section headers (Care, Applications, and Tools) collapsible with a compact chevron icon that toggles when clicking the header text.
  • Synchronizes selection changes and keyboard navigation (visibleSections) with section expansion states.

Type of change

  • Bug fix
  • New feature
  • Performance improvement
  • UI/UX enhancement
  • Documentation
  • Other (describe)

Testing

  • Tested on macOS Ventura (13.x)
  • Tested on macOS Sonoma (14.x)
  • Tested on macOS Sequoia (15.x)
  • Verified with xcodebuild test -scheme PureMac (all 177 tests passing).

@momenbasel
momenbasel merged commit 843aa3c into momenbasel:main Nov 19, 2026
@momenbasel

momenbasel commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Thanks, landed on main in 9028c74 (#209). bfab686 drops the sidebarLabelColor helper that the new headers no longer use.
Reason: Cleanup and Developer Cleanup only toggled on their small chevron, and Care, Applications and Tools could not be folded in a long sidebar.

momenbasel added a commit that referenced this pull request Nov 19, 2026
Version 3.3.0 (build 32). Release notes cover #197, #201, #199, #186,
#196 and the localization work in #188, #194, #198, #200, #206, #193,
#208 and #187.
iramarfalcao pushed a commit to iramarfalcao/PureMac that referenced this pull request Nov 19, 2026
Reason: the collapsible Care, Applications and Tools headers from momenbasel#196
gave VoiceOver no state, so a collapsed section read the same as an open
one. Reuses the Expanded/Collapsed value PerformanceView already sets,
marks the headers as headings, and translates the two state words where
ar, de, es, pt-BR and uk still had English.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants