mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 10:23:30 +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('keeps editable standalone database storage actions in the table action column', function () {
|
||||
$component = file_get_contents(app_path('Livewire/Project/Shared/Storages/All.php'));
|
||||
$view = file_get_contents(resource_path('views/livewire/project/shared/storages/all.blade.php'));
|
||||
|
||||
expect($component)
|
||||
->toContain('$this->showActionsColumn = $this->canUpdate;')
|
||||
->toContain('$this->showBackupAction = $this->resource instanceof Application')
|
||||
->toContain('if (! $this->showBackupAction)')
|
||||
->and($view)
|
||||
->toContain('@if ($showActionsColumn)')
|
||||
->toContain('@if ($showBackupAction)')
|
||||
->toContain('title="New Scheduled Backup"')
|
||||
->toContain('<livewire:project.database.create-scheduled-backup :database="$resource"')
|
||||
->toContain('Backup');
|
||||
});
|
||||
Reference in New Issue
Block a user