trypost/tests/Feature/Ai
Paulo Castellano 2c2ab69e68 Merge main + finalize AI brand-colors toggle
Resolves the AiPostWizard conflict and completes the feature:
- i18n parity: brand_colors_label + brand_colors_description in all 15 locales
  (was en/es/pt-BR only, which broke LocalizationParityTest).
- Reworked the two-button toggle into a Switch with an explanatory description
  (matches the settings Switch/card pattern).
- Only shown for templates that honor the flag: added appliesBrandVisuals() to
  the AiContentTemplate contract (ImageCard=true, tweet cards=false), exposed as
  applies_brand_visuals in the create-page DTO, and gated the toggle on it — so
  it no longer appears (as a no-op) for tweet-card styles.
- Tests: TemplateContractTest covers appliesBrandVisuals for all templates.
2026-07-18 15:12:26 -03:00
..
Templates Merge main + finalize AI brand-colors toggle 2026-07-18 15:12:26 -03:00
AutofillBrandTest.php Share a ContentLanguageOption type and close the review's test gaps 2026-07-03 19:28:28 -03:00
PostAiCreateTest.php Merge main + finalize AI brand-colors toggle 2026-07-18 15:12:26 -03:00
PostAiGenerateTest.php test(ai): guard prompt max on the editor endpoint and the wizard min boundary 2026-07-17 11:08:50 -03:00
PostAiRegenerateMediaTest.php feat: regenerate AI post images with brand palette in editor 2026-05-21 16:27:55 -03:00
PostAiReviewTest.php refactor(posts): centralize post editing status checks with PostStatusGuard 2026-05-21 19:27:19 -03:00
RegeneratePostMediaImageJobTest.php Preserve media alt text when regenerating an AI image 2026-07-16 16:07:24 -03:00
StreamPostContentJobTest.php feat: replace legacy AI assistant with modular post content generation, review, and template management system 2026-05-03 09:36:50 -03:00
StreamPostCreationTest.php feat(ai-templates): tweet-card-with-photo style (blurred dark image background) 2026-06-17 19:43:21 -03:00
UserAiGenerationChannelTest.php refactor: introduce VideoPreview component and standardize media handling across post previews 2026-05-08 18:30:11 -03:00