Skip to content

feat: activity feed with pagination and real-time updates#327

Merged
Abd-Standard merged 2 commits into
Core-Foundry:mainfrom
MAN7A-afk:feat/activity-feed-pagination
Jun 26, 2026
Merged

feat: activity feed with pagination and real-time updates#327
Abd-Standard merged 2 commits into
Core-Foundry:mainfrom
MAN7A-afk:feat/activity-feed-pagination

Conversation

@MAN7A-afk

Copy link
Copy Markdown
Contributor

Closes #248

What
Implements the activity feed feature that displays recent actions and system events related to notifications.

Why
Closes the activity feed issue — users need visibility into notification delivery events, contract activity, preference changes, and other system actions in a single, paginated feed.

Changes
ActivityFeed.tsx

Replaced the append-only "Load More" pattern with proper page-based navigation using the existing PaginationControls component (prev/next + items-per-page select: 8 / 12 / 20 / 40)
Live real-time events prepend on page 1 and clear on page change to keep totals accurate
Moved mock event generation to module scope so page changes don't reshuffle results
activityApi.ts

Fixed missing ActivityType import in generateMockActivityEvents (would cause a runtime crash)
EventExplorerPage.tsx

Removed duplicate JSX line (pre-existing compile error unrelated to this feature)
Acceptance Criteria
Activity feed displays recent actions and system events with type-specific icons and colors
Events show useful metadata — notification ID, channel, contract address, user ID, template ID, webhook ID
Pagination works — prev/next page navigation, configurable page size, total count displayed
Real-time updates — new events prepend every 15s with a Live/Paused toggle
Testing
TypeScript: tsc --noEmit passes on all changed files
Manual: open the Activity Feed tab, verify events render, page through results, toggle Live/Paused

…ort and pre-existing JSX/duplicate errors

- ActivityFeed now uses PaginationControls (prev/next + items-per-page) instead
  of a Load More append pattern, satisfying the pagination acceptance criteria
- Live real-time events prepend correctly on page 1 and clear on page nav
- Mock events are stable across renders (module-scope constant)
- Fix missing ActivityType import in activityApi.ts generateMockActivityEvents
- Fix duplicate EventExplorerTable JSX element in EventExplorerPage.tsx
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

@MAN7A-afk 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

@Abd-Standard Abd-Standard merged commit 3cc510c into Core-Foundry:main Jun 26, 2026
0 of 3 checks passed
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.

[Frontend] Add Notification Activity Feed

2 participants