Skip to content

Added msg count endpoint and badge#6373

Open
dlmarion wants to merge 1 commit into
apache:mainfrom
dlmarion:message-badge
Open

Added msg count endpoint and badge#6373
dlmarion wants to merge 1 commit into
apache:mainfrom
dlmarion:message-badge

Conversation

@dlmarion
Copy link
Copy Markdown
Contributor

Adds a badge containing the count of critical or
high messages to the Messages link in the NavBar.
If the number of critical messages is > 0, then the
badge is red with the number of critical messages.
Otherwise, if there are high messages, then the
badge is yellow with the number of those messages.

Added an API endpoint to return the underlying counts
which does not use the same query parameters that are
used with the switches. This means that counts will reflect
messages that may not be seen on the messages page
if the user has a switch turned off. This will allow for users
to be notified that there are messages that they might not
be seeing.

@dlmarion dlmarion added this to the 4.0.0 milestone May 15, 2026
@dlmarion dlmarion self-assigned this May 15, 2026
@dlmarion
Copy link
Copy Markdown
Contributor Author

Screen shots:

crit-msg-count high-msg-count

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