From 5b37f7804390cdc6ace3d16eed11e854c4a140d3 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 23:20:03 +0000 Subject: [PATCH] feat(dashboard): add tooltips to navigation buttons Add tooltips to the Notifications, Profile, Command, and Mobile Menu buttons in the dashboard layout. Add `aria-label` to the Mobile Menu button for accessibility. - Wraps icon-only buttons in `Tooltip` components. - Ensures all interactive elements have accessible names and visual descriptions on hover. - Improves dashboard navigation usability. --- .Jules/palette.md | 3 + .../dashboard/FramerDashboardLayout.tsx | 90 ++++++++++++------- 2 files changed, 60 insertions(+), 33 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..dc1f4d3 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-01-24 - Icon-only buttons missing tooltips +**Learning:** While some icon-only buttons have `aria-label`, many lack visual tooltips (e.g., in `FramerDashboardLayout`), which hinders usability for sighted users who rely on hover for clarification. +**Action:** Systematically check for and add `Tooltip` wrappers to all `size="icon"` buttons or buttons containing only icons, ensuring `TooltipProvider` context is available. diff --git a/src/components/dashboard/FramerDashboardLayout.tsx b/src/components/dashboard/FramerDashboardLayout.tsx index 6452f2f..ca9d59c 100644 --- a/src/components/dashboard/FramerDashboardLayout.tsx +++ b/src/components/dashboard/FramerDashboardLayout.tsx @@ -6,6 +6,7 @@ import Link from 'next/link' import { signOut as nextAuthSignOut } from 'next-auth/react' import { Bell, ChevronRight, Compass, Menu, Search, Sparkles, Users } from 'lucide-react' import { cn } from '@/lib/utils' +import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { FluxLensLogo } from '@/components/FluxLensLogo' import { AnimatedGradientBackground, @@ -213,28 +214,38 @@ export function FramerDashboardLayout({ )}