trypost/resources/js
Paulo Castellano cca7893e0f Stop persisting instagram_carousel as a content type
Instagram carousels were stored as content_type=instagram_carousel, which the
publisher's match() did not handle — publishing failed with "Unsupported
Instagram content type: instagram_carousel" for any post created via API, MCP,
or template (the AI flow worked only thanks to an inline band-aid that rewrote
carousel to feed before saving).

A carousel is just an Instagram feed post with multiple images: the editor,
preview, and publisher already treat a multi-image feed as a carousel. So
instagram_carousel is a generation format, not a stored content type. Remove it
from the ContentType enum entirely; it now lives only as an AI generation-format
string (wizard card + slide structure + carousel templates are untouched), and
posts always persist as instagram_feed.

- ContentType: drop the InstagramCarousel case; InstagramFeed maxMediaCount 1 -> 10
- StreamPostCreation: resolvedContentType() maps carousel -> feed; band-aid removed
- StartPostCreationRequest: accept instagram_carousel as a generation format
- Frontend: carousel becomes a wizard-local AiFormat; UI/UX unchanged
- API/MCP now reject instagram_carousel as a content_type (Rule::in no longer lists it)
2026-06-04 18:10:39 -03:00
..
components Stop persisting instagram_carousel as a content type 2026-06-04 18:10:39 -03:00
composables fix(facebook): restrict Page Stories to video-only 2026-05-21 21:21:50 -03:00
data feat: media gallery picker, custom emoji picker, preview tabs, real platform logos 2026-05-01 14:53:49 -03:00
enums Stop persisting instagram_carousel as a content type 2026-06-04 18:10:39 -03:00
layouts feat: AI image generation pipeline and post creation overhaul 2026-05-08 13:38:30 -03:00
lib feat: implement consolidated authentication settings including session management and social provider integration 2026-05-03 17:42:44 -03:00
pages Fix calendar showing 'no content' for every post 2026-06-02 09:16:16 -03:00
types refactor(posts): streamline media item handling and improve type definitions 2026-05-21 19:08:46 -03:00
utils fix(assets): always chunk uploads in GalleryBrowser 2026-05-18 20:03:52 -03:00
app.ts feat(docker): add Caddy reverse proxy and domain-portable Reverb config 2026-05-27 14:53:46 -03:00
datalayer.ts feat: GTM dataLayer context + checkout/purchase events 2026-05-06 10:14:17 -03:00
date.ts refactor(posts): encode scheduled_at for API via date helper 2026-05-19 16:42:42 -03:00
dayjs.ts refactor: reorganize billing language keys and implement AccountPolicy for subscription management 2026-05-03 17:26:55 -03:00
debounce.ts fix: resolve all TypeScript errors 2026-03-31 09:34:39 -03:00
echo.ts refactor(docker): align echo.ts with the shared sendkit config 2026-05-27 15:17:47 -03:00
posthog.ts fix: PostHog property keys, deletion idempotency and full enabled gate 2026-05-07 13:15:36 -03:00
ssr.ts chore: first commit 2026-01-14 22:13:44 -03:00