diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index f2cdda6..0000000 --- a/.dockerignore +++ /dev/null @@ -1,9 +0,0 @@ -.git -.env -node_modules -backend/node_modules -dist -backend/uploads -npm-debug.log* -Dockerfile -docker-compose*.yml diff --git a/CONTEXT.md b/CONTEXT.md index 468ccb5..af37a0c 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -28,16 +28,16 @@ We have transitioned from a mock-based prototype to a **secure, multi-tenant pro - Super Admins can generate persistent `api_keys` for specific tenants. - `GET /api/integration/users`, `/funnels`, and `/origins` allow the n8n AI to dynamically map the tenant's actual agents and workflow stages before processing a chat. - `POST /api/integration/attendances` accepts the AI's final JSON payload (including the `full_summary` text) and injects it directly into the dashboard. -- **Activity Feed:** - - Replaced the noisy real-time notification tray with an on-demand activity feed (`/api/activity`) that records important operational events without polling, unread state, delete actions, or sound playback. - - Automated activity events: Super Admins see new organizations; Admins/Super Admins see new user setups; Agents see team assignment changes; Managers see "Venda Fechada" events when n8n posts a converted lead. +- **Real-Time Notification System:** + - Built a persistent notification tray (`/api/notifications`) with real-time polling (10s intervals) and a hidden HTML5 `