From e5019bb44ff601d5cc852ee3d471eaf31d8b49b1 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 17 Dec 2025 12:25:15 +0100 Subject: [PATCH] Add wireNavigate() to breadcrumbs dropdown navigation links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add SPA navigation with prefetching to all navigation links in the breadcrumbs component dropdown menus, excluding Terminal links which require full page loads for WebSocket connections. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../resources/breadcrumbs.blade.php | 176 +++++++++--------- 1 file changed, 88 insertions(+), 88 deletions(-) diff --git a/resources/views/components/resources/breadcrumbs.blade.php b/resources/views/components/resources/breadcrumbs.blade.php index 8ea329fac..380c3270a 100644 --- a/resources/views/components/resources/breadcrumbs.blade.php +++ b/resources/views/components/resources/breadcrumbs.blade.php @@ -36,7 +36,7 @@ x-transition:leave-end="opacity-0 scale-95" class="absolute z-20 top-full mt-1 w-56 -ml-2 bg-white dark:bg-coolgray-100 rounded-md shadow-lg py-1 border border-neutral-200 dark:border-coolgray-200 max-h-96 overflow-y-auto scrollbar"> @foreach ($projects as $project) - {{ $project->name }} @@ -96,7 +96,7 @@ class="relative w-48 bg-white dark:bg-coolgray-100 rounded-md shadow-lg py-1 bor {{ $environment->name }} @@ -111,7 +111,7 @@ class="flex items-center justify-between gap-2 px-4 py-2 text-sm hover:bg-neutra @endforeach
- uuid }}-{{ $res->uuid }}'); resPositions['{{ $environment->uuid }}-{{ $res->uuid }}'] = $el.offsetTop - ($el.closest('.overflow-y-auto')?.scrollTop || 0)" @mouseleave="closeRes()"> - {{ $res->name }}@if($resServerName) ({{ $resServerName }})@endif @@ -223,7 +223,7 @@ class="relative w-48 bg-white dark:bg-coolgray-100 rounded-md shadow-lg py-1 bor @if ($resType === 'application')
- Configuration Deployments - Logs @can('canAccessTerminal') @elseif ($resType === 'service')
- Configuration Logs @can('canAccessTerminal') @else
- Configuration Logs @can('canAccessTerminal') $res->getMorphClass() === 'App\Models\StandaloneMongodb' || $res->getMorphClass() === 'App\Models\StandaloneMysql' || $res->getMorphClass() === 'App\Models\StandaloneMariadb') - Backups @endif @endif @@ -300,90 +300,90 @@ class="block px-4 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-coolgray-200"> class="pl-1">
@if ($resType === 'application') - General - Environment Variables - Persistent Storage - Source - Servers - Scheduled Tasks - Webhooks - Preview Deployments - Healthcheck - Rollback - Resource Limits - Resource Operations - Metrics - Tags - Advanced - Danger Zone @elseif ($resType === 'service') - General - Environment Variables - Storages - Scheduled Tasks - Webhooks - Resource Operations - Tags - Danger Zone @else - General - Environment Variables - Servers - Persistent Storage - Webhooks - Resource Limits - Resource Operations - Metrics - Tags - Danger Zone @endif @@ -451,7 +451,7 @@ class="relative w-48 bg-white dark:bg-coolgray-100 rounded-md shadow-lg py-1 bor @if ($isApplication)
- Configuration Deployments - Logs @@ -478,7 +478,7 @@ class="block px-4 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-coolgray-200"> @elseif ($isService)
- Configuration Logs @@ -501,7 +501,7 @@ class="block px-4 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-coolgray-200"> @else
- Configuration Logs @@ -526,7 +526,7 @@ class="block px-4 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-coolgray-200"> $resourceType === 'App\Models\StandaloneMongodb' || $resourceType === 'App\Models\StandaloneMysql' || $resourceType === 'App\Models\StandaloneMariadb') - Backups @@ -543,90 +543,90 @@ class="block px-4 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-coolgray-200"> class="pl-1">