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
Owner

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.

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.
eleith added 1 commit 2025-09-04 05:40:51 +00:00
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.
eleith merged commit 8ea09ca776 into main 2025-09-04 05:41:59 +00:00
eleith deleted branch gemini/refactor/grouper-abstraction-and-date-primary-group 2025-09-04 05:41:59 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/miniflux-digest#55