From eb9a422d9b19e850c2dcbf6869e9e68d5f60af97 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 18 Aug 2026 18:27:57 +0200 Subject: [PATCH] refactor(ui): rename forms.copy-button to forms.copy-input --- ...-button.blade.php => copy-input.blade.php} | 0 .../views/livewire/profile/index.blade.php | 4 ++-- .../application/internal-access.blade.php | 8 ++++---- .../project/shared/resource-details.blade.php | 20 +++++++++---------- .../volume-backups/executions.blade.php | 2 +- .../project/shared/webhooks.blade.php | 6 +++--- .../server/ca-certificate/show.blade.php | 2 +- .../PersistentStorageVolumesLayoutTest.php | 2 +- .../Feature/ResourceDetailsVisibilityTest.php | 2 +- 9 files changed, 23 insertions(+), 23 deletions(-) rename resources/views/components/forms/{copy-button.blade.php => copy-input.blade.php} (100%) diff --git a/resources/views/components/forms/copy-button.blade.php b/resources/views/components/forms/copy-input.blade.php similarity index 100% rename from resources/views/components/forms/copy-button.blade.php rename to resources/views/components/forms/copy-input.blade.php diff --git a/resources/views/livewire/profile/index.blade.php b/resources/views/livewire/profile/index.blade.php index 33f1b9a98..da5329a47 100644 --- a/resources/views/livewire/profile/index.blade.php +++ b/resources/views/livewire/profile/index.blade.php @@ -257,9 +257,9 @@ class="flex items-end gap-2">
- - +
diff --git a/resources/views/livewire/project/application/internal-access.blade.php b/resources/views/livewire/project/application/internal-access.blade.php index 8ab1442ba..6997b766b 100644 --- a/resources/views/livewire/project/application/internal-access.blade.php +++ b/resources/views/livewire/project/application/internal-access.blade.php @@ -15,7 +15,7 @@

Internal access

@if ($currentInternalHostname) - + @else
@@ -25,9 +25,9 @@ class="input input-with-copy-button bg-white dark:bg-coolgray-100 dark:read-only readonly aria-live="polite">
@endif - - - + + +

diff --git a/resources/views/livewire/project/shared/resource-details.blade.php b/resources/views/livewire/project/shared/resource-details.blade.php index 2e92c7314..1a032f696 100644 --- a/resources/views/livewire/project/shared/resource-details.blade.php +++ b/resources/views/livewire/project/shared/resource-details.blade.php @@ -3,8 +3,8 @@

Resource

- - + +
@@ -12,8 +12,8 @@

Environment

- - + +
@endif @@ -22,8 +22,8 @@

Project

- - + +
@endif @@ -32,8 +32,8 @@

Server

- - + +
@endif @@ -43,10 +43,10 @@

Stack Sub-Resources

@foreach ($stack_applications as $item) - + @endforeach @foreach ($stack_databases as $item) - + @endforeach
diff --git a/resources/views/livewire/project/shared/storages/volume-backups/executions.blade.php b/resources/views/livewire/project/shared/storages/volume-backups/executions.blade.php index 784843f6f..40ea7b7e0 100644 --- a/resources/views/livewire/project/shared/storages/volume-backups/executions.blade.php +++ b/resources/views/livewire/project/shared/storages/volume-backups/executions.blade.php @@ -71,7 +71,7 @@ class="data-table-row volume-backup-executions-grid min-h-16 items-center gap-x- - + diff --git a/resources/views/livewire/project/shared/webhooks.blade.php b/resources/views/livewire/project/shared/webhooks.blade.php index c8c42763f..6c87e3098 100644 --- a/resources/views/livewire/project/shared/webhooks.blade.php +++ b/resources/views/livewire/project/shared/webhooks.blade.php @@ -39,7 +39,7 @@ - + @if ($githubManualWebhook && $gitlabManualWebhook) @@ -70,7 +70,7 @@

- + @can('update', $resource) - +
@endif diff --git a/resources/views/livewire/server/ca-certificate/show.blade.php b/resources/views/livewire/server/ca-certificate/show.blade.php index 94d2050dc..2279e62e3 100644 --- a/resources/views/livewire/server/ca-certificate/show.blade.php +++ b/resources/views/livewire/server/ca-certificate/show.blade.php @@ -34,7 +34,7 @@ class="server-settings-workspace application-settings-workspace mt-4 grid w-full

Read-only bind mount

-
diff --git a/tests/Feature/PersistentStorageVolumesLayoutTest.php b/tests/Feature/PersistentStorageVolumesLayoutTest.php index 99133d794..d906cfb6a 100644 --- a/tests/Feature/PersistentStorageVolumesLayoutTest.php +++ b/tests/Feature/PersistentStorageVolumesLayoutTest.php @@ -184,7 +184,7 @@ function createApplicationWithVolume(array $applicationAttributes = [], array $v ->toMatch('/]*title="File-level consistency"[\s\S]*id="stopDuringBackup"[\s\S]*<\/x-callout>/'); expect(file_get_contents(resource_path('views/livewire/project/shared/storages/volume-backups/executions.blade.php'))) ->toContain('Time') - ->toContain('x-forms.copy-button') + ->toContain('x-forms.copy-input') ->toContain('col-span-6'); $css = file_get_contents(resource_path('css/app.css')); diff --git a/tests/Feature/ResourceDetailsVisibilityTest.php b/tests/Feature/ResourceDetailsVisibilityTest.php index 4cac570f7..e11c86fe9 100644 --- a/tests/Feature/ResourceDetailsVisibilityTest.php +++ b/tests/Feature/ResourceDetailsVisibilityTest.php @@ -33,7 +33,7 @@ }); it('renders copy fields as visible readonly controls with an accessible copy action', function () { - $html = Blade::render(''); + $html = Blade::render(''); expect($html) ->toContain('label class="flex gap-1 items-center mb-1 text-sm font-medium text-black dark:text-white"')