Skip to content

Show topic counts for custom nav links matching /new and /unread#57

Closed
akanora wants to merge 0 commit into
discourse:mainfrom
akanora:main
Closed

Show topic counts for custom nav links matching /new and /unread#57
akanora wants to merge 0 commit into
discourse:mainfrom
akanora:main

Conversation

@akanora

@akanora akanora commented Jul 17, 2026

Copy link
Copy Markdown

Custom nav links pointing to /new or /unread now display the topic count in parentheses (e.g., "New (24)"), matching the behavior of Discourse's built-in navigation items. The count is retrieved from the TopicTrackingState service and updates reactively. Links with other URLs remain unchanged.

@akanora
akanora force-pushed the main branch 2 times, most recently from adf6117 to 0a82b8c Compare July 18, 2026 00:42
@akanora akanora closed this Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant