Skip to content

Add a recent buyer activity feed on the key detail page showing the last 5 trades in real time #845

Description

@Chucks1093

Summary

New visitors to a key detail page have no social proof of activity. A live activity feed showing the last 5 buys and sells with wallet address (truncated), quantity, and time ago would signal that the key is actively traded.

Scope

  • Fetch the last 5 trades from GET /keys/:keyId/trades?limit=5 on key detail page load
  • Poll every 30 seconds and prepend new trades to the top of the feed
  • Render each row with truncated wallet address, trade type (Buy/Sell), quantity, and time ago
  • Animate new rows sliding in from the top with a brief highlight
  • Show 'No recent activity' when no trades exist

Acceptance Criteria

  • Last 5 trades rendered on load
  • New trades prepended every 30 seconds if available
  • Slide-in animation plays for new rows
  • 'No recent activity' shown when no trades exist
  • Buy rows shown in green, sell rows in red

ETA: 12 hours


Coordinate on Telegram

Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions