v1.6.0 — 2026-04-01#95
Merged
kingRayhan merged 2 commits intomainfrom Apr 1, 2026
Merged
Conversation
- Added unread notification count display in HomeLeftSidebar and DashboardSidebar components. - Created NotificationsNavLink and DashboardNotificationsMenuItem for improved navigation and user experience. - Updated NavbarActions to include a notification button that reflects unread counts. This enhancement provides users with immediate visibility of unread notifications across the application.
- Updated CHANGELOG.md to include new features such as in-app notifications, enhanced notification display, and unread notification count integration. - Addressed code review feedback with various bug fixes. - Refactored WorkOS skill documentation for improved clarity. Bumped version number in package.json to 1.6.0.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR introduces unread notification count display throughout the application. A new custom hook queries notification counts via React Query. Notification components are added to the navbar and sidebars with numerical badges capping at "99+". The package version is bumped to 1.6.0. Changes
Sequence DiagramsequenceDiagram
participant React as React Component
participant Session as useSession()
participant Query as useQuery() Hook
participant API as notificationActions
participant Cache as Query Cache
participant UI as Notification Badge
React->>Session: Check authenticated session
Session-->>React: Return session data
alt Session exists
React->>Query: Call useUnreadNotificationCount()
Query->>Cache: Check cached result
alt Cache miss or stale
Query->>API: Call unreadNotificationCount()
API-->>Query: Return { data: { count } }
Query->>Cache: Store result (60s TTL)
else Cache hit
Cache-->>Query: Return cached count
end
Query-->>React: Return { data: count }
React->>UI: Render badge if count > 0
UI-->>React: Display "99+" or actual count
else No session
React-->>React: Return null (skip rendering)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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.
v1.6.0 — 2026-04-01
✨ Features
🐛 Bug Fixes
🔧 Other Changes
Summary by CodeRabbit
New Features
Bug Fixes
Documentation