Skip to content

Modern Docker Management, Designed for Everyone

fix: redirect to /compose after project delete

Kyle Mendellca8b4c6254f0
diff --git a/frontend/src/lib/components/action-buttons.svelte b/frontend/src/lib/components/action-buttons.svelte
index 0346b13d1..0e02af93b 100644
--- a/frontend/src/lib/components/action-buttons.svelte
+++ b/frontend/src/lib/components/action-buttons.svelte
@@ -74,7 +74,7 @@
`${type.charAt(0).toUpperCase() + type.slice(1)} ${type === 'stack' ? 'Destroyed' : 'Removed'} Successfully`
);
await invalidateAll();
- goto(`/${type}s`);
+ goto(`${type === 'stack' ? '/compose' : 'containers'}`);
}
});
}
diff --git a/frontend/src/routes/onboarding/complete/+page.svelte b/frontend/src/routes/onboarding/complete/+page.svelte
index 5324b28c3..3fc2893dc 100644
--- a/frontend/src/routes/onboarding/complete/+page.svelte
+++ b/frontend/src/routes/onboarding/complete/+page.svelte
@@ -55,7 +55,7 @@
<h3 class="font-semibold">What's Next?</h3>
<ul class="mt-2 space-y-1 text-sm text-muted-foreground">
<li>• Start managing your Docker containers and images</li>
- <li>• Create and deploy Docker Compose stacks</li>
+ <li>• Create and deploy Docker Compose Projects</li>
<li>• Monitor system resources and performance</li>
<li>• Configure additional settings as needed</li>
</ul>
diff --git a/frontend/src/routes/onboarding/settings/+page.svelte b/frontend/src/routes/onboarding/settings/+page.svelte
index baee26fb6..d923c17f1 100644
--- a/frontend/src/routes/onboarding/settings/+page.svelte
+++ b/frontend/src/routes/onboarding/settings/+page.svelte
@@ -69,7 +69,7 @@
<Card.Root>
<Card.Header>
<Card.Title>Auto Update</Card.Title>
- <Card.Description>Configure automatic updating of containers and stacks</Card.Description>
+ <Card.Description>Configure automatic updating of containers and projects</Card.Description>
</Card.Header>
<Card.Content class="space-y-4">
<div class="flex items-center justify-between">
diff --git a/frontend/src/routes/settings/general/+page.svelte b/frontend/src/routes/settings/general/+page.svelte
index 0271fe832..0ffb89daa 100644
--- a/frontend/src/routes/settings/general/+page.svelte
+++ b/frontend/src/routes/settings/general/+page.svelte
@@ -29,7 +29,7 @@
function handleGeneralSettingUpdates() {
isLoading.saving = true;
updateSettingsConfig({
- stacksDirectory: stacksDirectoryInput.value,
+ stacksDirectory: projectsDirectoryInput.value,
baseServerUrl: baseServerUrlInput.value
})
.then(async () => {
@@ -44,7 +44,7 @@
});
}
- let stacksDirectoryInput = $state<FormInputType<string>>({
+ let projectsDirectoryInput = $state<FormInputType<string>>({
value: '',
error: null
});
@@ -65,7 +65,7 @@
currentSettings = s;
if (!isLoading.saving) {
- stacksDirectoryInput.value = s.stacksDirectory || '';
+ projectsDirectoryInput.value = s.stacksDirectory || '';
baseServerUrlInput.value = s.baseServerUrl || 'localhost';
}
});
@@ -117,7 +117,7 @@
<FormInput
label="Projects Directory"
placeholder="data/projects"
- bind:input={stacksDirectoryInput}
+ bind:input={projectsDirectoryInput}
helpText="Directory where Docker Compose files are stored (this is inside the container)"
/>
</Card.Content>