Skip to content

Activity feed: seen/unseen counts + mark-seen endpoint#53

Merged
immerSIR merged 1 commit into
223MapAction:mainfrom
immerSIR:activity-seen
Jul 1, 2026
Merged

Activity feed: seen/unseen counts + mark-seen endpoint#53
immerSIR merged 1 commit into
223MapAction:mainfrom
immerSIR:activity-seen

Conversation

@immerSIR

@immerSIR immerSIR commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

FE request: expose seen/unseen on the activity feed like read/unread on notifications.

  • New User.activity_seen_at timestamp (migration 0009, nullable).
  • GET /activity-feed/ response now includes unseen_count, seen_count (+ total_count). Unseen = feed items created after the user's last view; everything is unseen if never viewed.
  • New POST /activity-feed/mark-seen/ → sets activity_seen_at = nowunseen_count back to 0.
    Verified on dev (28 unseen → mark-seen → 0).

@immerSIR immerSIR merged commit 1f13723 into 223MapAction:main Jul 1, 2026
2 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.

1 participant