mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-24 04:27:42 +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,17 @@
|
||||
<?php
|
||||
|
||||
it('uses a database list editor instead of a comma-separated text field', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/database/backup-edit/general.blade.php'));
|
||||
|
||||
expect($view)
|
||||
->toContain('<div class="grid w-full gap-4">')
|
||||
->toContain("value: @entangle('databasesToBackup').live")
|
||||
->toContain('class="chip-input"')
|
||||
->toContain('class="chip font-mono"')
|
||||
->toContain('class="chip-remove"')
|
||||
->toContain('addDatabase()')
|
||||
->toContain('removeDatabase(index)')
|
||||
->toContain('Type a database and press Enter');
|
||||
|
||||
expect(substr_count($view, '<x-forms.input label="Databases to back up"'))->toBe(1);
|
||||
});
|
||||
Reference in New Issue
Block a user