trypost/tests/Feature
Paulo Castellano aa7ca8ae21 refactor: notification preferences, header slots, calendar layout, UI polish
Notification preferences:
- Create notification_preferences table (post_published, post_failed,
  account_disconnected booleans per user)
- NotificationPreferenceController with firstOrCreate on first visit
- SendNotification job respects email preferences before sending
- Settings page with toggle switches, i18n in 3 languages
- 8 new tests for preferences (controller + wantsEmailFor + job integration)

Post published notification:
- PostPublished mail + maizzle template
- Notify owner on successful publish via SendNotification job
- PostPublished type added to notification enum

Header & Layout:
- Rename AppSidebarHeader to AppHeader with left/center/right slots
- showSidebarTrigger prop to hide sidebar toggle
- Calendar: controls in header (left: nav, center: date, right: tabs + new post)
- Fixed header with scrollable content (flex h-screen pattern)
- fullWidth pages use overflow-y-auto (fixes month view scroll)

UI improvements:
- Action buttons moved to header-right: posts, hashtags, labels
- Settings breadcrumbs: "Settings > Profile" pattern
- Calendar: remove duplicate New Post button from day view
- Remove size="sm" from Schedule/Publish buttons
- Remove bg-background from header (inherits from SidebarInset)
- Add Cancel button to labels and hashtags create/edit dialogs
- Add common.cancel i18n key
- Clean up orphaned Calendar breadcrumbs
- Fix SocialAccountsGrid buttons to use shadcn Button ghost

All 753 tests passing.
2026-03-30 18:18:17 -03:00
..
Api fix: security audit - IDOR, open redirect, authorization, session fixes 2026-03-30 14:58:25 -03:00
Auth refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale 2026-03-30 11:53:42 -03:00
Commands refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
Controllers refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
Jobs feat: notification system with SendNotification job, dialog UI, tests 2026-03-30 16:47:03 -03:00
Listeners refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
Middleware fix: security audit - IDOR, open redirect, authorization, session fixes 2026-03-30 14:58:25 -03:00
Services/Social refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
Settings refactor: notification preferences, header slots, calendar layout, UI polish 2026-03-30 18:18:17 -03:00
Social refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
AcceptInviteControllerTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
ApiKeyControllerTest.php feat: rate limiting, cleanup duplicates, ApiKey app tests, bootstrap hardening 2026-03-29 20:14:23 -03:00
BillingControllerTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
ExampleTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
MediaControllerTest.php feat: PostPlatform enum, failure email, DB indexes, rate limiting, tests 2026-03-30 16:11:38 -03:00
NotificationControllerTest.php feat: notification system with SendNotification job, dialog UI, tests 2026-03-30 16:47:03 -03:00
OnboardingControllerTest.php fix: security audit - IDOR, open redirect, authorization, session fixes 2026-03-30 14:58:25 -03:00
PostControllerTest.php feat: PostPlatform enum, failure email, DB indexes, rate limiting, tests 2026-03-30 16:11:38 -03:00
SocialControllerTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
VerifyWorkspaceConnectionsTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceControllerTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceHashtagControllerTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceInviteControllerTest.php refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale 2026-03-30 11:53:42 -03:00
WorkspaceLabelControllerTest.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00