You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bdb2f35
Browse filesBrowse the repository at this point in the historyBrowse files
feat(webapp): redeploy recent deployments from the dashboard
Add a Redeploy action to the deployments list. Finished deployments from the last seven days that were triggered from GitHub or deployed with the CLI's native build can be rebuilt from the dashboard as a new deployment, with an option to promote it automatically once it succeeds. The new deployment links back to the one it was redeployed from.
Mono-RevId: c378a6f30e5e6ff952e3f084f8426e6a5d342d62
Recent deployments started from the GitHub integration or a native CLI deploy can be redeployed from the deployments list, rebuilding the same commit or upload as a new deployment.
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments.$deploymentParam/route.tsx
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,12 @@ import { useProject } from "~/hooks/useProject";
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments/route.tsx
@@ -563,7 +580,8 @@ function DeploymentActionsCell({
563
580
<TableCellMenu
564
581
isSticky
565
582
isSelected={isSelected}
566
-
popoverContent={
583
+
// oxlint-disable-next-line react/no-unstable-nested-components -- Render prop: the menu primitive passes its close handler so the redeploy dialog can dismiss the menu.
584
+
popoverContent={(closeMenu)=>(
567
585
<>
568
586
{canBeRolledBack&&
569
587
(canWriteDeployments ? (
@@ -664,12 +682,122 @@ function DeploymentActionsCell({
0 commit comments