mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-02 12:19:57 +00:00
fix(ui): use solid surfaces for deployment indicator states
Remove deployment opacity fading and translucent dark-theme surfaces, and drop the global listbox hover background rule.
This commit is contained in:
@@ -30,7 +30,7 @@ it('uses the redesigned elevated surface and status badge patterns', function ()
|
||||
->toContain("'In progress'")
|
||||
->toContain("'Queued'")
|
||||
->toContain('dark:text-fg')
|
||||
->toContain('dark:border-white/[0.08]')
|
||||
->toContain('dark:border-coolgray-300')
|
||||
->toContain('$this->shouldShow')
|
||||
->toContain('updateShouldShowFromPath')
|
||||
->toContain('livewire:navigated')
|
||||
@@ -39,3 +39,16 @@ it('uses the redesigned elevated surface and status badge patterns', function ()
|
||||
->not->toContain('text-gray-800')
|
||||
->not->toContain("str_replace('_', ' ', \$deployment->status)");
|
||||
});
|
||||
|
||||
it('uses solid surfaces in every deployments indicator state', function () {
|
||||
$indicatorView = file_get_contents(resource_path('views/livewire/deployments-indicator.blade.php'));
|
||||
|
||||
expect($indicatorView)
|
||||
->not->toContain('reduceOpacity')
|
||||
->not->toContain('transition-opacity')
|
||||
->not->toContain('x-transition:enter-start="opacity-0')
|
||||
->not->toContain('x-transition:leave-end="opacity-0')
|
||||
->not->toContain('dark:bg-white/[')
|
||||
->not->toContain('dark:hover:bg-white/[')
|
||||
->not->toContain('dark:border-white/[');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user