Skip to content

feat: add notification/toast system for real-time events#123

Merged
AditthyaSS merged 1 commit into
AditthyaSS:mainfrom
aman7554:feat/add-a-notification-toast-system
Jun 13, 2026
Merged

feat: add notification/toast system for real-time events#123
AditthyaSS merged 1 commit into
AditthyaSS:mainfrom
aman7554:feat/add-a-notification-toast-system

Conversation

@aman7554

@aman7554 aman7554 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

🚀 Global Toast Notification System for Realtime Events

📌 Summary

This PR introduces a global toast notification system that surfaces realtime events across the app, ensuring users never miss updates even when they’re not on the feed page.

🧩 Changes

🧱 Added Toast component and ToastProvider
🌐 Integrated ToastProvider into the app root layout
⚡ Connected realtime feed events to trigger toast notifications
⏱️ Auto-dismiss implemented (4s timeout)
📊 Limited concurrent toasts (max 3 visible at once)
🔗 Click interaction navigates users to the relevant entity/page

🎯 Why this matters

Users now get instant feedback for realtime activity, improving engagement and awareness even when they’re not actively viewing the feed.

🔗 Related Issue

Closes #104

🧪 Testing

Feature implemented and tested locally
Verified toast rendering, stacking, auto-dismiss behavior, and navigation flow

⚠️ Notes

npm run build / npx tsc --noEmit shows pre-existing project errors
No new TypeScript or build errors introduced in this PR
Changes in this branch are isolated and safe

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

@aman7554 is attempting to deploy a commit to the aditthyass' projects Team on Vercel.

A member of the Team first needs to authorize it.

@aman7554

aman7554 commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

Would you please merge my pull request #123 and add labels
?

@AditthyaSS AditthyaSS merged commit d7af4a7 into AditthyaSS:main Jun 13, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ui] Add a notification/toast system for real-time events

2 participants