mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +00:00
feat(ui): unify team, security, and notification settings layouts
Extract shared settings-layout components and a dedicated team danger-zone page. Enable modal editing for security resources, polish OAuth/API-token controls, and align notification and service configuration UI with the new navigation patterns.
This commit is contained in:
1 parent
5842d77b81
commit
2291c3fa1c
83 files changed
+1585
-597
No files matched your search
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
it('provides grid and table views for compose resources without sorting controls', function () {
|
||||
$configuration = file_get_contents(resource_path('views/livewire/project/service/configuration.blade.php'));
|
||||
$resourceCard = file_get_contents(resource_path('views/livewire/project/service/resource-card.blade.php'));
|
||||
|
||||
expect($configuration)
|
||||
->toContain("localStorage.getItem('service-compose-resources-view') || 'table'")
|
||||
->toContain("setViewMode('table')")
|
||||
->toContain("setViewMode('grid')")
|
||||
->toContain('aria-label="Table view"')
|
||||
->toContain('aria-label="Grid view"')
|
||||
->toContain("localStorage.setItem('service-compose-resources-view', mode)")
|
||||
->not->toContain('>Sort</button>')
|
||||
->and($resourceCard)
|
||||
->toContain("x-show=\"viewMode === 'grid'\"")
|
||||
->toContain("x-show=\"viewMode === 'table'\"");
|
||||
});
|
||||
|
||||
it('directs compose application domain management to the parent service', function () {
|
||||
$resourceSettings = file_get_contents(resource_path('views/livewire/project/service/index.blade.php'));
|
||||
|
||||
expect($resourceSettings)
|
||||
->toContain('Manage domains, DNS checks, and redirects on the parent service')
|
||||
->toContain("route('project.service.domains', \$parameters)")
|
||||
->toContain('Manage domains')
|
||||
->not->toContain('<x-forms.domain-chips model="fqdn" label="Domains"');
|
||||
});
|
||||
Reference in new issue
Block a user