From bc27863930eca624e954889da8a3fc13082cc200 Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Mon, 6 Apr 2026 21:48:56 +0000 Subject: [PATCH] Fix UserMenu: add notifications panel + bug report form - Notifications show inline in dropdown (not a separate route) - Load from /api/notifications, show unread count badge - Mark all read button - Bug report form with /api/bug-report POST - Both panels toggle in the dropdown Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/UserMenu.vue | 205 ++++++++++++++++++--------- 1 file changed, 138 insertions(+), 67 deletions(-) diff --git a/frontend/src/components/UserMenu.vue b/frontend/src/components/UserMenu.vue index f6c4b6c..16207e1 100644 --- a/frontend/src/components/UserMenu.vue +++ b/frontend/src/components/UserMenu.vue @@ -10,23 +10,53 @@ - + + + +
+
+ ้€š็Ÿฅ ({{ notifications.length }}) + +
+
+
+
{{ n.title }}
+
{{ n.body }}
+
{{ formatTime(n.created_at) }}
+
+
ๆš‚ๆ— ้€š็Ÿฅ
+
+
+ + +
+ +
+ + +
+