LST-69 (3.2) front. Client portal UI on the phase-1 backend.
- New frontend/modules/client-portal/ layer: /portal (project cards from the
client's allowedProjects via /me), /portal/projects/[id] (tickets list,
detail modal, create modal with document upload), client-tickets service +
DTO, CT-XXX formatting.
- Front tenancy: auth.global.ts redirects a pure ROLE_CLIENT to /portal and
blocks internal routes; portal pages open to any authenticated user.
- Admin: UserDrawer manages client accounts (ROLE_CLIENT + client +
allowedProjects); new "Tickets client" admin tab (list, filters, status
change with required comment on reject, detail modal).
- Kanban/my-tasks: client-ticket icon + tooltip when task.clientTicket is set
(data via task:read, no extra call). TaskDocument upload generalized with a
clientTicketId prop. getContent uses native fetch (text response).
- i18n portal/clientTicket keys; sidebar /portal item (module client-portal).
nuxt build passes; /portal routes present, existing routes intact.
LST-67 (2.5) front. Completes the Mail module.
- New frontend/modules/mail/ layer (auto-detected): /mail page (3 columns),
7 components, mail service + DTO, mail store (folders/messages/unread polling).
- sanitizeMailHtml util and useSystemFolderLabel composable stay global;
AdminMailTab stays in /admin (service import repointed).
- Consumers repointed: AdminMailTab and PM TaskModal -> ~/modules/mail/...;
the store is auto-imported (Pinia storesDirs) so the layout badge/polling is
unchanged.
- /mail gated by the mail module: sidebar.php item with module=mail (so
SidebarFilter disables /mail when the module is off); the layout filters /mail
from the API sections to avoid a visual duplicate. ROLE_CLIENT exclusion kept.
- i18n key sidebar.general.mail added.
nuxt build passes; /mail and all other routes preserved.