mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-22 16:23:51 +00:00
feat(ui): show S3 backup status and move domain action
Eager-load S3 on volume backup lists and add an S3 status column with Configured/Unavailable/Not set badges. Surface Local vs S3 on the persistent storages backup column. Move service resource domain links to a globe action in the card footer, and update related tests and grid CSS.
This commit is contained in:
@@ -44,3 +44,13 @@ it('aligns compose resource columns and uses icon actions', function () {
|
||||
->not->toContain('>Settings</a>')
|
||||
->not->toContain('>Backups</a>');
|
||||
});
|
||||
|
||||
it('distinguishes domain management from resource settings', function () {
|
||||
$resourceCard = file_get_contents(resource_path('views/livewire/project/service/resource-card.blade.php'));
|
||||
|
||||
expect($resourceCard)
|
||||
->toContain('title="Manage domains" aria-label="Manage domains"')
|
||||
->toContain('<x-reicon name="globe" class="size-4" />')
|
||||
->toContain('title="Resource settings" aria-label="Resource settings"')
|
||||
->not->toContain('title="Edit domains" aria-label="Edit domains"');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user