Merge pull request #4847 from ANSUJKMEHER/fix-4666-action-terminology

fix: rename compose "Reload" action to "Rebuild"
This commit is contained in:
Mauricio Siu
2026-07-21 00:52:29 -06:00
committed by GitHub
@@ -84,19 +84,19 @@ export const ComposeActions = ({ composeId }: Props) => {
)} )}
{canDeploy && ( {canDeploy && (
<DialogAction <DialogAction
title="Reload Compose" title="Rebuild Compose"
description="Are you sure you want to reload this compose?" description="Are you sure you want to rebuild this compose?"
type="default" type="default"
onClick={async () => { onClick={async () => {
await redeploy({ await redeploy({
composeId: composeId, composeId: composeId,
}) })
.then(() => { .then(() => {
toast.success("Compose reloaded successfully"); toast.success("Compose rebuilt successfully");
refetch(); refetch();
}) })
.catch(() => { .catch(() => {
toast.error("Error reloading compose"); toast.error("Error rebuilding compose");
}); });
}} }}
> >
@@ -109,12 +109,14 @@ export const ComposeActions = ({ composeId }: Props) => {
<TooltipTrigger asChild> <TooltipTrigger asChild>
<div className="flex items-center"> <div className="flex items-center">
<RefreshCcw className="size-4 mr-1" /> <RefreshCcw className="size-4 mr-1" />
Reload Rebuild
</div> </div>
</TooltipTrigger> </TooltipTrigger>
<TooltipPrimitive.Portal> <TooltipPrimitive.Portal>
<TooltipContent sideOffset={5} className="z-60"> <TooltipContent sideOffset={5} className="z-60">
<p>Reload the compose without rebuilding it</p> <p>
Rebuilds the compose without downloading the source code
</p>
</TooltipContent> </TooltipContent>
</TooltipPrimitive.Portal> </TooltipPrimitive.Portal>
</Tooltip> </Tooltip>