From 091fdf1ebe383b72aa3684bc611ec3e6ca2729ae Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Sat, 24 Oct 2026 14:05:58 +0200 Subject: [PATCH] feat(ui): move the file browser container picker to a header dropdown Co-Authored-By: Claude Opus 5.5 --- .../project/shared/file-browser.blade.php | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/resources/views/livewire/project/shared/file-browser.blade.php b/resources/views/livewire/project/shared/file-browser.blade.php index 7611ac6967..c4b5ceaf84 100644 --- a/resources/views/livewire/project/shared/file-browser.blade.php +++ b/resources/views/livewire/project/shared/file-browser.blade.php @@ -52,6 +52,15 @@ + @if ($containerRunning && $filesLoaded && count($availableContainers) > 1) +
+ +
+ @endif
@@ -117,6 +126,14 @@ Refresh + @elseif (! $filesLoaded && ! $loadFailed) + {{-- Disabled placeholders keep the header at its loaded height. --}} + Upload + + New + + + Refresh @endif @@ -150,33 +167,18 @@
- {{-- Container picker (services / multi-container) --}} - @if (count($availableContainers) > 1) -
- Container - @foreach ($availableContainers as $name) - - @endforeach -
- @endif - {{-- Breadcrumb. The root crumb renders as "/" and doubles as the first separator, so we only draw a slash between named segments (index >= 2) - avoids the "/ /" duplicate. --}} -
+
@foreach ($this->breadcrumbs() as $crumb) @if ($loop->index > 1) / @endif