wacrm/src/app/(dashboard)
Arnas Donauskas 33942dc8ac
fix(broadcasts): collect header media URL for image/video templates (#298)
Templates with an IMAGE/VIDEO/DOCUMENT header could not be broadcast:
the wizard never offered a place to provide the header media URL, so
the send either shipped the template's stale stored URL or — when none
was stored — threw "image header requires a media link or id at send
time", failing the whole broadcast. The send path already supported
`messageParams.headerMediaUrl`; only the UI/hook never collected it.

- step3-personalize: show a required "Header media" URL field (with
  http(s) validation and an image preview) when the selected template
  has a media header; seed it from the template's stored sample URL and
  block Next until a valid URL is provided.
- new-broadcast page: thread headerMediaUrl through wizard state.
- use-broadcast-sending: pass it as messageParams.headerMediaUrl to the
  broadcast API for media-header templates.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 17:17:18 +03:00
..
automations feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
broadcasts fix(broadcasts): collect header media URL for image/video templates (#298) 2026-06-25 17:17:18 +03:00
contacts feat(contacts): filter contacts by tags on the Contacts page 2026-06-22 15:38:05 +03:00
dashboard feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
flows feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
inbox feat(inbox): collapsible contact sidebar on desktop 2026-06-19 14:06:02 +03:00
pipelines feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
settings feat(api): public API groundwork — scoped API keys + /api/v1/me 2026-06-23 15:35:43 +03:00
dashboard-shell.tsx feat(team): member presence (online / away / offline) on the roster 2026-06-22 14:37:29 +03:00
layout.tsx Revert "feat(i18n): re-attempt next-intl with hardened artifact tracing" 2026-05-31 21:05:34 +03:00