diff --git a/README.md b/README.md index 7045b22..236b7ff 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ Estado: la tabla response_queue ya está creada e incluida en los tests de DB. - Response queue persistente con workers en background y envío vía Evolution API (`src/services/response-queue.ts`), persistiendo metadata `{ mentioned: [...] }` y enviándola como `mentioned` en el payload, con reintentos (backoff exponencial + jitter), recuperación de `processing` y limpieza/retención. - Contacts service and friendly names: `ContactsService` resolves display names via webhooks (CONTACTS_UPDATE/CHATS_UPDATE) and Evolution API fallback; used to render names in outgoing texts (falls back to numbers). Skips network calls under NODE_ENV=test for fast and isolated unit tests. - Reminders by DM: user preferences in `user_preferences` (reminder_freq: off|daily|weekly; reminder_time; last_reminded_on), `RemindersService` running minutely (disabled in tests), daily and weekly (Mondays 08:30) summaries, skips when no tasks, compact message with “… y X más”. Command “/t configurar daily|weekly|off” with DM confirmation. Unit tests included. -- Notification UX: Always send DM acknowledgment to the creator in a single line (format: ✅ Tarea creada: "description"), DM to each assignee (excluding the creator); optional group notification controlled by `NOTIFY_GROUP_ON_CREATE` (default false) with proper mentions. +- Notification UX: Always send DM acknowledgment to the creator (header: 📝 “description”, plus date 📅 and owner line), DM to each assignee with header “📬 Tarea — 📅 dd/MM” (excluding the creator); optional group notification controlled by `NOTIFY_GROUP_ON_CREATE` (default false) with proper mentions; unassigned shown as “🚫👤 sin dueño”; overdue dates flagged with “⚠️” before “📅”. - Natural date tokens support (“hoy”/“mañana”) with TZ configurable (env TZ; default Europe/Madrid) in task creation. - Unified dd/MM date formatting across outgoing texts. - Help by DM for "/t" and "/t ayuda" with a concise guide and examples.