Commit History
-
feat(admin): add Direct Setup button for super admins on orgs without phone number
CognxSafeTrack- Add "Direct Setup" button (super admin only) on /clients for orgs without a WhatsApp number - Previously the setup modal was only reachable via the Reconfigure button (orgs with a phone) - Add i18n keys: clients.actions.direct_setup (en/fr/pt) - Add scratch scripts for org configuration and DB queries - Add doc: configurer-token-nouvelle-org.md — how to configure a Meta token on a new orga3df350
-
fix(bot): eliminate double feedback, fix gemini model, fix multilingual prompts
CognxSafeTrack +1: Claude Sonnet 4.61. Double feedback (critical): Bridge was enqueuing both download-media AND handle-inbound for every audio/image message. Both paths independently transcribed the audio and called WhatsAppLogic.handleIncomingMessage → two generate-feedback jobs → user received two Coach responses. Fix: remove handle-inbound and send-message-direct from bridge for media. MediaHandler (download-media) already handles full pipeline. MediaHandler now sends a localized spinner after user lookup (sendSpinner flag). 2. gemini-1.5-pro → 404: gemini-1.5-pro is deprecated via Google API v1beta. Updated GeminiProvider to use gemini-2.0-flash for both flash and complex (pro) requests. 3. Multilingual deep-dive invitation (EN/ES/PT): action-feedback-standard.md only had FR and WO variants for the APPROFONDIR/SUITE invitation at end of feedback. Added EN, ES, PT — AI was mixing languages for English/Spanish/Portuguese users. 4. InboundHandler [object Object] bug: aiService.tran…5f0a436
-
docs: update organisation-onboarding README with 2026-05-11 fixes
CognxSafeTrack +1: Claude Sonnet 4.6- Dashboard: document tier color coding + info modal (ℹ️) - Section 6: add interactive messages fallback + 24h window note - Section 9: add lessons for Contact.language migration, OnboardingHandler double-INSCRIPTION guard, silent interactive failures, default-org-id Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>68eaf84
-
docs: move organisation onboarding doc to dedicated folder
CognxSafeTrack +1: Claude Sonnet 4.6docs/organisation_onboarding.md → docs/organisation-onboarding/README.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>eb5905d