trypost/tests/Feature/Social
Paulo Castellano cd2798fd8d refactor(social): use native Inertia for all connect popup flows
Replace the per-platform native form POST + manual CSRF + JSON/Blade
popup callback with a single Inertia mechanism:

- popupCallback() renders the accounts/PopupCallback Inertia page (notifies
  the opener + closes the popup) for both the GET OAuth callbacks and the
  selection submits. Drops the auth.social-callback Blade view, the
  expectsJson JSON branch, and useHttp/useSocialConnect on the frontend.
- Selection/credential pages (LinkedIn, Facebook, Instagram, Bluesky,
  Mastodon) use Inertia useForm: automatic CSRF + native validation errors.
- Unify the three selection screens on one row + View/Choose layout; the
  LinkedIn company tag now uses a building icon.
- Bluesky auth failures throw ValidationException (422 for XHR, redirect
  back with errors otherwise).

Controller tests updated from assertViewIs/assertViewHas to assertInertia.
2026-06-25 13:54:16 -03:00
..
BlueskyControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
DiscordControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
FacebookControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
InstagramControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
InstagramFacebookControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
LinkedInControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
MastodonControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
PinterestControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
TelegramConnectionTest.php feat(telegram): surface connect failure in the dialog instead of silent expiry 2026-06-22 09:55:12 -03:00
ThreadsControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
TikTokControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
XControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00
YouTubeControllerTest.php refactor(social): use native Inertia for all connect popup flows 2026-06-25 13:54:16 -03:00