From a87ede0ae77e61886d5bb662c7926a73d5381c6b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 22:38:16 +0000 Subject: [PATCH] feat(ux): Add tooltips to Topbar icon-only buttons This UX enhancement adds tooltips to the icon-only buttons (Notifications, User Account, Settings) in the application Topbar. While these buttons already had `aria-label` attributes for screen readers, they lacked visual context for sighted users, which is a standard UX best practice for icon-only actions. Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com> --- src/components/nav/topbar.tsx | 68 +++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/src/components/nav/topbar.tsx b/src/components/nav/topbar.tsx index 9d1d921c..ae37214d 100644 --- a/src/components/nav/topbar.tsx +++ b/src/components/nav/topbar.tsx @@ -4,6 +4,7 @@ import React from 'react' import { Search, Bell, User, Settings as SettingsIcon, Command } from 'lucide-react' import { cn } from '@/lib/utils' import { Button } from '@/components/ui/button' +import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { DropdownMenu, DropdownMenuContent, @@ -53,27 +54,37 @@ export function Topbar() { {/* Right Side - Actions */}