mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 00:14:48 +00:00
fix(dev): support configurable hosts and light-mode surfaces
Add configurable bind addresses and Vite protocols for development networking, and improve light-mode styling for logs and unsaved-change controls.
This commit is contained in:
1 parent
c0b75d04a6
commit
faf527d554
7 files changed
+56
-14
No files matched your search
@@ -47,6 +47,25 @@ test('unsaved bar saves with enter and shows the shortcut on the save button', f
|
||||
->toContain('Enter</kbd>');
|
||||
});
|
||||
|
||||
test('unsaved bar keyboard shortcut remains visible in light mode', function () {
|
||||
$contents = file_get_contents(resource_path('views/components/unsaved-bar.blade.php'));
|
||||
|
||||
expect($contents)
|
||||
->toContain('border-coollabs/20 bg-coollabs/10')
|
||||
->toContain('text-coollabs-200')
|
||||
->toContain('dark:border-white/20 dark:bg-white/10 dark:text-white/75');
|
||||
});
|
||||
|
||||
test('unsaved bar uses a light surface in light mode', function () {
|
||||
$contents = file_get_contents(resource_path('views/components/unsaved-bar.blade.php'));
|
||||
|
||||
expect($contents)
|
||||
->toContain('border-neutral-200 bg-white')
|
||||
->toContain('text-neutral-800 dark:text-fg')
|
||||
->toContain('bg-neutral-100')
|
||||
->toContain('dark:bg-white/[0.07]');
|
||||
});
|
||||
|
||||
test('unsaved bar stays above floating notifications so save actions remain accessible', function () {
|
||||
$unsavedBar = file_get_contents(resource_path('views/components/unsaved-bar.blade.php'));
|
||||
$popup = file_get_contents(resource_path('views/components/popup-small.blade.php'));
|
||||
|
||||
Reference in new issue
Block a user