feat: Filter home feed by community in-place instead of navigating away

Previously, selecting a community from the home screen top nav filter
would navigate to the community page. Now it filters the home feed
in-place, applying the community filter to all tabs (New Threads,
Conversations, Live) and adjusting subscriptions accordingly.

The in-place filtering infrastructure already existed (SingleCommunityTopNavFilter,
FilterByListParams, HomeOutboxEventsEoseManager) but was bypassed because
community FeedDefinitions had a route that triggered navigation.

https://claude.ai/code/session_0139NCoHmqvp3aRD3FUjuues
This commit is contained in:
Claude
2026-04-08 20:42:19 +00:00
parent b2a9215788
commit 2435321070
@@ -162,7 +162,6 @@ class TopNavFilterState(
FeedDefinition(
TopFilter.Community(communityNote.address),
CommunityName(communityNote),
route = Route.Community(communityNote.address.kind, communityNote.address.pubKeyHex, communityNote.address.dTag),
)
}