archvillainetteandClaude Opus 5 4acf32ec09 Make the support drawer core's notification drawer (sow-nodebb-plugin-support#10)
The first version of this drawer built its own rows in JS. This one renders
core's `partials/notifications_list` partial with entries the support plugin
now returns in core's notification shape, so the markup is literally the
notification drawer's: avatar block, stretched link, muted timeago, per-entry
read dot, All/Unread filter row, and the same two footer buttons. The
handlers mirror core's too — only the API paths differ, because the list is
plugin-owned (core's unread count is one aggregate with no hook to carve a
type out of it).

Opening the box no longer marks everything read: like the bell, an entry is
read when you click it or use "Mark all read", and the dot toggles both ways.

Deletes the bespoke row builder and its hand-rolled relative-time helper;
`$.timeago` is what core uses for JS-inserted rows. The dropdown reuses the
`.notifications-dropdown` class this theme already styles, so it needs no CSS
of its own. Hardcoded English is gone (the code-review finding on the first
version): every string is a translation key.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-24 22:20:04 +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%