feat(mentions): richer inbox — filters, date groups, type badge, relative time, per-row actions, highlighted preview

This commit is contained in:
simoleo89
2026-06-02 14:34:13 +02:00
committed by simoleo89
parent 22e28a31ab
commit 49d3bde50a
14 changed files with 399 additions and 73 deletions
+8
View File
@@ -40,4 +40,12 @@ export const markAllRead = (): void =>
emit();
};
export const removeMention = (mentionId: number): void =>
{
const next = mentions.filter(m => m.mentionId !== mentionId);
if(next.length === mentions.length) return;
mentions = next;
emit();
};
export const resetMentions = (): void => { mentions = []; emit(); };