From a6ab360ac23dfb7e28b3d26e0ca33a65df3928da Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Thu, 6 Aug 2026 13:58:33 +0200 Subject: [PATCH] fix(ui): gate copy button on clipboard API support Only show the copy control when isSecureContext and clipboard.writeText are available, and style the empty internal hostname state as a readonly input to match adjacent fields. --- .../views/components/forms/copy-button.blade.php | 8 +++++--- .../livewire/project/application/general.blade.php | 11 ++++++----- .../Feature/ApplicationInternalAccessSectionTest.php | 1 + tests/Feature/ResourceDetailsVisibilityTest.php | 4 +++- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/resources/views/components/forms/copy-button.blade.php b/resources/views/components/forms/copy-button.blade.php index e89203902..7a12cdfe4 100644 --- a/resources/views/components/forms/copy-button.blade.php +++ b/resources/views/components/forms/copy-button.blade.php @@ -1,17 +1,19 @@ @props(['text', 'label' => null]) -