From b1a0c6e15400ac24fe437d180543d2fabec015a7 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Jan 2026 21:59:01 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Enhance=20UX=20with?= =?UTF-8?q?=20tooltips=20and=20Spanish=20linguistic=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added global `TooltipProvider` to `app/layout.tsx`. - Implemented `Tooltip` components for icon-only buttons in `task-list.tsx` (Edit, Delete, Expand). - Corrected numerous missing Spanish accents and tildes across `task-list.tsx`, `task-form.tsx`, and `task-dashboard.tsx` to improve accessibility and polish. - Improved ARIA labels with correct spelling for better screen reader support. Co-authored-by: Rumazor <87402949+Rumazor@users.noreply.github.com> --- .Jules/palette.md | 3 + frontend/app/layout.tsx | 9 +- frontend/components/tasks/task-dashboard.tsx | 4 +- frontend/components/tasks/task-form.tsx | 8 +- frontend/components/tasks/task-list.tsx | 92 ++++++++++++-------- 5 files changed, 71 insertions(+), 45 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..5df04f2 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2025-01-29 - [Spanish Linguistic Quality & Tooltip Foundation] +**Learning:** Found a systemic pattern of missing Spanish accents (tildes) in button labels, ARIA labels, and form fields, which negatively impacts professionalism and screen reader pronunciation. Also discovered that `TooltipProvider` was missing from the global layout, preventing the use of accessible tooltips. +**Action:** Always verify linguistic correctness in Spanish (check common words like 'Mañana', 'más', 'descripción', 'Título') and ensure `TooltipProvider` is available at the root level before implementing new tooltips. diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index 242af68..3b9b6d0 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -5,6 +5,7 @@ import "./globals.css"; import { Toaster } from "@/components/ui/toaster"; import { ThemeProvider } from "@/components/theme-provider"; import { PWAProvider } from "@/components/pwa"; +import { TooltipProvider } from "@/components/ui/tooltip"; const inter = Inter({ subsets: ["latin"] }); @@ -79,9 +80,11 @@ export default function RootLayout({ enableSystem disableTransitionOnChange > - {children} - - + + {children} + + + diff --git a/frontend/components/tasks/task-dashboard.tsx b/frontend/components/tasks/task-dashboard.tsx index eaa3798..0107e88 100644 --- a/frontend/components/tasks/task-dashboard.tsx +++ b/frontend/components/tasks/task-dashboard.tsx @@ -170,7 +170,7 @@ export default function TaskDashboard({ @@ -241,7 +241,7 @@ export default function TaskDashboard({ value="mis-tareas" className="data-[state=active]:bg-background" > - Mias + Mías {myTasksCount} diff --git a/frontend/components/tasks/task-form.tsx b/frontend/components/tasks/task-form.tsx index e03922b..3494b32 100644 --- a/frontend/components/tasks/task-form.tsx +++ b/frontend/components/tasks/task-form.tsx @@ -175,7 +175,7 @@ export default function TaskForm({
- +
- +