Skip to content

feat: wire activity feed to real API data (Bounty #822)#918

Open
liqiuniu wants to merge 3 commits intoSolFoundry:mainfrom
liqiuniu:activity-feed-api
Open

feat: wire activity feed to real API data (Bounty #822)#918
liqiuniu wants to merge 3 commits intoSolFoundry:mainfrom
liqiuniu:activity-feed-api

Conversation

@liqiuniu
Copy link
Copy Markdown

@liqiuniu liqiuniu commented Apr 5, 2026

Summary

Wires the Activity Feed component to real API data. Addresses Bounty #822.


Changes

` (new)

  • ` 鈥?fetches activity events from backend
  • Type-safe ` interface

` (new)

  • React Query hook with 30-second auto-refresh
  • Graceful retry policy (retry: 1) for resilience
  • Reuses existing TanStack Query patterns

` (modified)

  • Imports ` hook
  • Passes real activity data to ` component
  • Falls back to mock data when API unavailable (existing component behavior)

Acceptance Criteria

  • Activity feed shows real events from the API
  • Events update without page refresh (30s polling)
  • Shows mock data when API unavailable (graceful fallback)

Testing

  1. Start frontend dev server
  2. Navigate to home page
  3. Activity feed should display events from ` endpoint
  4. Events refresh every 30 seconds automatically

Related

Bounty #822 鈥?#822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing-wallet PR is missing a Solana wallet for bounty payout

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant