iachat/enterprise/app/jobs
Rodrigo Borba 84fff38d94 refactor: move notification templates de units para inboxes
- Arquitetura corrigida: templates agora pertencem à inbox (WhatsApp),
  não à unidade PIX (que é uma config financeira, não de mensagens)
- Migration: troca FK captain_unit_id -> inbox_id (up/down explícito)
- Model: belongs_to :inbox; scope for_inbox
- Controller: escopo via account.inboxes.find(inbox_id)
- Rotas: move de captain/units/:id → inboxes/:id/notification_templates
- Scanner job: joins(:conversation).where(conversations: {inbox_id:})
- UI: página /captain/notifications com seletor de inbox no topo
  (chips clicáveis, templates carregam por watch no selectedInboxId)
- i18n PT/EN: novas keys INBOX_LABEL, SELECT_INBOX_HINT, EMPTY
2026-03-01 22:17:27 -03:00
..
captain refactor: move notification templates de units para inboxes 2026-03-01 22:17:27 -03:00
enterprise Merge branch main into chore/merge-upstream 2025-12-20 12:44:31 -03:00
internal chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
messages fix(messages): reduce audio transcription 400 retry noise (#13487) 2026-02-17 13:25:13 +05:30
migration Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
portal chore: Move embedding generation to sidekiq (#9238) 2024-04-16 09:43:16 -07:00
saml feat: update users on SAML setup and destroy [CW-2958][CW-5612] (#12346) 2025-09-15 21:20:22 +05:30
sla feat: refactor SLA evaluation logic (#9133) 2024-03-29 02:01:43 +11:00