You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Plan: Add Dropdown Menu to MobileNav More Button
2
+
3
+
## Overview
4
+
Replace the static "More" button in `MobileNav.vue` with a shadcn-vue dropdown menu that opens upward, containing profile, login, logout, messages, and analytics items.
5
+
6
+
## Current State
7
+
-`MobileNav.vue` has a static "More" button that does nothing
8
+
- shadcn-vue `dropdown-menu` components are already installed at `@/components/ui/dropdown-menu/`
-`DropdownMenuTrigger` wrapping the existing icon button
26
+
-`DropdownMenuContent` with `side="top"` to open upward, `:side-offset="8"` for spacing
27
+
- Menu items:
28
+
-**Profile** (`IconUser`) → navigate to `/settings`
29
+
-**Login** (`LoginIcon`) → navigate to `/login` (only shown when not authenticated)
30
+
-**Messages** (`MessageIcon`) → navigate to `/messages`
31
+
-**Analytics** (`IconAnalytics`) → navigate to `/analytics`
32
+
-**Separator**
33
+
-**Logout** (`LogoutIcon`) → call `authStore.logout()` (the store already navigates to `/` internally), only shown when authenticated, with `variant="destructive"`
34
+
35
+
3.**Style dropdown content** to match nav's glassmorphism aesthetic:
36
+
- Use consistent `dark:` variants
37
+
- Keep `font-['Inter']` for labels
38
+
- Match the backdrop-blur and transparency style
39
+
40
+
## Verification
41
+
- Run `pnpm run type-check` to ensure no TypeScript errors
0 commit comments