mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-25 00:25:44 +00:00
feat(ui): unify resource nav sidebars and polish project layouts
Extract application/database/service configuration sidebars and unified headings; improve clone-to-environment, embedded deployments, storage actions, OAuth icons, terminal, and shared form components.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
test('compose actions are grouped with the application details header', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/application/general.blade.php'));
|
||||
$applicationDetails = str($view)
|
||||
->after('class="application-details-card">')
|
||||
->before('</x-application.settings-section>')
|
||||
->toString();
|
||||
|
||||
expect($applicationDetails)
|
||||
->toContain('<x-slot:actions>')
|
||||
->toContain('x-on:click="$wire.dispatch(\'loadCompose\', false)"')
|
||||
->toContain('Reload compose');
|
||||
});
|
||||
|
||||
test('docker compose heading separates its title and action', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/application/general.blade.php'));
|
||||
|
||||
expect($view)->toContain('<div class="flex items-center gap-4">');
|
||||
});
|
||||
Reference in New Issue
Block a user