Commit Graph

2790 Commits

Author SHA1 Message Date
Jacques Ikot
c4ed090fce
feat: update premium icon for create datasource page (#41109)
## Summary

This PR updates the premium icon displayed on the "Create Datasource"
page. The previous implementation used a custom-styled Tag component for
premium datasources. This change introduces a new reusable
`PremiumFeatureTag` component with a star icon, and updates the UI to
use this new component for premium datasources.

## Changes

- **Added**: `PremiumFeatureTag` component in
`components/editorComponents/`
  - Displays a star icon inside a non-closable tag.
- **Refactored**: `PremiumDatasources` to use the new
`PremiumFeatureTag` instead of the old custom-styled Tag.
- **Updated**: `DatasourceItem` and related styled components to improve
layout and alignment for the new premium tag.
- **Removed**: Old custom `PremiumTag` styles and usage.

## Automation

/ok-to-test tags="@tag.Sanity, @tag.Datasource"

### 🔍 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/16262901647>
> Commit: da8a4ece7dcc8e06367e0a3859e4ea631561e4c0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=16262901647&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity, @tag.Datasource`
> Spec:
> <hr>Mon, 14 Jul 2025 10:10:19 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**
* Introduced a new visual tag to indicate premium features within the
interface.

* **Refactor**
* Improved the layout and structure of datasource items for better
visual organization.
* Replaced custom premium label styling with a standardized reusable
component for consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-14 12:16:39 -07:00
Vemparala Surya Vamsi
e5b2a26c65
chore: ce changes related to decoupling webworker (#41033)
## Description
We are improving the LCP by reducing the time to reach the first
evaluation, aiming for a 1.8 to 2.2 second reduction. To achieve this,
we’ve implemented the following changes:

Code Splitting of Widgets: During page load, only the widgets required
for an evaluation are loaded and registered. For every evaluation cycle
we keep discovering widget types and load them as required.

Web Worker Offloading: Macro tasks such as clearCache and JavaScript
library installation have been moved to the web worker setup. These are
now executed in a separate thread, allowing the firstUnevaluatedTree to
be computed in parallel with JS library installation.

Parallel JS Library Loading: All JavaScript libraries are now loaded in
parallel within the web worker, instead of sequentially, improving
efficiency.

Deferred Rendering of AppViewer: We now render the AppViewer and Header
component only after registering the remaining widgets. This ensures
that heavy rendering tasks—such as expensive selector computations and
loading additional chunks related to the AppViewer—can execute in
parallel with the first evaluation, further enhancing performance.

## Automation

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

### 🔍 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/16202622510>
> Commit: b648036bd7b74ae742f5c5d7f6cfd770867a2828
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=16202622510&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Thu, 10 Jul 2025 19:22:25 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

## Summary by CodeRabbit

* **New Features**
* Widgets are now loaded and registered asynchronously, improving app
startup and modularity.
* Widget registration and configuration changes are now versioned,
ensuring selectors and UI update appropriately.
* Widget initialization and factory cache management are more robust,
with explicit cache clearing after widget registration.
* Added new Redux actions and selectors to manage first page load,
deferred JS library loading, and page rendering state.
* Theme handling and widget initialization in AppViewer are streamlined
for faster evaluation and rendering.
* Deferred loading of JavaScript libraries on first page load improves
performance.
* Conditional rendering gates added to AppViewer and Navigation
components based on evaluation state.

* **Bug Fixes**
* Prevented errors when conditionally rendering widgets and navigation
components before evaluation is complete.
* Improved widget property pane and configuration tests to ensure all
widgets are properly loaded and validated.

* **Refactor**
* Widget import and registration logic was refactored to support
dynamic, on-demand loading.
* Evaluation and initialization sagas were modularized for better
maintainability and performance.
* Widget factory and memoization logic were enhanced to allow explicit
cache clearing and version tracking.
* JavaScript library loading logic was parallelized for faster startup.
* Theme application extracted into a dedicated component for clarity and
reuse.

* **Tests**
* Expanded and updated widget and evaluation saga test suites to cover
asynchronous widget loading, cache management, and first evaluation
scenarios.
* Added tests verifying widget factory cache behavior and first
evaluation integration.

* **Chores**
* Updated internal dependencies and selectors to track widget
configuration version changes, ensuring UI consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-11 12:24:44 +05:30
Ankita Kinger
325b62be28
feat: Adding core logic for Reactive Actions in Post evaluations flow (#40963)
## Description

Adding core logic for Reactive Actions in Post evaluations flow which
enables queries in Appsmith to automatically re-run when their dependent
variables change, making apps more dynamic, responsive, and easier to
build.

Fixes [#39835](https://github.com/appsmithorg/appsmith/issues/39835)
[#40814](https://github.com/appsmithorg/appsmith/issues/40814)
[#40989](https://github.com/appsmithorg/appsmith/issues/40989)

## Automation

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

### 🔍 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/15824074133>
> Commit: d9d222536c5d4bf81430b120cfc382f593e36a13
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15824074133&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 23 Jun 2025 13:35:17 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**
- Support for reactive queries that execute automatically after
evaluation when dependencies change.
- Tracking and status indicators for on-load actions showing execution
status per action.
- Included action run behavior in analytics and logging for enhanced
action execution insights.
- Added a saga to handle execution of reactive queries with debounced
processing.
- **Bug Fixes**
- Improved detection of table data changes using deep equality checks to
avoid missed updates.
  - Prevented unnecessary execution when no batch actions are present.
- **Refactor**
- Enhanced handling of reactive paths and dynamic triggers for actions
and JS functions.
- Improved dependency management with validation to detect and prevent
reactive dependency misuse.
- Consolidated evaluation substitution types into a centralized
constants file.
- Refined evaluation logic to skip certain data paths and track reactive
actions precisely.
- Centralized imports of evaluation substitution types for consistency.
- **Tests**
- Updated tests to include new properties like run behavior and dynamic
trigger paths for actions and JS functions.
- Adjusted test expectations to align with updated dependency tracking
and evaluation logic.
- **Chores**
  - Added utility functions for dependency and entity type checks.
- Improved type definitions and reorganized imports for clarity and
maintainability.
  - Added new selectors to expose on-load action execution status.
- Introduced new interfaces and placeholder saga utilities for JS module
instance handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-06-23 20:00:42 +05:30
Pawan Kumar
f2b76c5577
chore: add workflows setting for agents CE (#40988)
/ok-to-test tags="@tag.Sanity"

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

## Summary by CodeRabbit

- **New Features**
- Added a "Trigger Settings" sidebar button and editor pane for AI Agent
apps.
- Introduced a "Run History" tab in the debugger and a corresponding
trigger in the bottom bar for AI Agent apps.
  - New SVG icon ("lightning-line") added for sidebar and UI elements.
- Support for importing agent templates and associating workflows with
applications.

- **Enhancements**
  - Sidebar and bottom bar now adapt to AI Agent app context.
- Layout and header updated to accommodate the new "Trigger Settings"
editor state.

- **Bug Fixes**
  - No bug fixes included in this release.

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

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/15753160141>
> Commit: d0e477ce71479ac091957566c5bba05e0f215e60
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15753160141&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 19 Jun 2025 09:22:45 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-06-19 18:44:22 +05:30
Jacques Ikot
bb1c055126
feat: add multi-organization dropdown for organization navigation (#40967) 2025-06-19 10:23:50 +01:00
Vemparala Surya Vamsi
2dfe9d21ac
chore: decouple formControl registry from the main chunk (#40939)
## Description
We are decoupling formControl registry code from the main chunk and
lazily loading as close as possible to the relevant React component.
This was earlier being tied to the root unnecessarily.


Fixes #`Issue Number`  
_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.All"

### 🔍 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/15701692090>
> Commit: cbd1a7fb92a99e09bc4ac3e282c512a1553bcf38
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15701692090&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 17 Jun 2025 09:15:40 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

## Summary by CodeRabbit

- **New Features**
- Improved form control loading with dynamic registration, ensuring
controls are only rendered after they are fully loaded.

- **Bug Fixes**
- Prevented form controls from rendering before registration is
complete, reducing potential display issues.

- **Refactor**
- Enhanced flexibility for certain form rendering functions to allow
them to return nothing when appropriate.
- Centralized and formalized widget-related type definitions for
improved consistency and maintainability.
- Streamlined import paths for widget-related types across multiple
components and sagas.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-17 17:20:23 +05:30
Pawan Kumar
0b1dbc440d
chore: refactor ai plugin to agent (#40945) 2025-06-16 18:38:49 +05:30
Vemparala Surya Vamsi
99db0a1fae
fix: code editor changes (#40239)
## Description
We've encountered a bug in the REST API plugin where rapidly changing
the URL input causes the save status to get stuck in the loading state.
This happens because the evaluation is debounced, and by the time it's
ready to run, the inputs may have changed in a way that prevents the
evaluation from being triggered. However, we still initiate a saga that
tracks the terminal state and controls the loading status. Since the
evaluation never actually occurs, the terminal state is never reached,
causing the loading status to remain stuck.

Fixes #`Issue Number`  
_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.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/15493848736>
> Commit: f993e21dd7a3bc0414d5c2cb35e96f3831b625bc
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15493848736&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JS`
> Spec:
> <hr>Fri, 06 Jun 2025 16:05:30 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

## Summary by CodeRabbit

- **Refactor**
- Streamlined change handling in the code editor for more consistent
updates using a standardized debounce timer.
- **Bug Fixes**
- Improved auto-save reliability by adding a delay before save status
checks to prevent premature assertions.
- **New Features**
- Introduced a configurable save delay constant to unify save operation
timing across the editor.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-06-09 11:21:27 +05:30
Pawan Kumar
ce58874cb4
chore: fix resetting of Dropdown control of UQI (#40775)
Before the options of dropdown control could load up, the dropdown
control was hitting `onChange` which was resetting the options for that
control.
This PR adds a check to look for selectionOptions before resetting the
options.

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

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

## Summary by CodeRabbit

- **Bug Fixes**
- Improved the behavior of multi-select dropdowns to ensure selected
values are only re-synced when valid options are present, preventing
unnecessary updates.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/15319483195>
> Commit: caa978dc326fe017c06c7ceafe64f6f1890814fe
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15319483195&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 29 May 2025 09:01:42 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-06-03 13:10:17 +05:30
Rahul Barwal
0c96ea330f
fix: Incorrect display of values in table computed value (#40664)
## Description
<ins>Problem</ins>

When editing the Computed Value field of a column in the Table widget, a
closing round bracket `)` is automatically removed from specific
expressions upon losing focus, leading to broken expressions and
incorrect widget behavior.

<ins>Root cause</ins>

Incorrect handling of double curly braces and nested parentheses in the
`computedValue` parsing logic.

<ins>Solution</ins>

This PR handles the correction of expression parsing in
`ComputeTablePropertyControlV2` by updating the extraction logic to
support nested parentheses correctly. It also includes a test to ensure
this functionality works as expected.

Fixes #40265
_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/15061326484>
> Commit: 156df279926fc8e39f194d46e868d46c62a1b2bf
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15061326484&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Table`
> Spec:
> <hr>Fri, 16 May 2025 06:11:17 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

- **Bug Fixes**
- Improved handling of malformed expressions in table computed value
inputs, resulting in more consistent error output.
- Enhanced default computed value behavior to provide a fallback when
table data is empty, preventing errors.
- **Tests**
- Updated and expanded test cases for computed value extraction,
including new input variations and revised expectations for malformed
expressions.
- **Chores**
- Added a migration step to update older computed values for correct
display in widgets.
  - Incremented DSL version to include latest migration updates.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-02 14:56:28 +05:30
Ashit Rath
4a41324356
chore: Module editor Remove page tab from navigate to action selector (#40743)
## Description
<img width="658" alt="Screenshot 2025-05-23 at 11 32 51 AM"
src="https://github.com/user-attachments/assets/bdbd051d-7135-41b1-8789-921547a91802"
/>

Fixes https://github.com/appsmithorg/appsmith/issues/40741

## Automation

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

### 🔍 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/15203473904>
> Commit: 76b7112333792f4612b5ef6e4524552c99fe88a8
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15203473904&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 23 May 2025 07:28:05 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**
- Enhanced the "Navigate To" section to adjust available tabs and
default selection based on the IDE type, offering a tailored experience
for UIPackage IDE users.

- **Improvements**
- Improved loading state handling by considering additional action
sources, resulting in more accurate widget loading indicators.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-23 14:41:27 +05:30
Ankita Kinger
e2515ab705
feat: Handling the case when reactive actions feature flag is turned off and the run behaviour is Automatic (#40709)
## Description

Handling the case when reactive actions feature flag is turned off and
the run behaviour is Automatic. We are updating the run behaviour in UI
alone (not DB) to show page load instead in this case.

Fixes [#40703](https://github.com/appsmithorg/appsmith/issues/40703)

## Automation

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

### 🔍 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/15144630350>
> Commit: ae4b5b6dafdb6ddc729828f46987afc68a634643
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15144630350&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 20 May 2025 19:22:57 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 dropdown and function settings to respect feature flags,
ensuring certain options are shown or hidden based on feature
availability.

- **Bug Fixes**
- Improved handling of run behavior selection when specific feature
flags are disabled, automatically adjusting selections to maintain
consistent user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-21 13:57:24 +05:30
Ashit Rath
acec5073c3
chore: Allow UI module private entities in action selector query/js selection (#40654)
## Description
This PR allows module private entities i.e queries and JS objects to be
listed in the action selectors of a UI module.
The selectors return`[]` in CE and is extended in EE

PR for https://github.com/appsmithorg/appsmith-ee/pull/7455

## Automation

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

### 🔍 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/15061113685>
> Commit: 176563bb507a71b9d8164c2d518150b7d644f698
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15061113685&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 16 May 2025 06:26:21 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**
- Expanded action and JS collection selection to include both page-level
and module-level options in relevant dropdowns and hooks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-16 18:36:19 +05:30
Aman Agarwal
5ffafd7fce
chore: added automatic option to run behaviour behind feature flag (#40608) 2025-05-16 16:29:31 +05:30
Pawan Kumar
d036064beb
chore: Update flags for self-hosting agents (#40639)
/ok-to-test tags="@tag.Sanity"

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14994848262>
> Commit: 64bdb8cd0606bbc4c1b11d69b2d0e7cd7b5dd78a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14994848262&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 13 May 2025 11:39:41 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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

- **New Features**
- Introduced a new feature flag for AI agent instances, allowing for
more granular control over AI agent-related functionality.

- **Refactor**
- Updated various components and selectors to use the new AI agent
instance feature flag and related selectors, replacing previous flags
and logic.
- Separated agent and non-agent template handling for clearer template
management.
- Improved feature flag override capabilities, enabling dynamic
overrides via external sources.
- Added new selectors to better represent AI agent app and creation
states.
- Refined UI components and modals to reflect updated AI agent state
flags.
- Enhanced user authentication and signup flows with updated feature
flag conditions.

- **Bug Fixes**
- Ensured consistent UI behavior and conditional rendering based on the
updated feature flag logic.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-13 17:36:58 +05:30
yatinappsmith
04b3bc9830
Merge pull request #40355 from appsmithorg/feat/reactive-actions-run-behaviour
feat: Replacing execute on load toggle with run behaviour in all actions / jsactions
2025-05-13 11:26:30 +05:30
Rahul Barwal
7322d72e63
fix: enhance datasource structure retrieval in useTableOrSpreadsheet hook (#40612)
## Description
<ins>Problem</ins>  
App was crashing when the data source configuration was undefined or in
an error state.

<ins>Root cause</ins>  
The code attempted to access properties from an undefined data source
config (e.g., MongoDB), leading to runtime errors.

<ins>Solution</ins>  
This PR handles adding an optional check before accessing the data
source config to prevent crashes when the config is undefined or in an
error state.

Fixes #`Issue Number`  
_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.JSONForm, @tag.PropertyPane, @tag.GenerateCRUD,
@tag.Datasource, @tag.Sanity, @tag.Widget"

### 🔍 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/14905964982>
> Commit: bcd0f9d2d009bcf07bb10afda1a30ff1a93bc9ae
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14905964982&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JSONForm, @tag.PropertyPane, @tag.GenerateCRUD,
@tag.Datasource, @tag.Sanity, @tag.Widget`
> Spec:
> <hr>Thu, 08 May 2025 13:32:39 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

- **Bug Fixes**
- Improved stability when accessing data source tables, preventing
potential errors if data source information is missing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-09 12:03:54 +05:30
“sneha122”
fa5b583bc7 Merge branch 'release' into feat/reactive-actions-run-behaviour 2025-05-07 21:29:10 +01:00
Ashit Rath
f065d9e060
chore: Changes for supporting input in UI modules property pane (#40546)
## Description


PR for https://github.com/appsmithorg/appsmith-ee/pull/7306

## Automation

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

### 🔍 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/14830581904>
> Commit: 6a2c282f6c7ae2f8040b7f573d850e30e217bba8
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14830581904&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 05 May 2025 07:57:49 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 loading state to indicate when a page setup process is in
progress.
  - Introduced a selector to access the page setup loading state.
- Updated page saving process to handle layout payload generation
asynchronously.
- Added support for updating meta widget properties with dynamic path
computation.

- **Bug Fixes**
- Improved error handling to prevent unhandled exceptions during state
updates.

- **Chores**
- Enhanced property controls by merging enterprise edition controls with
the existing set.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-07 19:21:09 +05:30
Ankita Kinger
fb3aa4be80 Merge branch 'feat/reactive-actions-run-behaviour' of https://github.com/appsmithorg/appsmith into feat/reactive-actions-run-behaviour 2025-05-02 18:32:00 +05:30
Ankita Kinger
fbaadc2ddb Merge branch 'release' of https://github.com/appsmithorg/appsmith into feat/reactive-actions-run-behaviour 2025-05-02 18:31:43 +05:30
Ankita Kinger
bc2dcec672
chore: Updating the spelling for runBehaviour (#40490)
## Description

Updating the spelling for `runBehaviour`

Fixes #

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2025-05-02 17:58:26 +05:30
Pawan Kumar
0cc104ed93
chore: update import of AppState to DefaultReduxState (#40494)
We were using the AppState incorrectly in our selectors. We should use
`DefaultRootState` from react-redux.

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

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

- **Refactor**
- Updated state parameter types in numerous selectors and hooks across
the application from a custom application state type to a standard Redux
root state type, enhancing type consistency and maintainability without
impacting functionality or user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14771101257>
> Commit: 48aef24d9a54ee63d06943128f7545ba0d461172
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14771101257&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 01 May 2025 07:16:33 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-05-01 15:53:37 +05:30
Ankita Kinger
c5d2f5dc56
ci: Fixing remaining 4 failing cypress test cases (#40515)
## Description

Fixing remaining 4 failing cypress test cases

Fixes [#39833](https://github.com/appsmithorg/appsmith/issues/39833)

## Automation

/ok-to-test tags="@tag.ImportExport, @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/14760268599>
> Commit: 8d4c84c9701dddd05132ac7446e959bfa5b406bf
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14760268599&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.ImportExport, @tag.JS`
> Spec:
> <hr>Wed, 30 Apr 2025 18:02:13 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**
- Introduced a new "Run behavior" setting for actions, allowing users to
select between running actions automatically on page load or manually
via a dropdown, replacing the previous on/off switch.
- Enhanced dropdowns with descriptive labels and subtexts for run
behavior options across the UI.

- **Improvements**
- Updated all relevant settings, forms, plugin configurations, and APIs
to use the new "Run behavior" dropdown for APIs, queries, and JS
functions.
- Improved clarity and flexibility in action execution settings with
explicit run behavior modes.
- Synchronized backend and frontend handling of run behavior for
consistent user experience.

- **Bug Fixes**
- Updated tests and internal logic to ensure correct handling,
filtering, and persistence of the new run behavior property.

- **Documentation**
- Updated labels, help texts, and UI controls to reflect the new run
behavior terminology.

- **Chores**
- Refactored and cleaned up code by replacing deprecated properties,
updating method signatures, and consolidating type definitions for
consistency.
- Removed deprecated API endpoints and introduced new endpoints
supporting run behavior settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-30 23:47:16 +05:30
Ankita Kinger
62ccf0352a
ci: Fixing cypress tests that are failing due to the change from executeOnLoad to runBehavior (#40489)
## Description

Fixing cypress tests that are failing due to the change from
executeOnLoad to runBehavior

Fixes [#39833](https://github.com/appsmithorg/appsmith/issues/39833)

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Tests have not run on the HEAD
d9d2419226a0de412d650b04dcde0483d7fedcfb yet
> <hr>Wed, 30 Apr 2025 14:37:22 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**
- Introduced a "Run behavior" dropdown for APIs, queries, and JS
functions, allowing users to select between "On page load" and "Manual"
execution modes.
- Enhanced settings UI with descriptive labels and subtexts for run
behavior options.

- **Improvements**
- Replaced the simple "Run on page load" switch with a flexible dropdown
across the platform for better control and clarity.
- Updated terminology and UI across app settings, plugin configurations,
and test suites to reflect the new run behavior model.

- **Bug Fixes**
- Adjusted automated tests and UI interactions to align with the new run
behavior selection, ensuring consistent behavior and reliability.

- **Documentation**
- Updated labels, tooltips, and instructional text to guide users on the
new run behavior options.

- **Refactor**
- Unified internal logic and configuration to support the new run
behavior property, replacing legacy boolean flags.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-30 20:21:02 +05:30
Jacques Ikot
a8a925005a
feat: improve unit test mocking in useTableOrSpreadsheet hook (#40476)
## Description
The useTableOrSpreadsheet hook unit test consistently failed on EE due
to complex mocking and missing state values. This PR improves the test
cases using a simpler state object to test the hook.


Fixes #`Issue Number`  
_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.Sanity"

### 🔍 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/14733672732>
> Commit: 16afe15ac1a2990e6d6ea5e0e8db6938daedad5c
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14733672732&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 29 Apr 2025 15:04:57 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

- **Tests**
- Replaced the previous test suite for the table or spreadsheet dropdown
hook with a new set of tests, ensuring correct behavior across SQL,
MongoDB, and Google Sheets datasources. The new tests verify that
options are enabled or disabled appropriately based on datasource type
and configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-30 05:47:00 -07:00
Ankita Kinger
d1af0b8c20
fix: Cyclic dependencies for reactive queries run behavior changes (#40481)
## Description

Fixing cyclic dependencies for reactive queries run behavior changes

Fixes #`Issue Number`  
_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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Tests have not run on the HEAD
72c296cf462909ee85e7411dde5ca91705d81731 yet
> <hr>Tue, 29 Apr 2025 16:52:23 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**
- Introduced a "Run behavior" dropdown for actions and queries, allowing
users to choose between running on page load or manually.
- Enhanced dropdown controls now display descriptive labels and subtexts
for run behavior options.

- **Improvements**
- Replaced the previous "Run on page load" toggle with a more flexible
run behavior selection across all supported plugins and action types.
  - Updated UI labels and tooltips to clarify run behavior settings.

- **Bug Fixes**
- Ensured consistent handling and display of run behavior settings
throughout the application.

- **Documentation**
- Updated descriptions and labels to reflect the new run behavior
terminology.

- **Tests**
- Revised and added tests to validate the new run behavior functionality
and its backward compatibility.

- **Chores**
- Deprecated the old execute-on-load property and API, migrating to the
new run behavior approach for future extensibility.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-30 11:14:26 +05:30
Ankita Kinger
19605a6361 Merge branch 'release' of https://github.com/appsmithorg/appsmith into feat/reactive-actions-run-behaviour 2025-04-29 21:47:54 +05:30
Diljit
7239cdd134
chore: refactor faro (CE) (#40350)
## Description
> [!TIP]  
> _Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content, marketing, and DevRel team)._
>
> _Please also include relevant motivation and context. List any
dependencies that are required for this change. Add links to Notion,
Figma or any other documents that might be relevant to the PR._


Fixes #`Issue Number`  
_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.All"

### 🔍 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/14664226456>
> Commit: caaee4bf1801f63845044e1d0870fd50e853bf3a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14664226456&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 25 Apr 2025 13:20:56 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

- **Refactor**
- Unified all error and telemetry reporting to use a centralized
telemetry utility for improved consistency.
- Replaced legacy error reporting imports and methods with a new
singleton telemetry interface across the application.
  - Removed obsolete telemetry and error reporting files and classes.
- Simplified telemetry initialization by removing conditional tracing
checks.
  - No changes to user-facing functionality or workflows.

- **Tests**
  - Updated test mocks to use the new telemetry interface.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Apeksha Bhosale <7846888+ApekshaBhosale@users.noreply.github.com>
2025-04-29 10:32:36 +05:30
Ashit Rath
4fbac4d68f
chore: Temporarily skip useTableOrSpreadsheet unit test (#40403)
## Description
This test is causing failure in EE so temporarily reverting it to
unblock the pipeline

<img width="1237" alt="Screenshot 2025-04-26 at 7 42 08 PM"
src="https://github.com/user-attachments/assets/f317a501-480c-4b15-9e09-53992036bfe4"
/>

Fixes #`Issue Number`  
_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.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> 🟣 🟣 🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/14682034654>
> Commit: 4f84caf25ff1ad5dd8f7f135bb10a82baee3abdf
> Workflow: `PR Automation test suite`
> Tags: `@tag.Sanity`
> Spec: ``
> <hr>Sat, 26 Apr 2025 14:13:59 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2025-04-26 20:01:42 +05:30
Jacques Ikot
abd27c3475
fix: add missing modText and isMacOrIOS mocks to fix CI test failures (#40389) 2025-04-25 06:28:56 -07:00
Ankita Kinger
f61747a597 Merge branch 'release' of https://github.com/appsmithorg/appsmith into feat/reactive-actions-run-behaviour 2025-04-25 16:03:42 +05:30
Jacques Ikot
f87f17e610
fix: parsing of nested parentheses in TableComputeValue expressions (#40326)
## Problem
The table compute value parser was unable to handle expressions with
nested parentheses, causing incorrect extraction of computation
expressions when functions with multiple parameters or nested function
calls were used. This caused issues when users tried to use more complex
expressions like `JSObject1.somefunction(currentRow["id"] || 0)`.

## Solution
Implemented a proper nested parentheses tracking algorithm that counts
opening and closing parentheses to find the correct end of the
computation expression, rather than simply looking for the first closing
parenthesis sequence.

## Why This Approach
This solution is robust because it:
1. Properly handles any level of nested parentheses in function calls
2. Maintains backward compatibility with existing simple expressions
3. Provides a more accurate way to extract the computation expression

## Testing
- Added a new test case with nested parentheses:
`JSObject1.somefunction(currentRow["id"] || 0)`
- Ensured existing test cases still pass
- Manually verified with complex expressions containing multiple nested
parentheses

This fix enables users to write more complex table computations
involving function calls with multiple parameters and conditions.


Fixes #40265 

## Automation

/ok-to-test tags="@tag.Table, @tag.Widget, @tag.Binding, @tag.Sanity,
@tag.PropertyPane"

### 🔍 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/14610729968>
> Commit: abbbaebfe5cf723109bee517e5f6f0cebf96a74a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14610729968&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Table, @tag.Widget, @tag.Binding, @tag.Sanity,
@tag.PropertyPane`
> Spec:
> <hr>Wed, 23 Apr 2025 07:45:26 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

- **Bug Fixes**
- Improved handling of computed values in table controls to correctly
process nested parentheses and avoid errors from malformed expressions.

- **Tests**
- Added test cases for complex computed expressions with nested
parentheses, logical operators, and malformed inputs to ensure
robustness.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Vivekanand Ilango <vivek@Vivekanands-MacBook-Pro.local>
Co-authored-by: Vivekanand Ilango <vivek.ilango@appsmith.com>
2025-04-25 03:10:03 -07:00
Aman Agarwal
cf90a8e98c
fix: Updated the copy text if plugin not installed, disabled new query and edit for unavailable plugin ds (#40360) 2025-04-25 09:38:07 +05:30
Jacques Ikot
bda1aa4b58
fix: JSON form generate form flow broken for tables without primaryKey and READ_WRITE permissions (#40275)
### 🧩 Problem

- Tables **without primary keys** were previously selectable in the form
generator, leading to issues with data operations that require unique
identifiers.
- **Snowflake datasources** defaulted to `READ_ONLY` mode, unnecessarily
limiting users from performing query generation operations.

---

###  Solution

- Disabled selection of tables that **lack primary keys** in the form
generator dropdown.
- Added **tooltips and helper text** to explain why certain tables are
disabled.
- Updated the **Snowflake query generator** to default to `READ_WRITE`
mode.
- Improved UI components to:
  - Gracefully handle disabled options  
  - Clearly communicate restrictions to users

---

### 💡 Why This Solution Works

- Prevents users from selecting **invalid or unsuitable tables**,
reducing runtime errors.
- Improves the **user experience** through helpful visual cues and
explanations.
- Aligns Snowflake’s behavior with user expectations for **write
capabilities**.
- Maintains **backward compatibility** for both new and existing
configurations.


Fixes - https://github.com/appsmithorg/appsmith-ee/issues/6913

## Automation

/ok-to-test tags="@tag.JSONForm, @tag.PropertyPane, @tag.GenerateCRUD,
@tag.Datasource, @tag.Sanity, @tag.Widget"

### 🔍 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/14510160658>
> Commit: 380e8515ae5ba4ad737c8e41f2678eb43dce22ea
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14510160658&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JSONForm, @tag.PropertyPane, @tag.GenerateCRUD,
@tag.Datasource, @tag.Sanity, @tag.Widget`
> Spec:
> <hr>Thu, 17 Apr 2025 08:51:45 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**
- Dropdown options now visually indicate when a table lacks primary
keys, disabling selection and displaying an explanatory message.
- An informational message about primary key requirements is shown below
the table selection dropdown.
- Dropdown options can now display additional subtext for improved
context.
- **Enhancements**
- Improved handling of datasource-specific behaviors, including support
for MongoDB and Google Sheets.
	- Added connection mode detection for Snowflake datasources.
- **Chores**
- Added new utility functions and constants to support enhanced dropdown
behavior and messaging.
- **Tests**
- Added tests to verify connection mode detection for Snowflake
datasources.
- Added comprehensive tests for datasource-specific dropdown option
behavior in the table/spreadsheet selector.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-24 03:57:03 -07:00
Ankita Kinger
17bb150532 Merge branch 'release' of https://github.com/appsmithorg/appsmith into feat/reactive-actions-run-behaviour 2025-04-24 15:45:03 +05:30
Ankita Kinger
606b9401a1
feat: Replacing remaining instances of executeOnLoad with runBehavior on frontend (#40358)
## Description

Replacing remaining instances of `executeOnLoad` with `runBehavior` on
frontend

Fixes [#40311](https://github.com/appsmithorg/appsmith/issues/40311)
[#39830](https://github.com/appsmithorg/appsmith/issues/39830)

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2025-04-24 15:37:11 +05:30
Aman Agarwal
68354422eb
fix: icon ds missing when plugin not present (#40327) 2025-04-23 15:23:10 +05:30
Ankita Kinger
3858d4d763
feat: Replacing executeOnLoad with runBehavior in all action config settings (#40339)
## Description

Replacing `executeOnLoad` with `runBehavior` in all action config
settings

Figma:
https://www.figma.com/design/qFXimqMSH45aviBOdTfDXu/Reactive-Queries-JS?node-id=61-16773&t=rv594VlMSm75Bvcb-0

Fixes [#39831](https://github.com/appsmithorg/appsmith/issues/39831)

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2025-04-23 13:31:28 +05:30
Hetu Nandu
5294bacf21
chore: Remove AI datasource creation options (#40310)
## Description

Should not list AI datasources in creation flows
2025-04-17 12:57:02 +00:00
Apeksha Bhosale
6b6e348203
chore: Move sentry to faro for client side (#40220)
## Description
> [!TIP]  
> _Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content, marketing, and DevRel team)._
>
> _Please also include relevant motivation and context. List any
dependencies that are required for this change. Add links to Notion,
Figma or any other documents that might be relevant to the PR._


Fixes #`Issue Number`  
_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.All"

### 🔍 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/14401534892>
> Commit: cad55550d2e517bec0031fe4043ec76cfb4d67e3
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14401534892&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 11 Apr 2025 12:38:06 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

- **Refactor**
- Revamped the error reporting system across the platform with enhanced
contextual logging for faster issue diagnosis.

- **Chore**
- Removed legacy error tracking integrations, streamlining overall error
handling and system reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-16 11:45:47 +05:30
vadim
4783df3c37
chore: Agent chat annotated label in query pane (#40237)
## Description

| Before | After |
|--------|--------|
| <img width="150" alt="Screenshot 2025-04-14 at 11 54 32"
src="https://github.com/user-attachments/assets/bcd2fe01-be2d-4105-aad9-92ea6b71f830"
/> | <img width="175" alt="Screenshot 2025-04-14 at 11 48 26"
src="https://github.com/user-attachments/assets/6f910ae6-1975-4ead-bb88-bd681c0161c3"
/> |

## Automation

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

### 🔍 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/14442989734>
> Commit: df9a8417410347c0211e0ecbf9fdceb887810177
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14442989734&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 14 Apr 2025 10:51:05 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

- **Style**
  - Enhanced dark mode appearance with a more consistent color scheme.
  - Updated code block typography and styling for improved readability.
- Refined the visual presentation of code elements, including fonts,
colors, and spacing.
  - Modified the copy button appearance to a neutral style.
- Introduced an annotated label with a dotted underline for clearer
visual cues.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-14 18:58:29 +05:30
vivek-appsmith
abc9c71c3d
fix: API editor query parameters not auto-updating URL (#40133)
# API Editor Query Parameters URL Auto-Update Fix

## Issue
When adding or editing query parameters in the API editor, the URL
wasn't automatically being updated to reflect these changes. This
creates a disconnect between the parameters in the Params tab and the
actual URL being used, as reported in issue #40045.

## Fix
Implemented proper synchronization between query parameters and the URL
in the API editor using a two-pronged approach:

1. **Component-level solution** with React hooks:
- Added a `useSyncParamsToPath` hook that handles bidirectional
synchronization
   - Ensures sync happens on component mount and when values change
   - Prevents update loops by checking if changes are needed

2. **Redux saga enhancement**:
- Enhanced `syncApiParamsSaga` to ensure the action model is updated
when params change
   - Provides a failsafe at the data layer in addition to the UI layer

These changes ensure:
- When query parameters are modified in the Params tab, the URL now
updates automatically
- When the URL is modified with query parameters, they are correctly
extracted to the Params tab
- Synchronization happens proactively rather than just reactively

## Changes
- Added new React hook for bidirectional synchronization
- Updated `syncApiParamsSaga` to handle API action data updates
- Addressed potential edge cases like empty parameters and update loops

## Test Strategy
No new test cases were added for the following reasons:
- This fix primarily addresses UI synchronization between two components
- The fix is easily verified through manual testing
- The functionality is already covered by existing integration tests for
the API editor
- The changes are focused on visual state synchronization rather than
core business logic
- The bug is easily reproduced and fixed by the UI components working
together correctly

## Related Issue
Fixes #40045

## Automation

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

### 🔍 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/14332565088>
> Commit: 6de39d58842493a4eb514278a7c6e8dc458dc635
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14332565088&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> Spec:
> <hr>Tue, 08 Apr 2025 12:29:38 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

- **New Features**
- Improved synchronization between URL parameters and form inputs,
ensuring real-time, consistent updates during user interactions.
- Enhanced the API configuration interface by automatically reflecting
changes to action parameters for a smoother experience.

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

---------

Co-authored-by: Aman Agarwal <aman@appsmith.com>
2025-04-11 16:43:26 +05:30
Pawan Kumar
12c4cbbe01
chore: Add chrome extension link in embed (#40179)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced a Chrome Extension Banner that conditionally appears within
the share modal when the AI agent flow is enabled.

- **Style**
- Updated UI labels for creating JavaScript functions for clearer
guidance.
- Refreshed the agent author image to a new asset for a consistent look.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-09 10:34:17 +05:30
Hetu Nandu
49e5e4bb67
chore: move ai chat from help to bottom bar (#40175)
## Description

Add changes to remove the ai chat from the help menu and move it to the
bottom bar
also remove report a bug from help when feature flag is on

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

## Summary by CodeRabbit

- **New Features**
	- Added a new AI Chat icon, expanding the available visual elements.
- Introduced an AI Agent Support trigger in the bottom bar for enhanced
support interactions.
- Refined the navigation and help menus by adjusting support and bug
reporting options for a more streamlined user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-09 10:02:53 +05:30
Hetu Nandu
507bb90307
chore: Add additional chat option (#40166)
## Description

Add chat option when AI flag is enabled

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

## Summary by CodeRabbit

- **New Features**
- Enhanced the function configuration interface by adding an informative
tooltip to the functions header.
	- Updated button and menu labels for uniform text presentation.
- Introduced a conditional "Chat with us" navigation option that
activates AI support.
- Expanded the help menu to include a direct option for launching the AI
support modal.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 15:43:03 +05:30
Hetu Nandu
326023d0ab
chore: Update function calling add menu (#40139)
## Description

Update the add menu responsibilites

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

## Summary by CodeRabbit

- **New Features**
- Introduced an enhanced menu for adding function calls with options to
create new queries or JavaScript objects and a curated list of available
items.
  
- **Refactor**
- Updated the interface for function call configuration by streamlining
legacy options, resulting in a more consistent and responsive user
experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-07 18:48:31 +05:30
Hetu Nandu
df34a10205
chore: Update the AI chat Query controls (#40137)
## Description




<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Tests have not run on the HEAD
ae683be37daa1ef60e829bc68edc39b5c75fa251 yet
> <hr>Mon, 07 Apr 2025 12:47:07 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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

## Summary by CodeRabbit

- **New Features**
- Introduced an optional custom title for a section, allowing a bold
heading to be displayed above its content.

- **Style**
- Updated on-screen labels by adjusting capitalization for system
instructions and function calls for a consistent user interface.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-07 18:27:26 +05:30
Hetu Nandu
7d6551f214
chore: Remove JS Visualisation (#40134)
## Description

Remove Visualisation tab fro JS Editor


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

## Summary by CodeRabbit

- **Refactor**
- Simplified the response view interface by removing the legacy
visualizer tab, streamlining the overall user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-07 18:14:36 +05:30
Ankita Kinger
f3055fecf0
chore: Adding postfix prop to input field used on admin settings (#40098)
## Description

Adding postfix prop to input field used on admin settings

Fixes #`Issue Number`  
_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.Settings"

### 🔍 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/14267276463>
> Commit: 394946baf2016088a4274da58d228c73c5f7f611
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14267276463&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Settings`
> Spec:
> <hr>Fri, 04 Apr 2025 14:37: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**
  - Improved the logic for determining multi-organization support.
- Enabled an optional addition of custom postfix text in settings and
input fields for enhanced customization.

- **Style**
- Enhanced the visual emphasis of appended text by applying a distinct
typographic style.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-04 20:11:21 +05:30