feat: add notification bell with activity feed and notification preferences

- New NotificationBell component in topbar showing recent activity
- Popover with last 10 activity items from /api/domains/[id]/activity
- Notification preferences section in Settings > Shortcuts tab
- Preferences persisted to localStorage (pe_notification_prefs)
- Toggle switches for task_created, task_completed, habit_logged, comment_added
This commit is contained in:
2026-07-29 19:27:24 +00:00
parent 7ced6f2bf2
commit 9bc571eb69
4 changed files with 207 additions and 3 deletions
+1 -3
View File
@@ -42,9 +42,7 @@ export function TopBar() {
<Plus className="mr-1 h-4 w-4" aria-hidden="true" />
{label}
</Button>
<Button variant="ghost" size="icon" aria-label="Notifications">
<Bell className="h-5 w-5" aria-hidden="true" />
</Button>
<NotificationBell />
</div>
</header>
<CommandPalette />