docs(ui): clarify application image retention cleanup options
This commit is contained in:
parent
0a6db15216
commit
aed5ec3e2f
2 changed files with 9 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class="flex size-9 shrink-0 items-center justify-center rounded-lg bg-neutral-10
|
|||
['value' => true, 'label' => 'Delete unused networks'],
|
||||
]" />
|
||||
<x-forms.listbox id="disableApplicationImageRetention" label="Application images"
|
||||
helper="Keeping retained images allows application rollbacks."
|
||||
helper="Choose Keep retained images to follow each application’s Images to keep setting under Rollback. Delete all old images ignores that setting and keeps only the running image."
|
||||
onChange="instantSave" :options="[
|
||||
['value' => false, 'label' => 'Keep retained images'],
|
||||
['value' => true, 'label' => 'Delete all old images'],
|
||||
|
|
|
|||
|
|
@ -17,3 +17,11 @@
|
|||
->toContain('wire:loading.remove')
|
||||
->toContain('<x-loading wire:loading');
|
||||
});
|
||||
|
||||
test('docker cleanup explains application image retention options', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/server/docker-cleanup.blade.php'));
|
||||
|
||||
expect($view)
|
||||
->toContain('Choose Keep retained images to follow each application’s Images to keep setting under Rollback.')
|
||||
->toContain('Delete all old images ignores that setting and keeps only the running image.');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue