Skip to content

Commit 7467ada

Browse files
author
Mauricio Siu
committed
feat: enhance rollback confirmation dialog with additional information about deployment process
1 parent f0f2188 commit 7467ada

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,19 @@ export const ShowDeployments = ({
373373
type === "application" && (
374374
<DialogAction
375375
title="Rollback to this deployment"
376-
description="Are you sure you want to rollback to this deployment?"
376+
description={
377+
<div className="flex flex-col gap-3">
378+
<p>
379+
Are you sure you want to rollback to this
380+
deployment?
381+
</p>
382+
<AlertBlock type="info" className="text-sm">
383+
Please wait a few seconds while the image is
384+
pulled from the registry. Your application
385+
should be running shortly.
386+
</AlertBlock>
387+
</div>
388+
}
377389
type="default"
378390
onClick={async () => {
379391
await rollback({

0 commit comments

Comments
 (0)