Skip to content

feat: add trending users sub-tab#255

Merged
barrydeen merged 1 commit intomainfrom
feat/trending-users
Mar 16, 2026
Merged

feat: add trending users sub-tab#255
barrydeen merged 1 commit intomainfrom
feat/trending-users

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Adds a Trending Users mode to the trending feed via a person icon chip in the filter bar
  • Fetches up-and-coming profiles (kind 0) from wss://feeds.nostrarchives.com/users/upandcoming
  • Renders profile cards with avatars, names, NIP-05, bios, and individual follow buttons
  • Includes a "Follow All" bulk action that reactively updates count as users are followed
  • Hides the timeframe dropdown when in users mode; metric chips switch back to notes mode

Test plan

  • Open Trending feed → verify metric chips still work as before
  • Tap person icon → should switch to users view and fetch profiles
  • Verify profiles render with avatars, names, bios, follow buttons
  • Tap individual follow buttons → should immediately toggle to "Following"
  • Tap "Follow All" → should follow all unfollowed users, count updates reactively
  • Tap a profile card → should navigate to user profile screen
  • Tap a metric chip from users view → should switch back to notes
  • Test connection failure → should show error with retry

Add a TrendingMode toggle (NOTES vs USERS) to the trending filter bar.
The person icon chip fetches up-and-coming profiles from the nostrarchives
relay and renders them as profile cards with individual follow buttons
and a bulk "Follow All" action.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@barrydeen barrydeen merged commit 41c9664 into main Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant