Repository navigation
Connected Navbar Notif Bell + Added Regression Coverage - #287
Conversation
✅ Deploy Preview for servicestart ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Disclaimer: This comment was AI-generated and is not necessarily completely accurate. Please take code comments with a grain of salt.
|
| if (isNotifications) { | ||
| return ( | ||
| <NotificationsSidebar | ||
| key={item.href} | ||
| trigger={ | ||
| <button | ||
| type="button" | ||
| aria-label="Notifications" | ||
| className="w-full text-left" | ||
| > | ||
| {navItem} | ||
| </button> | ||
| } | ||
| /> |
There was a problem hiding this comment.
Full Inbox Access Lost On desktop with a vertical navbar, clicking Inbox now opens only the sidebar. The icon-only vertical navbar does the same. Neither sidebar offers a link to the full Inbox page, so admins using these layouts lose the normal navigation path to its “New +” notification-composition action.
| const bellButton = ( | ||
| <Link | ||
| href="/inbox" | ||
| aria-label="Notifications" | ||
| className="relative rounded-md p-2 text-grey-text-strong transition-colors hover:bg-brand-text/10" | ||
| > | ||
| <BogIcon name="bell" size={24} /> | ||
| {unreadCount > 0 && ( | ||
| <span className="absolute right-0 top-0 flex h-5 min-w-5 items-center justify-center rounded-full bg-status-red-text px-1 text-xs font-bold text-white"> | ||
| {unreadCount > 99 ? "99+" : unreadCount} | ||
| </span> | ||
| )} | ||
| </Link> | ||
| <NotificationCounter | ||
| unreadCount={unreadCount} | ||
| iconSize={24} | ||
| className="rounded-md p-2 text-grey-text-strong transition-colors hover:bg-brand-text/10" | ||
| badgeClassName="right-0 top-0" | ||
| /> | ||
| ); |
| <Dialog.Description className="sr-only"> | ||
| View and manage your notifications. | ||
| </Dialog.Description> |
There was a problem hiding this comment.
Modal Description Misses Required Styling The new dialog description has only
sr-only styling. The repository’s modal-style requirement says descriptions must use the paragraph-1 CSS variables and white text. This requirement needs to be satisfied before merging.
Rule Used: Modal titles should use the heading-1 CSS variables from src/styles/globals.css for font-size, font-family, and line-height (responsive for desktop and mobile). Modal descriptions should use the paragraph-1 CSS variables from the same file. Bot... (source)
Learned From
GTBitsOfGood/design-system#76
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| </Dialog.Description> | ||
| <div className="shrink-0 px-5 pt-6 mobile:px-8 mobile:pt-12"> | ||
| <div className="mb-4 mobile:mb-8 flex items-center justify-between"> | ||
| <Dialog.Title className="text-heading-3 text-grey-text-strong"> |
There was a problem hiding this comment.
Modal Title Styling The sidebar title uses
text-heading-3 and grey text. The repository requires modal titles to use responsive heading-1 CSS variables and white text. This requirement must be satisfied before merging.
Rule Used: Modal titles should use the heading-1 CSS variables from src/styles/globals.css for font-size, font-family, and line-height (responsive for desktop and mobile). Modal descriptions should use the paragraph-1 CSS variables from the same file. Bot... (source)
Learned From
GTBitsOfGood/design-system#76
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
The vertical navbars now open the sidebar from their Inbox item, which left no path to /inbox (and its New + action) in those layouts. Add a "View full inbox" link to the sidebar header that closes the panel and navigates to the inbox page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VeYmbN1aRFTdeZM8vU2cC3
|
Pushed 83788b0 to address Greptile's P1 "Full Inbox Access Lost": the vertical navbars' Inbox item now opens the sidebar, which left no way to reach Left as-is:
Generated by Claude Code |
Closes #191
Description
Changes Made
Video Showing Notif Bell is Connected to the Sidebar, Sidebar Filters Working, Counts Being Updated, and Closing of Sidebar
Screen.Recording.2026-09-26.at.8.18.16.PM.mov
Video Showing that it Works Across Diff Screens
Screen.Recording.2026-09-26.at.8.20.06.PM.mov
How to Test
Checklist: