From 88ba8a14d8a4aa48d2be87b38a3355897982cecf Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Sun, 22 Feb 2026 19:43:08 +0100 Subject: [PATCH] ui: enterprise redesign for managed-tenants landing page --- .../managed-tenants-landing.blade.php | 185 ++++++++++++------ 1 file changed, 120 insertions(+), 65 deletions(-) diff --git a/resources/views/filament/pages/workspaces/managed-tenants-landing.blade.php b/resources/views/filament/pages/workspaces/managed-tenants-landing.blade.php index 6c7a2ba..a1bce92 100644 --- a/resources/views/filament/pages/workspaces/managed-tenants-landing.blade.php +++ b/resources/views/filament/pages/workspaces/managed-tenants-landing.blade.php @@ -1,76 +1,131 @@ - -
-
- Workspace: {{ $this->workspace->name }} + @php + $tenants = $this->getTenants(); + @endphp + + @if ($tenants->isEmpty()) + {{-- Empty state — enterprise-grade --}} +
+
+ {{-- Workspace context badge --}} +
+ + {{ $this->workspace->name }} +
+ + {{-- Icon --}} +
+ +
+ +

No managed tenants yet

+

+ Connect your first Microsoft Entra tenant to start managing inventory, backups, drift detection, and policies. +

+ +
+ + Add tenant + + + + + Switch workspace + +
+
+
+ @else + {{-- Tenant list --}} +
+ {{-- Header row --}} +
+
+
+ + {{ $this->workspace->name }} +
+ + · {{ $tenants->count() }} {{ \Illuminate\Support\Str::plural('tenant', $tenants->count()) }} + +
+ + + Choose tenant +
- @php - $tenants = $this->getTenants(); - @endphp - - @if ($tenants->isEmpty()) -
-
No managed tenants yet.
-
- Add a managed tenant to start inventory, drift, backups, and policy management. -
- -
- - Start onboarding - - - - Change workspace - -
-
- @else -
-
- {{ $tenants->count() }} managed tenant{{ $tenants->count() === 1 ? '' : 's' }} -
- - + @foreach ($tenants as $tenant) +
+ {{-- Loading overlay --}} +
+ +
-
- @foreach ($tenants as $tenant) -
-
-
+
+
+ +
+
+

{{ $tenant->name }} -

- - - Open - + +

+ {{ $tenant->external_id ?? 'No external ID' }} +

- @endforeach -
- @endif + + {{-- Hover arrow --}} +
+ +
+ + @endforeach +
+ + {{-- Footer links --}} +
- + @endif