trypost/resources/js/components/posts/editor
Paulo Castellano 44d891ef08 fix(pinterest): restore board picker + require board_id in validation
The post editor lost the Pinterest board picker during a UI rewrite,
causing scheduled posts to fail in production with 'Pinterest board_id
is required'. This restores the picker and locks the contract with
validation + tests so the regression cannot happen silently again.

Backend:
- PostController: pinterestBoards is now Record<account_id, Board[]>
  (mirrors the TikTok creator-info pattern); supports multi-account.
- UpdatePostRequest: 'platforms.*.meta.board_id' rule + after-validator
  rejects Publishing/Scheduling Pinterest posts without board_id.

Frontend:
- PinterestSettings.vue: Combobox board picker with empty-state warning;
  emits update:meta with board_id.
- ScheduleTab / PostEditorSidebar / Edit pass pinterestBoards down by
  social_account_id.

Tests (6 new):
- UpdatePostRequestTest: rejects publishing/scheduling without board_id
  across pin/carousel/video pin; allows draft without board_id;
  pinterest error doesn't block sibling platforms in multi-platform.
- PinterestPublisherTest: publisher throws for carousel + video pin
  when no board_id (existing image-pin case kept).

1542 tests passing.
2026-05-15 11:51:20 -03:00
..
CommentsTab.vue fix: comments tab send button size matches textarea (40px) 2026-05-07 16:03:06 -03:00
FacebookSettings.vue refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
InstagramSettings.vue refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
LinkedInSettings.vue refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
PinterestSettings.vue fix(pinterest): restore board picker + require board_id in validation 2026-05-15 11:51:20 -03:00
PostEditorComposer.vue refactor: remove unused imports and dead code across frontend components and pages 2026-05-08 20:12:56 -03:00
PostEditorHeader.vue feat(posts): lock scheduled posts behind explicit unschedule + extract PostEditorHeader 2026-05-11 20:57:17 -03:00
PostEditorSidebar.vue fix(pinterest): restore board picker + require board_id in validation 2026-05-15 11:51:20 -03:00
PreviewTab.vue refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
ScheduleTab.vue fix(pinterest): restore board picker + require board_id in validation 2026-05-15 11:51:20 -03:00
TikTokSettings.vue perf(tiktok): load creator_info synchronously and cache it 2026-05-09 15:01:22 -03:00