docs(ui): clarify application image retention cleanup options

This commit is contained in:
Andras Bacsai
2026-08-15 17:59:32 +02:00
parent 0a6db15216
commit aed5ec3e2f
2 changed files with 9 additions and 1 deletions
@@ -99,7 +99,7 @@
['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 applications 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 @@ test('docker cleanup executions show a loading state while opening an execution'
->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 applications Images to keep setting under Rollback.')
->toContain('Delete all old images ignores that setting and keeps only the running image.');
});