feat: group rated view by star rating

Mirrors the tags view: rated section now buckets photos 5★→1★ with
an "Unrated" tail group, instead of a flat ratingMin=1 stream.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-09 20:30:44 +02:00
parent 03b99a40b0
commit 30cbcb8cd1
3 changed files with 53 additions and 4 deletions

View File

@@ -233,7 +233,7 @@ export function LeftSidebar({ onCollapse, onOpenSettings }: LeftSidebarProps) {
navigateToSection('all-photos', {})
break
case 'rated':
navigateToSection('rated', { ratingMin: 1 })
navigateToSection('rated', { ratingMin: 1, groupBy: 'rating' })
break
case 'discarded':
navigateToSection('discarded', { flag: 'discarded' })