trypost/resources/js/components/posts
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
..
ai fix(ai): wire up streaming generate dialog (event names + JSON extract + loading state) 2026-05-11 21:42:50 -03:00
create refactor: remove unused imports and dead code across frontend components and pages 2026-05-08 20:12:56 -03:00
editor fix(pinterest): restore board picker + require board_id in validation 2026-05-15 11:51:20 -03:00
previews refactor: standardize script import order and clean up unused route imports 2026-05-08 19:57:23 -03:00
EmojiPicker.vue refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
MediaPickerDialog.vue feat: media gallery picker, custom emoji picker, preview tabs, real platform logos 2026-05-01 14:53:49 -03:00
PickTimePopover.vue refactor: standardize UI components, modernize localization structure, and remove legacy appearance management middleware. 2026-05-06 14:26:18 -03:00
PostPlatformMetrics.vue refactor: in-page page headers, indies tabs, and post details polish 2026-05-06 16:22:55 -03:00
SignaturesModal.vue chore: remove deprecated localization files 2026-05-03 15:23:25 -03:00