TenantAtlas/app/Services/Auth
ahmido 9f5c99317b Fix Review Pack generation UX + notifications (#133)
## Summary
- Fixes misleading “queued / running in background” message when Review Pack generation request reuses an existing ready pack (fingerprint dedupe).
- Improves resilience of Filament/Livewire interactions by ensuring the Livewire intercept shim applies after Livewire initializes.
- Aligns Review Pack operation notifications with Ops-UX patterns (queued + completed notifications) and removes the old ReviewPackStatusNotification.

## Key Changes
- Review Pack generate action now:
  - Shows queued toast only when a new pack is actually created/queued.
  - Shows a “Review pack already available” success notification with a link when dedupe returns an existing pack.

## Tests
- `vendor/bin/sail artisan test --compact tests/Feature/ReviewPack/ReviewPackGenerationTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/ReviewPack/ReviewPackResourceTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/LivewireInterceptShimTest.php`

## Notes
- No global search behavior changes for ReviewPacks (still excluded).
- Destructive actions remain confirmation-gated (`->requiresConfirmation()`).

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #133
2026-02-23 19:42:52 +00:00
..
BreakGlassSession.php feat: implement auth structure system panel (#77) 2026-01-27 21:49:18 +00:00
CapabilityResolver.php Spec 094: Assignment ops observability hardening (#113) 2026-02-15 14:08:14 +00:00
PostLoginRedirectResolver.php feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
RoleCapabilityMap.php Fix Review Pack generation UX + notifications (#133) 2026-02-23 19:42:52 +00:00
TenantDiagnosticsService.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00
TenantMembershipManager.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
WorkspaceCapabilityResolver.php feat: workspace context enforcement (specs 070–072) (#85) 2026-02-02 10:07:41 +00:00
WorkspaceMembershipManager.php feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
WorkspaceRoleCapabilityMap.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00