feat(project): add icons and improve persistent volume management

Add project icon storage and serving with local/S3 support, prevent deletion of compose-managed volumes, and optimize volume backups. Refine project and backup UI components with consistent styling and coverage.
This commit is contained in:
Andras Bacsai
2026-08-13 22:56:52 +02:00
parent a02d02d19b
commit fd5eb3e0cd
43 changed files with 728 additions and 60 deletions
@@ -38,8 +38,8 @@ it('preselects the first result in every resource selection step', function () {
expect($view)
->toContain('preselectFirstResult()')
->toContain("this.selectedIndex = 0;")
->toContain("results[0].focus();")
->toContain('this.selectedIndex = 0;')
->toContain('results[0].focus();')
->and(substr_count($view, 'x-init="preselectFirstResult()"'))->toBe(4);
});
@@ -73,6 +73,13 @@ it('closes the client-side command palette without a Livewire request', function
->not->toContain('closeTimer');
});
it('closes the mobile sidebar when the command palette opens', function () {
$layout = file_get_contents(resource_path('views/layouts/app.blade.php'));
expect($layout)
->toContain('@open-global-search.window="open = false"');
});
it('keeps palette content intact during the close animation to prevent flicker', function () {
$view = file_get_contents(resource_path('views/livewire/global-search.blade.php'));