archvillainetteandClaude Sonnet 5 ca2aefa156 Add a support inbox icon to the topbar (sow-nodebb-plugin-support#10)
Mirrors the existing unread-drawer pattern: a new dropdown next to the
notification bell, gated on templateData.support.visible (injected by
the support plugin's filter:middleware.renderHeader hook, on every page
render, for viewers with any support access at all). Opening it fetches
GET /plugins/support/notifications via the api module, renders up to
10 entries by textContent (never innerHTML), and marks everything read
via POST .../notifications/read, clearing the badge client-side.

Also present in the mobile burger drawer, same gating.

ponytail: no live socket push for this badge (core's own unread/notification
counts get one); it only catches up on the next full page load after the
box is opened. Noted in client.js as the upgrade path if that gap matters.

Verified live against sow-nodebb-plugin-support's dev NodeBB stack (theme +
plugin both mounted): icon hidden for a user with no support access, badge
count and dropdown contents correct for a reviewer, badge clears on open.
Full plain-node test suite passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 21:29:57 +02:00
2026-07-16 22:12:56 +00:00
2026-07-12 12:06:30 +00:00
2021-12-04 13:38:04 -05:00
2026-06-07 09:53:02 +02:00
2026-04-22 14:40:59 +02:00
2026-06-25 06:55:16 +00:00
2026-07-11 14:18:22 +00:00
2026-04-21 08:38:51 +02:00
2026-04-22 12:05:47 +02:00
2026-05-24 11:15:48 +02:00

Quickstart Theme for NodeBB

Also, add a screenshot! Take a picture of your theme, and save it as "screenshot.png" in the root of your theme folder, then add this to theme.json:

"screenshot": "screenshot.png"

Credits

Material theme by pichalite.

S
Description
NodeBB: Our custom website theme.
Readme GPL-3.0
34 MiB
Languages
SCSS 31.7%
HTML 30.4%
JavaScript 22.6%
Go Template 15.3%