Add group dropdown to post filter dialog (#16) #17

Open
ocbot426786 wants to merge 1 commit from ocbot426786/feet:feature/group-filter-dropdown into master

1 commit

Author SHA1 Message Date
Open Source Contributor afa1127125 Add group dropdown to post filter dialog
Users can now restrict the Feed/Unread/Saved post lists to a specific
Fever group from the filter dialog. The app already fetched and cached
groups and feeds_groups, but nothing in the UI ever exposed them, so
posts could only be filtered by individually selected feeds.

- Add APICache.feedsInGroup() to resolve a group to the feeds that
  belong to it, skipping feed ids that no longer exist in the cache
- Add an "All groups"/group dropdown to FilterMenu; choosing a group
  limits the feed checklist to that group's feeds, and the dialog now
  reports the selected group together with the selected feeds
- Wire a new _groupFilter into the post filtering (ANDed with the feed
  filter), surface the active group in the app-bar entry, and reset it
  on a full refresh
- Cover the new behavior with unit tests for feedsInGroup() and widget
  tests for the group dropdown

Closes #16

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-10-27 14:43:50 +00:00