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:
@@ -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),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user