mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +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
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Docker CPU constraints docs link belongs in the CPU section header as a button.
|
||||
*/
|
||||
test('resource limits cpu docs link is a header action button', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/shared/resource-limits.blade.php'));
|
||||
|
||||
expect($view)
|
||||
->toContain('<x-slot:actions>')
|
||||
->toContain('Docker CPU constraints')
|
||||
->toContain('https://docs.docker.com/engine/containers/resource_constraints/#cpu')
|
||||
->toContain('class="button"')
|
||||
->toContain('name="external-link"')
|
||||
->not->toContain('mt-4 inline-flex items-center gap-1 text-xs text-neutral-500');
|
||||
});
|
||||
Reference in new issue
Block a user