mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-17 08:14:25 +00:00
feat(ui): polish domains, storage, env vars and resource nav
Improve project resource UIs: sort domains by DNS failure, stop re-adding www pairs on refresh, lazy-load storage tabs with counts, tighten env-var tables, keep application tabs active across Livewire polls, unify database type labels, and update related CSS/JS and tests.
This commit is contained in:
1 parent
dbc6f5e08c
commit
a7a06aa6c8
75 files changed
+3909
-1173
No files matched your search
@@ -2,10 +2,11 @@
|
||||
@php
|
||||
$canUpdate = auth()->user()->can('update', $application);
|
||||
$labelsManagedByCoolify = $application->settings->is_container_label_readonly_enabled;
|
||||
// Use model UUIDs: Livewire update requests do not carry page route params.
|
||||
$generalRouteParameters = [
|
||||
'project_uuid' => request()->route('project_uuid'),
|
||||
'environment_uuid' => request()->route('environment_uuid'),
|
||||
'application_uuid' => request()->route('application_uuid'),
|
||||
'project_uuid' => data_get($application, 'environment.project.uuid'),
|
||||
'environment_uuid' => data_get($application, 'environment.uuid'),
|
||||
'application_uuid' => $application->uuid,
|
||||
];
|
||||
@endphp
|
||||
|
||||
@@ -43,7 +44,7 @@
|
||||
['value' => false, 'label' => 'Generated name (rolling updates)'],
|
||||
['value' => true, 'label' => 'Consistent name (no rolling updates)'],
|
||||
]" :disabled="! $canUpdate" />
|
||||
@if ($isConsistentContainerNameEnabled === false)
|
||||
@if ($isConsistentContainerNameEnabled === true)
|
||||
<x-forms.input
|
||||
helper="You can add a custom name for your container.<br><br>The name is saved automatically and converted to slug format. <span class='font-bold dark:text-warning'>You will lose the rolling update feature!</span>"
|
||||
id="customInternalName" label="Custom container name" canGate="update"
|
||||
|
||||
Reference in new issue
Block a user