mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 06:17:36 +00:00
feat(ui): expand server sidebar and extract status summary
Move proxy, sentinel, resources, and terminal into the server sidebar with nested routes and icons; extract navbar status into a shared status-summary component; add full-width service links and compact loading support.
This commit is contained in:
1 parent
d6db943453
commit
85613b01ba
25 files changed
+312
-121
No files matched your search
@@ -92,7 +92,7 @@ it('shows the database sidebar in the terminal', function () {
|
||||
$terminal = file_get_contents(resource_path('views/livewire/project/shared/execute-container-command.blade.php'));
|
||||
|
||||
expect($terminal)
|
||||
->toContain("in_array(\$type, ['application', 'database', 'service'], true)")
|
||||
->toContain("in_array(\$type, ['application', 'database', 'service', 'server'], true)")
|
||||
->toContain('<x-database.configuration-sidebar :database="$resource" current-route="project.database.command"');
|
||||
});
|
||||
|
||||
@@ -105,7 +105,7 @@ it('shows the service sidebar on runtime logs and terminal pages', function () {
|
||||
->toContain("in_array(\$type, ['application', 'database', 'service'], true)")
|
||||
->toContain('<x-service.configuration-sidebar :service="$resource" current-route="project.service.logs"')
|
||||
->and($terminal)
|
||||
->toContain("in_array(\$type, ['application', 'database', 'service'], true)")
|
||||
->toContain("in_array(\$type, ['application', 'database', 'service', 'server'], true)")
|
||||
->toContain('<x-service.configuration-sidebar :service="$resource" current-route="project.service.command"')
|
||||
->and($sidebar)
|
||||
->toContain("'Logs' => ['Runtime']")
|
||||
|
||||
Reference in new issue
Block a user