chore: Updating the description for run behaviour options of a JS object function (#41053)
## Description Updating the description for run behaviour options of a JS object function Fixes [#41047](https://github.com/appsmithorg/appsmith/issues/41047) ## Automation /ok-to-test tags="@tag.JS" ### 🔍 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/15904358858> > Commit: 643f72c44ba967a46e6d3d65c0e992816797c62d > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15904358858&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.JS` > Spec: > <hr>Thu, 26 Jun 2025 15:09:38 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** * Updated run behavior options for JS functions with clearer, more specific descriptions on how and when they execute. * **Style** * Improved clarity of descriptions for JS function run behaviors to enhance user understanding. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
7bcd86d87f
commit
bb96d0f616
|
|
@ -24,7 +24,26 @@ export const RUN_BEHAVIOR_VALUES = [
|
|||
];
|
||||
|
||||
export const JS_OBJECT_RUN_BEHAVIOR_VALUES = [
|
||||
...RUN_BEHAVIOR_VALUES,
|
||||
{
|
||||
label: "Automatic",
|
||||
subText:
|
||||
"JS function runs on page load or when a variable it depends on changes",
|
||||
value: ActionRunBehaviour.AUTOMATIC,
|
||||
children: "Automatic",
|
||||
},
|
||||
{
|
||||
label: "On page load",
|
||||
subText: "JS function runs when the page loads or when manually triggered",
|
||||
value: ActionRunBehaviour.ON_PAGE_LOAD,
|
||||
children: "On page load",
|
||||
},
|
||||
{
|
||||
label: "Manual",
|
||||
subText:
|
||||
"JS function only runs when called in an event or JS with functionName()",
|
||||
value: ActionRunBehaviour.MANUAL,
|
||||
children: "Manual",
|
||||
},
|
||||
{
|
||||
label: "On page unload",
|
||||
subText: "Query runs when the page unloads or when manually triggered",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user