mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 18:23:40 +00:00
feat(ui): dock resource actions in top bar, user menu in sidebar
Teleport application/database/service heading actions into a fixed #resource-action-hud-slot so they no longer overlay page content. Render the account menu in the sidebar footer (with collapse-aware layout) instead of the header, and drop the project card hover arrow.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
it('shows the shared hover arrow on project and server cards', function () {
|
||||
it('uses card hover animation without a right arrow on project and server cards', function () {
|
||||
$views = [
|
||||
resource_path('views/livewire/project/index.blade.php'),
|
||||
resource_path('views/livewire/server/index.blade.php'),
|
||||
@@ -10,8 +10,9 @@ it('shows the shared hover arrow on project and server cards', function () {
|
||||
$contents = file_get_contents($view);
|
||||
|
||||
expect($contents)
|
||||
->toContain('<x-reicon name="arrow-right"')
|
||||
->toContain('group-hover:translate-x-0.5 group-hover:opacity-100')
|
||||
->toContain('pointer-events-none absolute top-1/2 right-3');
|
||||
->toContain('hover:-translate-y-px')
|
||||
->toContain('hover:shadow-md')
|
||||
->not->toContain('group-hover:translate-x-0.5 group-hover:opacity-100')
|
||||
->not->toContain('pointer-events-none absolute top-1/2 right-3');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user