Skip to content

feat(mobile): add unread notification badge on notifications tab (#102)#75

Merged
phertyameen merged 2 commits into
bridgelet-org:mainfrom
limxiy:feat/unreadNotificationBadge-#102
Apr 27, 2026
Merged

feat(mobile): add unread notification badge on notifications tab (#102)#75
phertyameen merged 2 commits into
bridgelet-org:mainfrom
limxiy:feat/unreadNotificationBadge-#102

Conversation

@limxiy
Copy link
Copy Markdown
Contributor

@limxiy limxiy commented Apr 26, 2026

Executive Summary

Adds a red badge to the Notifications tab icon showing the unread count. Badge hides when count is 0, displays the numeric count up to 9, and shows 9+ beyond that.

notificationStore - Zustand store with unreadCount derived state and markAsRead / markAllAsRead actions
useNotificationBadge - hook encapsulating badge label logic
(tabs)/_layout.tsx - passes hook result to tabBarBadge prop
notifications.tsx - tap-to-read and mark-all-read to verify badge clears

closes #54

Type of Change

Mobile/ route and navigation tightly configured and setup using best practices

@phertyameen phertyameen merged commit 3ac18bc into bridgelet-org:main Apr 27, 2026
1 check 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.

Implement sender payment creation form

2 participants