PromucFlow_constructor/app/server
sneha122 dae6281654
feat: updated toast messages for on page load actions (#40726)
## Description
This PR:
- updates the toast message that we see on add/remove of query binding
with widget after the introduction of automatic run behaviour. We have
updated the toast messages as per
https://miro.com/app/board/uXjVIQ1GcX4=/?moveToWidget=3458764621410290209&cot=14
- Also resolves #40720 

**Steps To Reproduce**
1. Create Query1
2. Create Table1
3. Edit Query1 body to be -> SELECT * FROM public."users" LIMIT
{{Query2.data.length}};
4. Attach this query1 to table1 -> We should a toast message saying
Query1 will execute automatically on page load
Now add Query2 and see the toast message -> It says "Query1, Query2 will
execute automatically on page load instead it should just be Query2 in
the message

Ref:
https://github.com/appsmithorg/appsmith/issues/40656#issuecomment-2896912279


Fixes #40720 #40471  
_or_  
Fixes `Issue URL`
> [!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.Table"

### 🔍 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/15179938858>
> Commit: 141e2754cf202ee54d7373a0ef3ed0ee1217c876
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15179938858&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Table`
> Spec:
> <hr>Thu, 22 May 2025 08:31:09 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

## Summary by CodeRabbit

- **Refactor**
- Improved how on-load executables are managed based on a feature flag,
dynamically adjusting their run behavior and user messages.
- **Tests**
- Added new tests to verify correct messaging and behavior updates for
executables under different feature flag conditions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-05-22 15:49:40 +05:30
..
.run
appsmith-git chore: git: write only changed files to the FS (#40623) 2025-05-13 23:54:22 +05:30
appsmith-interfaces feat: backend changes for updating run behaviour to automatic (#40671) 2025-05-21 13:31:17 +05:30
appsmith-plugins chore: added automatic option to run behaviour behind feature flag (#40608) 2025-05-16 16:29:31 +05:30
appsmith-server feat: updated toast messages for on page load actions (#40726) 2025-05-22 15:49:40 +05:30
envs chore: Move signup_disabled and form_login_enabled from envs to DB (#39882) 2025-03-26 11:26:00 +05:30
mongo-seed
reactive-caching feat: Restrict cron execution for single pod in clustered environment (#39171) 2025-02-25 17:20:11 +05:30
scripts chore: Revert "chore: delete redundant files" (#35022) 2024-07-18 16:18:10 +05:30
.gitignore
build.sh test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
buildpack-run.sh
pom.xml chore: Added capability of running ITs on maven (#38354) 2024-12-25 02:08:49 +05:30
Procfile
README.md
system.properties

Appsmith Server

This is the server-side repository for the Appsmith framework.

For details on setting up your development machine, please refer to this Setup Guide.