OpenWA se instala por separado: la API le habla por OPENWA_API_URL (sin
default). La guía documenta el compose recomendado y el alta de la key.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Puerto MessagingProvider con adaptadores OpenWA (MVP, QR) y Kapso
(setup link de Meta + templates), elegido con WHATSAPP_PROVIDER.
- Vinculación del WhatsApp del profesor en el onboarding y en Ajustes.
- Job semanal (lunes 10:00 AR): recordatorio de pago y reenganche a
alumnos en riesgo (cooldown 14 días), con switches por grupo.
- Idempotencia por (kind, attendee, semana ISO), webhooks firmados con
HMAC y deduplicados, normalización de teléfonos a E.164.
- Servicio openwa en docker-compose y guía en docs/whatsapp.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Introduced CountryStep component for selecting the country during onboarding, affecting payment currency.
- Updated FirstGroupStep to include country information.
- Enhanced PaymentsProvider to manage payment states and renewals.
- Created PaymentRow component for displaying individual payment details.
- Implemented PaymentsView for listing and filtering payments by group and status.
- Added API endpoints for fetching and creating payments, including batch processing.
- Defined payment schemas for validation and data handling.
- Updated GroupHeader and GroupDetailView to include charging functionality for group members.
- Implemented MpReauthNotice component to notify users when reauthorization is needed.
- Created MpStatusCard component to display the current status of the Mercado Pago account.
- Added utility functions and constants for handling Mercado Pago status and messages.
- Introduced hooks for managing the connection and disconnection of Mercado Pago accounts.
- Developed a disconnect confirmation modal for user actions.
- Added tests for the new functionality and utility functions.
- Defined schemas for Mercado Pago account status and callback reasons in shared package.
- Added payment presentation logic to display payment status and due dates.
- Introduced AttendeeNotesSection and AttendeePaymentsSection components for managing notes and payments.
- Implemented forms for editing contact information and notes with validation.
- Updated API to support attendee updates and added corresponding tests.
- Improved attendance summary logic to reflect all visible sessions.
- Enhanced UI with loading states and error handling for better user experience.
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts.
- Improved descriptions for better understanding of code functionality and purpose.
- Ensured uniformity in terminology and phrasing throughout the codebase.
- Export attendance risk related schemas and types from shared package.
- Introduce new schemas for attendance risk levels and urgent member summaries.
- Implement attendance risk calculation logic in the shared library.
- Create tests for attendance risk calculations and group attendance summaries.
- Add a new component for visualizing attendance capacity indicators in the web app.
feat(attendance): refactor attendance summary logic and update tests
feat(analytics): extend GroupRiskSummary schema with absence and attendance counts
feat(groups): enhance group schema with attendee and waitlist counts
chore(skills): add frontend design skill with guidelines and license
feat(attendee-detail): implement AttendeePhoneLine component for phone display
feat(groups): create AttendanceBadge and CapacityIndicator components for group cards
feat(groups): add card utility functions for attendance alerts and capacity summaries
test(groups): implement tests for attendance alert and capacity summary logic
- Added Large Title component to manage immersive screen headers.
- Created ImmersiveBarProvider to handle the sticky bar for immersive routes.
- Updated RootLayout to conditionally render Header based on immersive routes.
- Modified Sidebar to adjust its position and height in immersive mode.
- Integrated Large Title in ClassAttendanceView and AnalyticsView for consistent header display.
- Updated GroupHeader to use Large Title for better layout management.
- Implemented isImmersiveRoute function to determine immersive routes.
- Added tests for immersive route detection.
- Add API endpoints for managing group pre-registrations, including approval and rejection.
- Create database migration for `group_pre_registrations` table and associated enum for status.
- Implement use cases for listing, approving, and rejecting pre-registrations.
- Add frontend components for displaying pre-registration details and managing approvals/rejections.
- Update shared schemas to include pre-registration data structures and validation.
- Remove obsolete `WaitlistNoticeCard` component and replace with `PreRegistrationNoticeCard`.
iOS (Safari y standalone) auto-zoomea al enfocar un control de formulario
con font-size < 16px y, al cerrar el teclado, no restaura el scale: la app
quedaba con zoom hasta que el usuario hacía pinch-out o recargaba.
- Input sube a 16px en mobile (text-base sm:text-sm), manteniendo los
14px de escritorio. iPad queda fuera porque el zoom-on-focus es
exclusivo de iPhone.
- El prefijo $ de GroupForm sigue el mismo tamaño para no desalinearse.
- Guard en @layer base para textareas/selects/inputs crudos futuros.
El build de Docker fallaba con "Rollup failed to resolve import
workbox-window from virtual:pwa-register". Localmente no pasaba: bun
hoisteaba la dependencia transitiva de vite-plugin-pwa a la raíz, pero
en la imagen usa el layout aislado y la deja solo en node_modules/.bun/,
sin symlink alcanzable desde apps/web. Se declara como devDependency
directa de apps/web para que resuelva desde apps/web/node_modules.
De paso, nginx servía el manifest como application/octet-stream porque
mime.types de alpine no conoce webmanifest; se mueve a su propia location
con el tipo correcto. Sigue en no-cache y con =404.
- Add `generate-icons.ts` script to generate PWA icons from SVG.
- Create `InstallBanner` component for prompting users to install the app.
- Implement `PwaProvider` to manage PWA installation state and events.
- Export `PwaProvider` and `InstallBanner` from the PWA feature index.
- Implemented API endpoints to fetch attendee details and statistics.
- Created new route for fetching attendee by ID and their attendance stats.
- Added schemas for attendee statistics.
- Developed frontend components to display attendee details and attendance statistics.
- Integrated attendee detail provider to manage state and data fetching.
- Added tests for attendee retrieval and statistics calculation.
- Implemented AbsenceNotifyView for notifying absence with session details.
- Created AnalyticsView for displaying group analytics and managing students at risk.
- Added ClassAttendanceView for marking attendance in classes.
- Defined new schemas for analytics and attendance in shared package.
- Added home routes and corresponding route handler for fetching home summary.
- Created GetHomeSummary use case to aggregate user data including groups, attendees, and upcoming payments.
- Introduced HomeSummaryDto and related schemas for data validation.
- Implemented nextClassOccurrence function to determine the next class based on user timezone.
- Added tests for home summary functionality and next class occurrence logic.
- Removed organization dependency from group creation logic.
- Introduced new route and use-case for creating groups.
- Refactored form handling for group creation into a reusable GroupForm component.
- Updated API calls to support new group creation endpoint.
- Adjusted tests to reflect changes in group creation logic and validation.
- Removed obsolete organizations route and related components.
- Updated breadcrumb navigation and routing for group management.
- Introduced GroupWaitlistEntry model in Prisma schema to manage waitlisted users for groups.
- Implemented API route to add users to the group waitlist with validation.
- Enhanced attendee creation logic to handle group capacity and waitlisting scenarios.
- Added new problem builders for handling waitlist-related errors.
- Updated frontend to support waitlist interactions, including modals for capacity warnings.
- Created tests for waitlist functionality, ensuring proper handling of full groups and existing waitlist entries.
- Use real logo/isotype SVGs across app and emails
- Token-based color system aligned with landing (brand scale + semantic tokens)
- ThemeProvider (light/dark/system) with header toggle and settings card
- Embed logo in transactional emails; centralize email colors