From 086c175a7a952ebbf70764214332773976d27c64 Mon Sep 17 00:00:00 2001 From: borja Date: Sun, 7 Sep 2025 01:53:28 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20actualizar=20bloque=20de=20notificaci?= =?UTF-8?q?=C3=B3n=20por=20DM=20en=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aider (openrouter/openai/gpt-5) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.