Skip to content

feat:recent activity list#67

Merged
codebestia merged 2 commits into
ShadeProtocol:mainfrom
pheobeayo:feat/recent-activity-list-component
Jun 3, 2026
Merged

feat:recent activity list#67
codebestia merged 2 commits into
ShadeProtocol:mainfrom
pheobeayo:feat/recent-activity-list-component

Conversation

@pheobeayo
Copy link
Copy Markdown
Contributor

@pheobeayo pheobeayo commented May 29, 2026

Summary

Add the RecentActivity feed component for the merchant dashboard. Merchants can now see a live list of recent events (payments, invoices, refunds, etc.) with icons, amounts, and relative timestamps. Domain types are extracted to lib/activity.ts following the existing pattern in lib/utils.ts.

Closes #16

Changes

  • src/lib/activity.ts — new file; exports ActivityEventType union and ActivityEvent type
  • src/components/RecentActivity.tsx — new component; renders a vertically-stacked event feed with per-type icon badges and colour coding, relative timestamps, amount formatting, and an empty state

Verification

  • npm run typecheck
  • npm run format:check

Notes

Screenshot 2026-05-29 134359

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@pheobeayo Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Copy link
Copy Markdown
Contributor

@codebestia codebestia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thanks

Copy link
Copy Markdown
Contributor

@codebestia codebestia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thanks

@codebestia codebestia merged commit c61763a into ShadeProtocol:main Jun 3, 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.

Create RecentActivity List Component

2 participants