refactor(digest): Remove grouper abstraction and add date primary group #55

Merged
eleith merged 1 commits from gemini/refactor/grouper-abstraction-and-date-primary-group into main 2025-09-04 05:41:59 +00:00
1 Commits
Author SHA1 Message Date
eleith 54b1d300e4 refactor(digest): Remove grouper abstraction and add date primary group
This commit refactors the digest grouping logic to remove the `Grouper` and `SubGrouper` abstractions. This simplifies the code and makes it easier to add new grouping logic.

It also introduces a new primary grouper for dates, which is used by the `date` view.

The `date` view now groups by date (oldest first), then by feed.
The `category` view groups by category, then by feed.
The `ai` view groups by category, then by LLM.

The sub-group titles are also fixed to no longer include the primary group title.
2025-09-04 05:40:08 +00:00