| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- Render exactly one badge per workspace tab, by priority: logged-out warning, then mention count, then unread dot. Previously a logged-out server with unread messages stacked two badges side by side. - Show the unread-without-mentions state as the same 16px ghost badge as the mention count, with a drawn 2px dot instead of a text glyph, sized to match the macOS dock badge bullet. - Remove the text-color override that referenced a nonexistent token (--rcx-color-font-white), which made badge content inherit the tab's dark text color instead of Fuselage's white. Same fix applied to the ServerSwitcher notification tint. - Centre-anchor the floated badges on a fixed point so every variant (dot, warning, wide count) lands on the same spot on vertical tabs. - Document why the ghost variant is used: its background flips to a light gray in the dark palette, keeping badges visible on the dark tab strip where the server's level-1 badge color would blend in.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 692d4bcc-ad62-4fc8-ace0-0874dc57190c 📥 CommitsReviewing files that changed from the base of the PR and between 2410e6e and e98ba9f. 📒 Files selected for processing (3)
WalkthroughWorkspace tabs now render one prioritized badge for login warnings, mention counts, or unread state. Badge styling now centers all variants consistently. Tests cover badge priority, unread sizing, and vertical alignment. ServerSwitcher now uses the badge ghost color token fallback. ChangesWorkspace badge behavior
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: type: bug 🚥 Pre-merge checks | ✅ 5 ✅ Passed checks (5 passed)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
The badge-with-drawn-dot unread indicator is meant for the sidebar layout. Horizontal tabs go back to the plain 8px ball, picked by orientation in WorkspaceTab.
Resolves conflicts with the merged tab/badge work: - Shell: keep this PR's UpdateLabel in the TabBar/TopBar slots (replacing the UpdateDialog modal) and its Windows top-padding adjustment - TabBar (WorkspaceTab, styles, spec) and ServerSwitcher: take master's side — the badge redesign and priority logic from #3434 plus its token fix supersede the pre-redesign versions this branch carried
| Back | FazBrowse Home | New Git URL |
What
Fixes several issues with the unread/mention badges on workspace tabs (sidebar and tab strip):
Why ghost and not the server's badge color
The web client's unread badge uses the level-1 badge token (#484C51 in dark theme), which is designed for the room list panel. On the darker tab strip it blends in. The ghost variant's background (stroke-dark) flips to a light gray in the dark palette, keeping badges legible there. This is now documented in a comment in styles.tsx.
Tests
Summary by CodeRabbit
Bug Fixes