Skip to content

fix: rename compose "Reload" action to "Rebuild" #4847

Merged
Siumauricio merged 1 commit into
Dokploy:canaryfrom
ANSUJKMEHER:fix-4666-action-terminology
Jul 21, 2026
Merged

fix: rename compose "Reload" action to "Rebuild" #4847
Siumauricio merged 1 commit into
Dokploy:canaryfrom
ANSUJKMEHER:fix-4666-action-terminology

Conversation

@ANSUJKMEHER

Copy link
Copy Markdown
Contributor

Summary

Renames the compose "Reload" action button, confirmations, tooltips, and toast messages to "Rebuild" on the Compose general page.

Problem

As reported in #4666, the terminology "Reload" is highly misleading. Users expect a lightweight container reload or restart, but the button actually performs a full compose redeployment/rebuild. In the backend:

  • The UI triggers the redeploy mutation.
  • The queue worker executes rebuildCompose().
  • The command generated executes docker compose -p <appName> -f <composePath> up -d --build --remove-orphans.

Because the --build flag is present, Docker rebuilds the images, which wipes any custom/manual container modifications made directly in the terminal. The tooltip stating "Reload the compose without rebuilding it" was factually incorrect.

Solution

  • Renamed the button label from Reload to Rebuild.
  • Updated confirmation dialog title to Rebuild Compose and description to "Are you sure you want to rebuild this compose?".
  • Corrected success toast to "Compose rebuilt successfully" and error toast to "Error rebuilding compose".
  • Updated tooltip to "Rebuilds the compose without downloading the source code" to correctly describe its behavior (analogous to the Application page rebuild flow and tooltip description).

Closes #4666

Renames the compose "Reload" action to "Rebuild" to accurately reflect its actual behavior. Clicking "Reload" triggers rebuildCompose() which executes a full Docker build (docker compose up -d --build). Also updates dialog text, toast notifications, and tooltips accordingly.

Fixes Dokploy#4666
@ANSUJKMEHER
ANSUJKMEHER requested a review from Siumauricio as a code owner July 18, 2026 15:37
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 18, 2026
@ANSUJKMEHER ANSUJKMEHER changed the title fix: rename compose "Reload" action to "Rebuild" (#4666) fix: rename compose "Reload" action to "Rebuild" Jul 18, 2026
AminDhouib added a commit to DevinoSolutions/dokploy-community that referenced this pull request Jul 18, 2026
port: fix: rename compose "Reload" action to "Rebuild" (upstream Dokploy#4847)
@Siumauricio
Siumauricio merged commit 25370ca into Dokploy:canary Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[style]: better terminology for actions

2 participants