mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 20:15:36 +00:00
fix(ui): stabilize domain controls and unify resource navigation
Preserve optimistic listbox selections during Livewire saves, refresh service domains after updates, and align application, service, and server navigation layouts.
This commit is contained in:
1 parent
3f47d41880
commit
41b3ed95aa
21 files changed
+464
-954
No files matched your search
@@ -52,3 +52,15 @@ test('searchable listbox keeps the helper outside the label association', functi
|
||||
->toContain('aria-label="More information"')
|
||||
->not->toMatch('/<label[^>]*for="tz-trigger"[^>]*>[\s\S]*aria-label="More information"[\s\S]*<\/label>/');
|
||||
});
|
||||
|
||||
test('searchable listbox serializes change handlers', function () {
|
||||
$listbox = file_get_contents(resource_path('views/components/forms/searchable-listbox.blade.php'));
|
||||
|
||||
expect($listbox)
|
||||
->toContain('saving: false')
|
||||
->toContain('async choose(option)')
|
||||
->toContain('if (this.saving || option.disabled)')
|
||||
->toContain('await this.$wire.')
|
||||
->toContain("'pointer-events-none opacity-70': saving")
|
||||
->toContain('@elseif ($live && ! $onChange) @entangle($id).live');
|
||||
});
|
||||
Reference in new issue
Block a user