SIGN IN SIGN UP
appsmithorg / appsmith UNCLAIMED

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.

0 0 68 TypeScript

fix: added Redeploy button that allows the user to sync the latest changes (#41459)

## Description
Added Redeploy button that allows the user to sync the latest changes
between edit and view mode. This button shows up only when
lastDeployedAt is less than modifiedAt of the application and when there
are no more commits to be pushed.

Below is a video of where changes are pulled from remote in the edit
mode, but due to some technical glitch, fails to deploy/publish the
Application. And there are no more commits to be pushed to deploy the
App.
Earlier workaround was to introduce a change and click Discard and Pull.
But with this PR, we are introducing the Redeploy button with Callout in
the GIT Modal so that the view mode can be in sync with edit mode.
Also showing an orange dot next to deploy icon to indicate that the App
needs to be redeployed


https://github.com/user-attachments/assets/db1dcba4-036b-4ded-b8e7-cfa7180e098f

Fixes [41457](https://github.com/appsmithorg/appsmith/issues/41457)
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### :mag: Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/20256007695>
> Commit: 91df6294623d9f92d6c16e1b6bf01b1d7e82feb1
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=20256007695&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 16 Dec 2025 05:01:29 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added a redeploy flow: warning UI, Redeploy button, redeploy hook,
loading/error indicators, and analytics events.
* Deploy UX updates: context-aware tooltips and dynamic start icons
reflecting repo and redeploy status.
  * Added a new "rocket-dot" icon and Redeploy menu/label text.

* **Style**
  * Styling added for the redeploy warning component.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
T
tomjose92 committed
51902c8e2a6478518fe93d0899ad92191dfd6258
Parent: b467e67
Committed by GitHub <noreply@github.com> on 12/16/2025, 6:34:58 AM