mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-21 04:24:23 +00:00
feat(ui): polish domains UX and dark-mode loading accents
Group service domain tables with inline redirect controls, live-save redirects without full refreshes, and only auto-pair www hosts when a www redirect is active. Align helper tooltips, server-timing HUD, and loading spinners with dark-theme accents; default theme-color to dark.
This commit is contained in:
@@ -131,6 +131,20 @@ test('Server-Timing HUD docks into navbar slots and floats only as fallback', fu
|
||||
->toContain('compactSummary');
|
||||
});
|
||||
|
||||
test('Server-Timing HUD follows the application color mode', function () {
|
||||
$hud = file_get_contents(resource_path('views/components/server-timing-hud.blade.php'));
|
||||
|
||||
expect($hud)
|
||||
->toContain('#server-timing-hud {')
|
||||
->toContain('html.dark #server-timing-hud {')
|
||||
->toContain('--sth-background: rgba(255, 255, 255, .96)')
|
||||
->toContain('--sth-background: rgba(16, 16, 16, .96)')
|
||||
->toContain('var(--sth-text)')
|
||||
->toContain('var(--sth-border)')
|
||||
->toContain('[data-sth-log]::-webkit-scrollbar-thumb')
|
||||
->toContain('scrollbar-color: var(--sth-scrollbar-thumb) var(--sth-scrollbar-track)');
|
||||
});
|
||||
|
||||
test('does not inject HUD into non-HTML or fragment responses', function () {
|
||||
Config::set('app.server_timing', true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user