From ee6314e8892adc0b4266d30fe4321633119d90a8 Mon Sep 17 00:00:00 2001 From: Rumazor Date: Tue, 27 Jan 2026 20:25:46 -0300 Subject: [PATCH 1/3] mejoras --- .Jules/palette.md | 3 - backend/.env.template | 12 +- backend/docker-compose.yaml | 46 +- backend/package-lock.json | 14804 ++++++++++++++++ backend/package.json | 9 + backend/src/activity/activity-log.entity.ts | 51 + backend/src/activity/activity.controller.ts | 60 + backend/src/activity/activity.module.ts | 13 + backend/src/activity/activity.service.ts | 136 + backend/src/app.module.ts | 38 +- backend/src/auth/auth.controller.ts | 98 +- backend/src/auth/auth.module.ts | 2 + backend/src/auth/auth.service.ts | 190 +- backend/src/auth/dto/register.dto.ts | 12 +- backend/src/cache/cache.module.ts | 62 + backend/src/cache/cache.service.ts | 91 + backend/src/cache/index.ts | 2 + backend/src/comments/comment.controller.ts | 66 + backend/src/comments/comment.entity.ts | 31 + backend/src/comments/comment.module.ts | 14 + backend/src/comments/comment.service.ts | 90 + .../src/comments/dto/create-comment.dto.ts | 42 + .../src/common/decorators/roles.decorator.ts | 5 + backend/src/common/guards/roles.guard.ts | 23 + backend/src/mail/mail.module.ts | 8 + backend/src/mail/mail.service.ts | 112 + backend/src/main.ts | 10 +- .../src/notifications/dto/notification.dto.ts | 52 + .../notifications/notification.controller.ts | 76 + .../src/notifications/notification.entity.ts | 48 + .../src/notifications/notification.module.ts | 15 + .../src/notifications/notification.service.ts | 145 + .../src/projects/dto/create-project.dto.ts | 62 + backend/src/projects/project.controller.ts | 84 + backend/src/projects/project.entity.ts | 38 + backend/src/projects/project.module.ts | 13 + backend/src/projects/project.service.ts | 120 + backend/src/stats/stats.controller.ts | 70 + backend/src/stats/stats.module.ts | 14 + backend/src/stats/stats.service.ts | 155 + backend/src/tags/dto/create-tag.dto.ts | 43 + backend/src/tags/tag.controller.ts | 73 + backend/src/tags/tag.entity.ts | 31 + backend/src/tags/tag.module.ts | 13 + backend/src/tags/tag.service.ts | 61 + backend/src/tasks/dto/create-task.dto.ts | 46 +- backend/src/tasks/dto/task-filter.dto.ts | 67 + backend/src/tasks/dto/update-dto.ts | 52 +- backend/src/tasks/task.controller.ts | 28 +- backend/src/tasks/task.entity.ts | 31 + backend/src/tasks/task.module.ts | 5 +- backend/src/tasks/task.service.ts | 321 +- backend/src/users/user.entity.ts | 46 +- backend/src/websockets/events.gateway.ts | 133 + backend/src/websockets/websockets.module.ts | 20 + backend/yarn.lock | 2953 ++- docker-compose.yml | 37 +- frontend/app/calendar/page.tsx | 32 + frontend/app/dashboard/dashboard-wrapper.tsx | 18 + frontend/app/dashboard/page.tsx | 10 +- frontend/app/globals.css | 114 +- frontend/app/layout.tsx | 60 +- frontend/app/offline/page.tsx | 40 + frontend/app/projects/[id]/page.tsx | 18 + frontend/app/projects/[id]/project-view.tsx | 172 + .../components/activity/activity-feed.tsx | 166 + .../components/calendar/task-calendar.tsx | 240 + frontend/components/comments/comment-list.tsx | 150 + frontend/components/dashboard/stat-card.tsx | 62 + .../components/dashboard/stats-dashboard.tsx | 247 + frontend/components/kanban/kanban-board.tsx | 250 + frontend/components/kanban/kanban-card.tsx | 157 + frontend/components/kanban/kanban-column.tsx | 77 + .../notifications/notification-bell.tsx | 179 + frontend/components/projects/project-form.tsx | 144 + frontend/components/projects/project-list.tsx | 178 + frontend/components/pwa/index.ts | 3 + frontend/components/pwa/install-prompt.tsx | 91 + frontend/components/pwa/offline-indicator.tsx | 17 + frontend/components/pwa/pwa-provider.tsx | 23 + frontend/components/tasks/actions.ts | 771 +- frontend/components/tasks/task-dashboard.tsx | 271 +- frontend/components/tasks/task-filters.tsx | 342 + frontend/components/tasks/task-form.tsx | 301 +- frontend/components/tasks/task-list.tsx | 239 +- frontend/components/ui/popover.tsx | 4 +- frontend/contexts/socket-context.tsx | 113 + frontend/hooks/useOnlineStatus.ts | 25 + frontend/hooks/useTasks.ts | 61 +- frontend/lib/auth.ts | 90 +- frontend/lib/types.ts | 52 + frontend/next.config.mjs | 61 +- frontend/package-lock.json | 10069 +++++++++++ frontend/package.json | 12 +- frontend/public/favicon.svg | 17 + frontend/public/icons/icon-128x128.svg | 17 + frontend/public/icons/icon-144x144.svg | 17 + frontend/public/icons/icon-152x152.svg | 17 + frontend/public/icons/icon-192x192.svg | 17 + frontend/public/icons/icon-384x384.svg | 17 + frontend/public/icons/icon-512x512.svg | 17 + frontend/public/icons/icon-72x72.svg | 17 + frontend/public/icons/icon-96x96.svg | 17 + frontend/public/manifest.json | 80 + frontend/public/sw.js | 1 + frontend/public/workbox-00a24876.js | 1 + frontend/scripts/generate-icons.js | 48 + frontend/tsconfig.json | 24 +- frontend/yarn.lock | 4170 ++++- 109 files changed, 38271 insertions(+), 1947 deletions(-) delete mode 100644 .Jules/palette.md create mode 100644 backend/package-lock.json create mode 100644 backend/src/activity/activity-log.entity.ts create mode 100644 backend/src/activity/activity.controller.ts create mode 100644 backend/src/activity/activity.module.ts create mode 100644 backend/src/activity/activity.service.ts create mode 100644 backend/src/cache/cache.module.ts create mode 100644 backend/src/cache/cache.service.ts create mode 100644 backend/src/cache/index.ts create mode 100644 backend/src/comments/comment.controller.ts create mode 100644 backend/src/comments/comment.entity.ts create mode 100644 backend/src/comments/comment.module.ts create mode 100644 backend/src/comments/comment.service.ts create mode 100644 backend/src/comments/dto/create-comment.dto.ts create mode 100644 backend/src/common/decorators/roles.decorator.ts create mode 100644 backend/src/common/guards/roles.guard.ts create mode 100644 backend/src/mail/mail.module.ts create mode 100644 backend/src/mail/mail.service.ts create mode 100644 backend/src/notifications/dto/notification.dto.ts create mode 100644 backend/src/notifications/notification.controller.ts create mode 100644 backend/src/notifications/notification.entity.ts create mode 100644 backend/src/notifications/notification.module.ts create mode 100644 backend/src/notifications/notification.service.ts create mode 100644 backend/src/projects/dto/create-project.dto.ts create mode 100644 backend/src/projects/project.controller.ts create mode 100644 backend/src/projects/project.entity.ts create mode 100644 backend/src/projects/project.module.ts create mode 100644 backend/src/projects/project.service.ts create mode 100644 backend/src/stats/stats.controller.ts create mode 100644 backend/src/stats/stats.module.ts create mode 100644 backend/src/stats/stats.service.ts create mode 100644 backend/src/tags/dto/create-tag.dto.ts create mode 100644 backend/src/tags/tag.controller.ts create mode 100644 backend/src/tags/tag.entity.ts create mode 100644 backend/src/tags/tag.module.ts create mode 100644 backend/src/tags/tag.service.ts create mode 100644 backend/src/tasks/dto/task-filter.dto.ts create mode 100644 backend/src/websockets/events.gateway.ts create mode 100644 backend/src/websockets/websockets.module.ts create mode 100644 frontend/app/calendar/page.tsx create mode 100644 frontend/app/dashboard/dashboard-wrapper.tsx create mode 100644 frontend/app/offline/page.tsx create mode 100644 frontend/app/projects/[id]/page.tsx create mode 100644 frontend/app/projects/[id]/project-view.tsx create mode 100644 frontend/components/activity/activity-feed.tsx create mode 100644 frontend/components/calendar/task-calendar.tsx create mode 100644 frontend/components/comments/comment-list.tsx create mode 100644 frontend/components/dashboard/stat-card.tsx create mode 100644 frontend/components/dashboard/stats-dashboard.tsx create mode 100644 frontend/components/kanban/kanban-board.tsx create mode 100644 frontend/components/kanban/kanban-card.tsx create mode 100644 frontend/components/kanban/kanban-column.tsx create mode 100644 frontend/components/notifications/notification-bell.tsx create mode 100644 frontend/components/projects/project-form.tsx create mode 100644 frontend/components/projects/project-list.tsx create mode 100644 frontend/components/pwa/index.ts create mode 100644 frontend/components/pwa/install-prompt.tsx create mode 100644 frontend/components/pwa/offline-indicator.tsx create mode 100644 frontend/components/pwa/pwa-provider.tsx create mode 100644 frontend/components/tasks/task-filters.tsx create mode 100644 frontend/contexts/socket-context.tsx create mode 100644 frontend/hooks/useOnlineStatus.ts create mode 100644 frontend/package-lock.json create mode 100644 frontend/public/favicon.svg create mode 100644 frontend/public/icons/icon-128x128.svg create mode 100644 frontend/public/icons/icon-144x144.svg create mode 100644 frontend/public/icons/icon-152x152.svg create mode 100644 frontend/public/icons/icon-192x192.svg create mode 100644 frontend/public/icons/icon-384x384.svg create mode 100644 frontend/public/icons/icon-512x512.svg create mode 100644 frontend/public/icons/icon-72x72.svg create mode 100644 frontend/public/icons/icon-96x96.svg create mode 100644 frontend/public/manifest.json create mode 100644 frontend/public/sw.js create mode 100644 frontend/public/workbox-00a24876.js create mode 100644 frontend/scripts/generate-icons.js diff --git a/.Jules/palette.md b/.Jules/palette.md deleted file mode 100644 index 8ada65e..0000000 --- a/.Jules/palette.md +++ /dev/null @@ -1,3 +0,0 @@ -## 2026-01-25 - [Accessibility Gaps in Form & Lists] -**Learning:** Initial components relied heavily on placeholders and lacked semantic labels or ARIA descriptions for icon-only actions, which prevents screen readers from effectively navigating the task management interface. -**Action:** Always wrap form inputs in a div with a semantic