## 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
42 lines
1.9 KiB
PHP
42 lines
1.9 KiB
PHP
<x-filament-widgets::widget>
|
|
<x-filament::section>
|
|
<x-slot name="heading">
|
|
Recently failed operations
|
|
</x-slot>
|
|
|
|
<x-slot name="description">
|
|
Latest failures in {{ $windowLabel }}. Click any run for the canonical detail view.
|
|
</x-slot>
|
|
|
|
@if ($runs->isEmpty())
|
|
<div class="rounded-lg border border-dashed border-gray-300 px-4 py-6 text-sm text-gray-500 dark:border-white/15 dark:text-gray-400">
|
|
No failed operations in the selected time window.
|
|
</div>
|
|
@else
|
|
<div class="space-y-3">
|
|
@foreach ($runs as $run)
|
|
<a
|
|
href="{{ $run['url'] }}"
|
|
class="block rounded-lg border border-gray-200 px-4 py-3 transition hover:border-primary-400 hover:bg-gray-50 dark:border-white/10 dark:hover:border-primary-500 dark:hover:bg-white/5"
|
|
>
|
|
<div class="flex flex-wrap items-center justify-between gap-2">
|
|
<div class="font-medium text-gray-950 dark:text-white">
|
|
#{{ $run['id'] }} · {{ $run['operation'] }}
|
|
</div>
|
|
<div class="text-xs text-gray-500 dark:text-gray-400">{{ $run['created_at'] }}</div>
|
|
</div>
|
|
<div class="mt-1 text-sm text-gray-600 dark:text-gray-300">{{ $run['tenant'] }}</div>
|
|
<div class="mt-2 text-sm text-danger-700 dark:text-danger-400">{{ $run['failure_message'] }}</div>
|
|
</a>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
|
|
<div class="mt-4">
|
|
<x-filament::link :href="$runsUrl" icon="heroicon-m-arrow-top-right-on-square">
|
|
Open all runs
|
|
</x-filament::link>
|
|
</div>
|
|
</x-filament::section>
|
|
</x-filament-widgets::widget>
|