TenantAtlas/apps/platform/resources/views/filament/partials/diff/row-removed.blade.php
ahmido ce0615a9c1 Spec 182: relocate Laravel platform to apps/platform (#213)
## 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
2026-04-08 08:40:47 +00:00

44 lines
1.7 KiB
PHP

@php
use App\Support\Badges\BadgeCatalog;
use App\Support\Badges\BadgeDomain;
use App\Support\Diff\ValueStringifier;
use Illuminate\Support\Str;
$badge = BadgeCatalog::spec(BadgeDomain::DiffRowStatus, $row->status);
$stringifier = app(ValueStringifier::class);
$rowId = 'diff-row-'.Str::slug($row->key.'-'.$row->status->value);
$padding = $compact ? 'p-3' : 'p-4';
@endphp
<article
aria-labelledby="{{ $rowId }}"
class="rounded-xl border border-danger-200 bg-danger-50/75 {{ $padding }} dark:border-danger-500/30 dark:bg-danger-500/10"
>
<div class="flex flex-wrap items-start justify-between gap-3">
<div class="space-y-1">
<div class="flex flex-wrap items-center gap-2">
<h4 id="{{ $rowId }}" class="text-sm font-semibold text-gray-950 dark:text-white">{{ $row->label }}</h4>
<x-filament::badge :color="$badge->color" :icon="$badge->icon">{{ $badge->label }}</x-filament::badge>
</div>
<p class="text-xs text-gray-600 dark:text-gray-300">Removed value</p>
</div>
</div>
<div class="mt-3">
@if ($row->isListLike)
@include('filament.partials.diff.inline-list', [
'row' => $row,
'compact' => $compact,
'dimUnchanged' => $dimUnchanged,
])
@else
<dl>
<div>
<dt class="text-xs font-semibold uppercase tracking-wide text-gray-500 dark:text-gray-400">Previous</dt>
<dd class="mt-1 text-sm text-gray-900 dark:text-gray-100">{{ $stringifier->stringify($row->oldValue) }}</dd>
</div>
</dl>
@endif
</div>
</article>