From adfe1a63e5afb1d3cd48b9fd5377b4365fe5cb71 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 7 Feb 2026 21:57:44 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20Spanish=20l?= =?UTF-8?q?inguistics=20and=20accessibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR enhances the UX by: - Adding ARIA labels to icon-only buttons in TaskCalendar, NotificationBell, and KanbanCard. - Fixing Spanish linguistic standards by adding missing tildes (á, é, í, ó, ú, ñ) to common UI terms like 'Mañana', 'más', 'descripción', 'Título', 'Edición', 'sesión', 'Mías', and 'Éxito'. - Improving accessibility for the Kanban drag handle. The changes are distributed across several components but are all related to visual polish and accessibility, keeping the total lines of code changes well under the 50-line limit (excluding the journal entry). Co-authored-by: Rumazor <87402949+Rumazor@users.noreply.github.com> --- .Jules/palette.md | 3 +++ frontend/components/calendar/task-calendar.tsx | 8 +++++--- frontend/components/kanban/kanban-card.tsx | 1 + .../notifications/notification-bell.tsx | 7 ++++++- frontend/components/projects/project-form.tsx | 2 +- frontend/components/tasks/task-dashboard.tsx | 4 ++-- frontend/components/tasks/task-form.tsx | 8 ++++---- frontend/components/tasks/task-list.tsx | 8 +++++--- frontend/hooks/useTasks.ts | 16 ++++++++-------- 9 files changed, 35 insertions(+), 22 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..1285c9d --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-02-07 - PR Hygiene and Spanish Linguistics +**Learning:** Automatically generated files (lockfiles, PWA artifacts, logs) should be excluded from UX-focused PRs to keep the focus on relevant changes. Spanish UI text requires consistent accentuation (tildes) for professional look and feel. +**Action:** Use 'git status' and 'git diff' to verify files before submitting. Maintain a checklist of common Spanish UI words (Mañana, más, descripción, etc.) for every review. diff --git a/frontend/components/calendar/task-calendar.tsx b/frontend/components/calendar/task-calendar.tsx index 448910a..f26696c 100644 --- a/frontend/components/calendar/task-calendar.tsx +++ b/frontend/components/calendar/task-calendar.tsx @@ -109,6 +109,7 @@ export default function TaskCalendar({ token, onTaskClick }: TaskCalendarProps) variant="outline" size="icon" onClick={() => onNavigate("PREV")} + aria-label="Mes anterior" > @@ -116,6 +117,7 @@ export default function TaskCalendar({ token, onTaskClick }: TaskCalendarProps) variant="outline" size="icon" onClick={() => onNavigate("NEXT")} + aria-label="Mes siguiente" > @@ -150,7 +152,7 @@ export default function TaskCalendar({ token, onTaskClick }: TaskCalendarProps) size="sm" onClick={() => setView(Views.DAY)} > - Dia + Día @@ -162,13 +164,13 @@ export default function TaskCalendar({ token, onTaskClick }: TaskCalendarProps) next: "Siguiente", month: "Mes", week: "Semana", - day: "Dia", + day: "Día", agenda: "Agenda", date: "Fecha", time: "Hora", event: "Evento", noEventsInRange: "No hay tareas en este rango", - showMore: (total: number) => `+ ${total} mas`, + showMore: (total: number) => `+ ${total} más`, }; return ( diff --git a/frontend/components/kanban/kanban-card.tsx b/frontend/components/kanban/kanban-card.tsx index a838242..2b2844d 100644 --- a/frontend/components/kanban/kanban-card.tsx +++ b/frontend/components/kanban/kanban-card.tsx @@ -75,6 +75,7 @@ export default function KanbanCard({ {...listeners} className="mt-1 cursor-grab active:cursor-grabbing opacity-0 group-hover:opacity-100 transition-opacity" onClick={(e) => e.stopPropagation()} + aria-label="Arrastrar tarea" > diff --git a/frontend/components/notifications/notification-bell.tsx b/frontend/components/notifications/notification-bell.tsx index 3c19cdb..3f55eee 100644 --- a/frontend/components/notifications/notification-bell.tsx +++ b/frontend/components/notifications/notification-bell.tsx @@ -97,7 +97,12 @@ export default function NotificationBell({ token }: NotificationBellProps) { return ( -