refactor: reorder reading progress filters - highlighted before completed

- Move highlighted filter before completed in button order
- Reading filters now appear in logical order:
  All → Unopened → Started → Reading → Highlighted → Completed
This commit is contained in:
Gigi
2025-10-19 22:20:31 +02:00
parent db3084b373
commit 2e8dfaee09

View File

@@ -16,8 +16,8 @@ const ReadingProgressFilters: React.FC<ReadingProgressFiltersProps> = ({ selecte
{ type: 'unopened' as const, icon: faEnvelope, label: 'Unopened' }, { type: 'unopened' as const, icon: faEnvelope, label: 'Unopened' },
{ type: 'started' as const, icon: faEnvelopeOpen, label: 'Started' }, { type: 'started' as const, icon: faEnvelopeOpen, label: 'Started' },
{ type: 'reading' as const, icon: faBookOpen, label: 'Reading' }, { type: 'reading' as const, icon: faBookOpen, label: 'Reading' },
{ type: 'completed' as const, icon: faCheckCircle, label: 'Completed' }, { type: 'highlighted' as const, icon: faHighlighter, label: 'Highlighted' },
{ type: 'highlighted' as const, icon: faHighlighter, label: 'Highlighted' } { type: 'completed' as const, icon: faCheckCircle, label: 'Completed' }
] ]
return ( return (