## Summary - move the Laravel application into `apps/platform` and keep the repository root for orchestration, docs, and tooling - update the local command model, Sail/Docker wiring, runtime paths, and ignore rules around the new platform location - add relocation quickstart/contracts plus focused smoke coverage for bootstrap, command model, routes, and runtime behavior ## Validation - `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/PlatformRelocation` - integrated browser smoke validated `/up`, `/`, `/admin`, `/admin/choose-workspace`, and tenant route semantics for `200`, `403`, and `404` ## Remaining Rollout Checks - validate Dokploy build context and working-directory assumptions against the new `apps/platform` layout - confirm web, queue, and scheduler processes all start from the expected working directory in staging/production - verify no legacy volume mounts or asset-publish paths still point at the old root-level `public/` or `storage/` locations Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #213
32 lines
1.7 KiB
PHP
32 lines
1.7 KiB
PHP
<x-filament-panels::page>
|
|
<div class="space-y-6">
|
|
<div class="rounded-xl border border-gray-200 bg-white p-4 dark:border-gray-800 dark:bg-gray-900">
|
|
<h2 class="text-base font-semibold text-gray-950 dark:text-white">Tenant diagnostics</h2>
|
|
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">
|
|
Identify common tenant configuration issues and apply safe repairs.
|
|
</p>
|
|
</div>
|
|
|
|
@if ($missingOwner)
|
|
<div class="rounded-xl border border-amber-200 bg-amber-50 p-4 text-amber-900 dark:border-amber-900/40 dark:bg-amber-950/40 dark:text-amber-100">
|
|
<div class="font-semibold">Missing owner</div>
|
|
<div class="mt-1 text-sm">This tenant currently has no Owner members.</div>
|
|
</div>
|
|
@endif
|
|
|
|
@if ($hasDuplicateMembershipsForCurrentUser)
|
|
<div class="rounded-xl border border-amber-200 bg-amber-50 p-4 text-amber-900 dark:border-amber-900/40 dark:bg-amber-950/40 dark:text-amber-100">
|
|
<div class="font-semibold">Duplicate memberships</div>
|
|
<div class="mt-1 text-sm">This tenant has duplicate membership rows for your user.</div>
|
|
</div>
|
|
@endif
|
|
|
|
@if (! $missingOwner && ! $hasDuplicateMembershipsForCurrentUser)
|
|
<div class="rounded-xl border border-gray-200 bg-white p-4 text-gray-700 dark:border-gray-800 dark:bg-gray-900 dark:text-gray-300">
|
|
<div class="font-semibold text-gray-950 dark:text-white">All good</div>
|
|
<div class="mt-1 text-sm">No known issues detected.</div>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</x-filament-panels::page>
|