TenantAtlas/app/Support/OpsUx
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
..
ActiveRuns.php feat(058): tenant dashboard + active-runs gating (#68) 2026-01-21 14:00:42 +00:00
AssignmentJobFingerprint.php Spec 096: Ops polish (assignment summaries + dedupe + reconcile tracking + seed DX) (#115) 2026-02-15 20:49:38 +00:00
BulkRunContext.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
OperationRunUrl.php 055-ops-ux-rollout (#64) 2026-01-18 14:50:15 +00:00
OperationStatusNormalizer.php 055-ops-ux-rollout (#64) 2026-01-18 14:50:15 +00:00
OperationSummaryKeys.php Fix Review Pack generation UX + notifications (#133) 2026-02-23 19:42:52 +00:00
OperationUxPresenter.php 055-ops-ux-rollout (#64) 2026-01-18 14:50:15 +00:00
OpsUxBrowserEvents.php 055-ops-ux-rollout (#64) 2026-01-18 14:50:15 +00:00
RunDetailPolling.php 055-ops-ux-rollout (#64) 2026-01-18 14:50:15 +00:00
RunDurationInsights.php 055-ops-ux-rollout (#64) 2026-01-18 14:50:15 +00:00
RunFailureSanitizer.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
SummaryCountsNormalizer.php feat: Spec 105 — Entra Admin Roles Evidence + Findings (#128) 2026-02-22 02:37:36 +00:00