trypost/resources/js/composables
Paulo Castellano 27151bd925 fix(pinterest,youtube): default video cover and gate empty YouTube posts
Pinterest video pins failed with "provide cover_image_url ... or
cover_image_key_frame_time" because no cover was sent. Default to
cover_image_key_frame_time 0 (first frame) when the user provides no
cover_image_url — verified against Pinterest's OpenAPI spec (integer
seconds, minimum 0, falls back to the last frame past the duration).

YouTube Shorts derive their required title from the post content, so the
publisher rejects an empty post — but the editor still let it be scheduled.
Gate it in compliance: a youtube_short with empty content is now flagged
(requires_text) so it can't be scheduled, instead of failing at publish.
2026-06-25 19:59:51 -03:00
..
echo feat(automations): implement automation features and UI enhancements 2026-05-24 09:17:19 -03:00
history feat(automations): implement automation features and UI enhancements 2026-05-24 09:17:19 -03:00
useActiveUrl.ts refactor: sidebar active states, notification bell, phone mockup, UI polish 2026-03-30 18:51:04 -03:00
useAiMediaRegeneration.ts refactor(posts): simplify AiRegenerateImageDialog logic and enhance type safety 2026-05-21 19:40:42 -03:00
useDateMaska.ts chore: first commit 2026-01-15 14:24:39 -03:00
useExpandedEditor.ts Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
useExpressionCompletions.ts feat(automations): multi-format RSS/Atom feeds with dynamic variables 2026-06-16 10:56:08 -03:00
useInitials.ts chore: first commit 2026-01-14 22:13:44 -03:00
useMedia.ts refactor(date): consolidate duration formatting into three date helpers 2026-06-25 18:42:05 -03:00
useMediaRules.ts refactor(media): centralize frontend media-type detection in lib/mediaType 2026-06-25 18:19:58 -03:00
useOAuthPopup.ts fix(accounts,media): address PR review findings 2026-06-25 19:06:43 -03:00
usePageErrors.ts feat(posts): add validation message for past date selection in PickTimePopover 2026-05-19 16:26:40 -03:00
usePlatformLogo.ts refactor(linkedin): infer post format from media + unify account connection 2026-06-24 21:05:09 -03:00
usePostCompliance.ts fix(pinterest,youtube): default video cover and gate empty YouTube posts 2026-06-25 19:59:51 -03:00
usePostStatus.ts feat(social): reschedule publish on PlatformUnavailable instead of failing 2026-05-19 10:03:30 -03:00
useShortcut.ts feat(automations): implement automation features and UI enhancements 2026-05-24 09:17:19 -03:00
useTracking.ts feat(billing): attach persona to conversion tracking and polish annual banner 2026-06-22 12:32:03 -03:00
useWorkspaceRole.ts refactor(permissions): drop explanatory comments, fix stale PostPolicy docblock 2026-06-22 16:35:27 -03:00