Skip to content

IAV-1042/ improve integration UX, unify page headers, and enhance wizard steps

bouslim-saloua a demandé de fusionner feature/IAV-1042 vers develop

Integrations

  • Auto-open the add account form when no existing account is configured
  • Back button in integration modals (legal, SAV, SEO, community-manager) now only appears when existing accounts are present; replaced by × otherwise
  • Add BaseGuideCard (steps + optional docs link) to community-manager config views that were missing it: instagram, facebook, twitter, linkedin
  • Add missing 'whatsapp' entry in communityManagerPlatformGuides (prevented render)
  • Guard documentation button rendering in SAV config views (freshdesk, iavia, shopify, whatsapp, telegram, messenger, woocommerce) so it is hidden when no docsUrl is configured
  • Add onCancel prop support to SAV config views for consistent back navigation
  • Fix docsUrl type: string → string | undefined in integrationGuides mock

** Page headers & navigation**

  • Rename sidebar and page labels: "Intégration" → "Intégrations", "Dashboard IAVIA" → "Analytiques", "Tutoriels & Guides" → "Wiki", sponsorship header simplified to "Parrainage"
  • Align page title typography across settings, notifications and sponsorship: font size 28/38px, added textShadow, consistent mb spacing
  • Wiki: add empty state UI (icon + message) when no articles are available

** Wizards**

  • ayal-wizard (step-notifications): redesign channel tabs with platform logos (Gmail, WhatsApp, Telegram) and bottom-bar selection indicator
  • Sub-agents section: hide expand/collapse chevron when no sub-agents exist
  • Minor additions and fixes across afay, anir, aren, aqal, adan, ider, ziri wizards (navigation buttons, integration config steps, state handling)
  • Ayal wizard integrations config steps:
    • Restructure account selection section: CustomSelect with title when accounts exist, info text when none, "ou" divider, full-width gradient "Ajouter un nouveau compte" button (aqal pattern)
    • Form container: always styled with solid agentColor border, consistent bg/padding, title "Ajouter un nouveau compte" always visible
    • Enregistrer + Annuler buttons side by side; Enregistrer disabled until connection test succeeds
    • Fix showAddAccount toggle: form only opens on explicit button click (shouldShowNewAccountForm = !!showAddAccount[tab])
    • Repositioned "Modifier" button to card header (space-between with title) matching aqal; on click opens form and resets overrideExisting
    • After save: reset overrideExisting to always show the account recap card

Rapports de requête de fusion