TenantAtlas/tests/Feature/Filament
ahmido e1ed7ae232 058-tenant-ui-polish (#70)
Kurzbeschreibung

Filament-native UI-Polish für das Tenant-Dashboard und zugehörige Inventory/Operations-Ansichten; entfernt alte custom Blade‑Panel-Wrapper (die die dicken Rahmen erzeugten) und ersetzt sie durch Filament‑Widgets (StatsOverview / TableWidget). Keine DB-Migrationen.
Änderungen (Kurz)

Dashboard: KPI‑Kacheln als StatsOverviewWidget (4 Tiles).
Needs‑Attention: sinnvolle Leerstaat‑UI (3 Health‑Checks + Links) und begrenzte, badge‑gestützte Issue‑Liste.
Recent Drift Findings & Recent Operations: Filament TableWidget (10 Zeilen), badge‑Spalten für Severity/Status/Outcome, kurze copyable IDs, freundliche Subject‑Labels statt roher UUIDs.
Entfernen der alten Blade-Wrapper, die ring- / shadow Klassen erzeugten.
Tests aktualisiert/ergänzt, um Tenant‑Scope und DB‑only Garantien zu prüfen.
Kleinigkeiten / UI‑Polish in Inventory/Operations-Listen und Panel‑Provider.
Wichtige Dateien (Auswahl)

DashboardKpis.php
NeedsAttention.php
RecentDriftFindings.php
RecentOperations.php
needs-attention.blade.php
Tests: TenantDashboardTenantScopeTest.php, inventory/operations test updates
Testing / Verifikation

Lokale Tests (empfohlen, vor Merge ausführen):
Formatter:
Filament assets (falls panel assets geändert wurden):
Review‑Hinweise (Was prüfen)

UI: Dashboard sieht visuell wie Filament‑Demo‑Widgets aus (keine dicken ring- Rahmen mehr).
Tables: Primary text zeigt freundliche Labels, nicht UUIDs; IDs sind copyable und kurz dargestellt.
Needs‑Attention: Leerstaat zeigt die 3 Health‑Checks + korrekte Links; bei Issues sind Badges und Farben korrekt.
Tenant‑Scope: Keine Daten von anderen Tenants leakieren (prüfe die aktualisierten TenantScope‑Tests).
Polling: Widgets poll nur wenn nötig (z.B. aktive Runs existieren).
Keine externen HTTP‑Calls oder ungeprüfte Jobs während Dashboard‑Rendering.
Deployment / Migrations

Keine Datenbankmigrationen.
Empfohlen: nach Merge ./vendor/bin/sail artisan filament:assets in Deployment‑Pipeline prüfen, falls neue panel assets registriert wurden.
Zusammenfassung für den Reviewer

Zweck: Entfernen der alten, handgebauten Panel‑Wrappers und Vereinheitlichung der Dashboard‑UX mit Filament‑nativen Komponenten; kleinere UI‑Polish in Inventory/Operations.
Tests: Unit/Feature tests für Tenant‑Scope und DB‑only Verhalten wurden aktualisiert; bitte laufen lassen.
Merge: Branch 058-tenant-ui-polish → dev (protected) via Pull Request in Gitea.

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #70
2026-01-22 00:17:23 +00:00
..
AdminSmokeTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
AppProtectionPolicySettingsDisplayTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
BackupCreationTest.php 015-policy-picker-ux (#21) 2026-01-02 13:59:15 +00:00
BackupItemsBulkRemoveTest.php 054-unify-runs-suitewide (#63) 2026-01-17 22:25:00 +00:00
BackupItemsNoPollingTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
BackupSetGraphSafetyTest.php feat/048-backup-restore-ui-graph-safety (#55) 2026-01-11 00:14:35 +00:00
BackupSetPolicyPickerTableTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
ConditionalAccessPreviewOnlyTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
EnrollmentAutopilotSettingsDisplayTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
EnrollmentRestrictionsPreviewOnlyTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
EntraGroupSyncRunResourceTest.php 051-entra-group-directory-cache (#57) 2026-01-11 23:24:12 +00:00
FilamentBootsTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
FilamentNotificationsAssetsTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
GroupPolicyConfigurationHydrationTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
GroupPolicyConfigurationNormalizedDiffTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
GroupPolicyConfigurationRestoreTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
HousekeepingTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
InventoryHubDbOnlyTest.php 058-tenant-ui-polish (#70) 2026-01-22 00:17:23 +00:00
InventoryItemResourceTest.php feat/041-inventory-ui (#44) 2026-01-07 17:10:57 +00:00
InventoryPagesTest.php 058-tenant-ui-polish (#70) 2026-01-22 00:17:23 +00:00
InventorySyncRunResourceTest.php feat/041-inventory-ui (#44) 2026-01-07 17:10:57 +00:00
LivewireInterceptShimIsLoadedTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
MalformedSnapshotWarningTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
ODataTypeMismatchTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
PolicyCaptureSnapshotOptionsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
PolicyListingTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicySettingsDisplayTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicySettingsStandardRendersArraysTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicyVersionReadableLayoutTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicyVersionRestoreToIntuneTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
PolicyVersionRestoreViaWizardTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicyVersionScopeTagsDisplayTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicyVersionSettingsTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicyVersionTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
PolicyViewSettingsCatalogReadableTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
RestoreExecutionTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
RestoreItemSelectionTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
RestorePreviewTest.php feat/018-driver-updates-wufb (#27) 2026-01-04 00:38:54 +00:00
RestoreWizardGraphSafetyTest.php feat/048-backup-restore-ui-graph-safety (#55) 2026-01-11 00:14:35 +00:00
ScriptPoliciesNormalizedDisplayTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
SettingsCatalogPolicyHydrationTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
SettingsCatalogPolicyNormalizedDiffTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
SettingsCatalogPolicyNormalizedDisplayTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
SettingsCatalogPolicySyncTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
SettingsCatalogRestoreApplySettingsPatchTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
SettingsCatalogRestoreTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
SettingsCatalogSettingsTableRenderTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
TenantDashboardDbOnlyTest.php feat(058): tenant dashboard + active-runs gating (#68) 2026-01-21 14:00:42 +00:00
TenantDashboardTenantScopeTest.php 058-tenant-ui-polish (#70) 2026-01-22 00:17:23 +00:00
TenantMakeCurrentTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
TenantPortfolioContextSwitchTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
TenantRbacWizardTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
TenantSetupTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
WindowsUpdateProfilesRestoreTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
WindowsUpdateRingPolicyTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
WindowsUpdateRingRestoreTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00