Add comment threads, reactions, notifications and page watching

Comments are now threads: replies hang off a thread's first comment,
which alone points at text and can be resolved. Authors can edit their
own comments, and anyone who can comment can react with an emoji.
Resolved threads stop lighting text in the editor and fold away in the
panel. Comments can @mention people.

People watch the pages they create or comment on, and can watch or mute
a page from its menu. Muting is remembered. The inbox collects comments
on watched pages, replies in your threads, mentions (in comments and in
page text), pages shared with you and resolved threads. It shows an
unread badge in the sidebar, polled every minute, and links straight to
the thread. Nobody hears about their own actions or about pages they
cannot open, and a notification hides its text once access is lost.

Unread notifications are emailed as a digest every few minutes unless
the person turns that off. Read ones are pruned after 90 days. The jobs
registry can now run jobs on a timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tajniak81andClaude Opus 5.5 committed 2026-10-31 22:27:55 +01:00
1 parent 7968e82cc2
commit 2b78c167e2
31 files changed
+3083 -166

No files matched your search

+5
View File
@@ -76,6 +76,11 @@ export const iconPaths = {
"M12 3c2.5 2.5 3.5 5.5 3.5 9s-1 6.5-3.5 9",
"M12 3C9.5 5.5 8.5 8.5 8.5 12s1 6.5 3.5 9",
],
bell: ["M6 16V11a6 6 0 0 1 12 0v5l1.5 2h-15z", "M10 20a2 2 0 0 0 4 0"],
"bell-off": ["M6 16V11a6 6 0 0 1 9.5-4.9", "M18 11v5l1.5 2H8", "M10 20a2 2 0 0 0 4 0", "M4 4l16 16"],
smile: ["M12 3a9 9 0 1 0 0 18a9 9 0 1 0 0-18z", "M8.5 14a4 4 0 0 0 7 0", "M9 9.5h.01", "M15 9.5h.01"],
reply: ["M9 7L4 12l5 5", "M4 12h10a6 6 0 0 1 6 6v1"],
pencil: ["M15 5l4 4L8 20H4v-4z"],
users: [
"M9 11a3.5 3.5 0 1 0 0-7a3.5 3.5 0 1 0 0 7z",
"M3 20a6 6 0 0 1 12 0",