Skip to content

add(bluesky): Implement unread badge for notifications and chat - #744

Open
nexxai wants to merge 1 commit into
ferdium:mainfrom
nexxai:fix/bluesky-unread-badge
Open

add(bluesky): Implement unread badge for notifications and chat#744
nexxai wants to merge 1 commit into
ferdium:mainfrom
nexxai:fix/bluesky-unread-badge

Conversation

@nexxai

@nexxai nexxai commented Aug 28, 2026

Copy link
Copy Markdown

Pre-flight Checklist

Please ensure you've completed all of the following.

Description of Change

Bluesky recipe had no Ferdium.setBadge logic, so notifications/chat never produced a sidebar badge - unlike the Twitter recipe which sums AppTabBar_Notifications_Link + AppTabBar_DirectMessage_Link.

Fix: mirror Twitter pattern for Bluesky's LeftNav/BottomBarWeb (src/view/shell/desktop/LeftNav.tsx and src/state/queries/notifications/unread.tsx). Sum a[href^="/notifications"] [aria-label*="unread"] and a[href^="/messages"] [aria-label*="unread"] with numeric pill and title (N) fallbacks (src/lib/strings/headings.ts:bskyTitle).

Bumped to 1.1.5 and pnpm lint:fix && pnpm reformat-files && pnpm package passes (438 recipes, 0 failures).

…h Twitter recipe)

Mirrors twitter recipe pattern which sums AppTabBar_Notifications + DMs.
Bluesky LeftNav/BottomBar renders notification count as aria-label
'N unread items' inside a[href^='/notifications'] and chat similarly
inside a[href^='/messages'] (see src/view/shell/desktop/LeftNav.tsx:476
and src/view/shell/bottom-bar/BottomBarWeb.tsx:137 plus title fallback
via bskyTitle '(N) ' prefix). Sums both for direct badge; handles
numeric pill fallback and hasNew dot.

Bump 1.1.4 -> 1.1.5.
@nexxai nexxai changed the title Fix Bluesky unread badge for notifications and chat fix(bluesky): Implement unread badge for notifications and chat Aug 28, 2026
@nexxai nexxai changed the title fix(bluesky): Implement unread badge for notifications and chat add(bluesky): Implement unread badge for notifications and chat Aug 28, 2026
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.

1 participant