TenantAtlas/app/Support/Badges/Domains
ahmido 0b5cadc234 feat: add shared diff presentation foundation (#170)
## Summary
- add a shared diff presentation layer under `app/Support/Diff` with deterministic row classification, summary derivation, and value stringification
- centralize diff-state badge semantics through `BadgeCatalog` with a dedicated `DiffRowStatusBadge`
- add reusable Filament diff partials, focused Pest coverage, and the full SpecKit artifact set for spec 141

## Testing
- `vendor/bin/sail artisan test --compact tests/Unit/Support/Diff/DiffRowStatusTest.php tests/Unit/Support/Diff/DiffRowTest.php tests/Unit/Support/Diff/DiffPresenterTest.php tests/Unit/Support/Diff/ValueStringifierTest.php tests/Unit/Badges/DiffRowStatusBadgeTest.php tests/Feature/Support/Diff/SharedDiffSummaryPartialTest.php tests/Feature/Support/Diff/SharedDiffRowPartialTest.php tests/Feature/Support/Diff/SharedInlineListDiffPartialTest.php`
- `vendor/bin/sail bin pint --dirty --format agent`

## Filament / Livewire Contract
- Livewire v4.0+ compliance: unchanged and respected; this feature adds presentation support only within the existing Filament v5 / Livewire v4 stack
- Provider registration: unchanged; no panel/provider changes were required, so `bootstrap/providers.php` remains the correct registration location
- Global search: unchanged; no Resource or global-search behavior was added or modified
- Destructive actions: none introduced in this feature
- Asset strategy: no new registered Filament assets; shared Blade partials rely on the existing asset pipeline and standard deploy step for `php artisan filament:assets` when assets change generally
- Testing coverage: presenter, DTOs, stringifier, badge semantics, summary partial, row partial, and inline-list partial are covered by focused Pest unit and feature tests

## Notes
- Spec checklist status is complete for `specs/141-shared-diff-presentation-foundation/checklists/requirements.md`
- This PR preserves specialized diff renderers and documents incremental adoption rather than forcing migration in the same change

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #170
2026-03-14 12:32:08 +00:00
..
AlertDeliveryStatusBadge.php feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
AlertDestinationLastTestStatusBadge.php feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
AuditActorTypeBadge.php feat: lay audit log foundation (#163) 2026-03-11 09:39:37 +00:00
AuditOutcomeBadge.php feat: lay audit log foundation (#163) 2026-03-11 09:39:37 +00:00
BackupSetStatusBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
BaselineProfileStatusBadge.php Spec 116: Baseline drift engine v1 (meta fidelity + coverage guard) (#141) 2026-03-02 22:02:58 +00:00
BaselineSnapshotFidelityBadge.php feat: add structured baseline snapshot rendering (#158) 2026-03-10 08:28:06 +00:00
BaselineSnapshotGapStatusBadge.php feat: add structured baseline snapshot rendering (#158) 2026-03-10 08:28:06 +00:00
BooleanEnabledBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
BooleanHasErrorsBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
DiffRowStatusBadge.php feat: add shared diff presentation foundation (#170) 2026-03-14 12:32:08 +00:00
FindingSeverityBadge.php feat: Workspace settings slices v1 (backup, drift, operations) (#120) 2026-02-16 03:18:33 +00:00
FindingStatusBadge.php feat(111): findings workflow + SLA settings (#135) 2026-02-25 01:48:01 +00:00
FindingTypeBadge.php feat: Spec 105 — Entra Admin Roles Evidence + Findings (#128) 2026-02-22 02:37:36 +00:00
IgnoredAtBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
ManagedTenantOnboardingVerificationStatusBadge.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
OperationRunOutcomeBadge.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
OperationRunStatusBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
PolicyRestoreModeBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
PolicyRiskBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
PolicySnapshotModeBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
ProviderConnectionHealthBadge.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
ProviderConnectionStatusBadge.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
ReferenceResolutionStateBadge.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
RestoreCheckSeverityBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
RestorePreviewDecisionBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
RestoreResultStatusBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
RestoreRunStatusBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
ReviewPackStatusBadge.php Fix Review Pack generation UX + notifications (#133) 2026-02-23 19:42:52 +00:00
SystemHealthBadge.php feat(114): system console control tower (merged) (#139) 2026-02-28 00:15:31 +00:00
TenantAppStatusBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
TenantPermissionStatusBadge.php 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
TenantRbacStatusBadge.php feat: provider access hardening (RBAC write gate) (#132) 2026-02-23 00:49:37 +00:00
TenantStatusBadge.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
VerificationCheckSeverityBadge.php feat: verification report framework (074) (#89) 2026-02-03 23:58:17 +00:00
VerificationCheckStatusBadge.php feat: verification report framework (074) (#89) 2026-02-03 23:58:17 +00:00
VerificationReportOverallBadge.php feat: verification report framework (074) (#89) 2026-02-03 23:58:17 +00:00