741f0fc73742d3cb0beb96dd049dad2379e1fb6c
Feed component changes: - Added "communities" as a feed tab type - Load showGlobalFeed and showCommunitiesFeed from localStorage - Conditionally render Global tab based on setting - Conditionally render Communities tab based on setting - Tab buttons dynamically appear/disappear based on user preferences useFeed hook changes: - Extended to support 'communities' tab type - Loads community list from localStorage (mew:communities) - Fetches NIP-05 JSON data for each community - Extracts all pubkeys from community NIP-05 data - Queries posts from all community members - Returns feed filtered to community pubkeys - Includes all enabled content types (vines, polls, etc.) How it works: 1. User adds communities in Settings > Content > Feed Tabs 2. User enables "Communities Feed" toggle 3. Communities tab appears in main feed navigation 4. Shows posts from all users in added communities 5. Respects NIP-05 verification (only shows users in the JSON) Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
Description
Languages
TypeScript
95.7%
Java
1.5%
JavaScript
0.9%
Swift
0.9%
CSS
0.5%
Other
0.4%