feat: implement notification center UI with dropdown and full history…#133
Merged
SudiptaPaul-31 merged 2 commits intoJun 27, 2026
Merged
Conversation
|
@Delightech28 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! 🚀 |
Collaborator
|
@Delightech28 fix build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request: Notification Center UI (#119)
📋 Description
Implements a complete notification center system allowing users to view, manage, and interact with system and contract-related events. Includes a dropdown panel in the dashboard header and a dedicated full-page notification history view.
✨ Features
Notification Dropdown
Full-Page Notification History (
/dashboard/notifications)Real-time Updates
Notification Types
🔧 Technical Details
New Files Created
Service Layer
lib/notifications.ts— Notification database operationslistNotifications()— Paginated list with filterscountNotifications()— Count notificationsgetUnreadCount()— Get unread badge countmarkAsRead()/markAsUnread()— Toggle read statusmarkAllAsRead()— Bulk operationdeleteNotification()— Delete notificationcreateNotification()— Create new notificationAPI Endpoints
app/api/notifications/route.ts— List and mark all as readapp/api/notifications/[id]/route.ts— Update/delete individual notificationsapp/api/notifications/unread-count/route.ts— Get unread countUI Components
components/dashboard/notification-item.tsx— Individual notification cardcomponents/dashboard/notification-panel.tsx— Dropdown panelapp/dashboard/notifications/page.tsx— Full history pageapp/dashboard/notifications/notifications-client.tsx— Page client componentModified Files
components/dashboard/header.tsx— Added notification bell icon with panel integration🎯 Acceptance Criteria Met
🔐 Security & Performance
withAuthmiddleware🧪 Testing Recommendations
📱 UI/UX Highlights
🚀 Deployment Notes
lib/db/migrations/001_taskchain_schema.sql)📝 Related Issues
Closes #119