Commit Graph

8230 Commits

Author SHA1 Message Date
Ankita Kinger
0c8bd0bd2f Merge branch 'feat/reactive-actions-run-behaviour' of https://github.com/appsmithorg/appsmith into feat/reactive-actions-run-behaviour 2025-04-30 11:17:23 +05:30
Ankita Kinger
fd159671af Merge branch 'release' of https://github.com/appsmithorg/appsmith into feat/reactive-actions-run-behaviour 2025-04-30 11:17:05 +05:30
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
Rahul Barwal
557ee052f0
fix: update visibility condition for infinite scroll in TableWidgetV2 (#40474)
## Description
Updated the 'hidden' property in the TableWidgetV2 configuration to
account for both the INFINITE_SCROLL_ENABLED feature flag and the
serverSidePaginationEnabled prop, ensuring proper visibility control
based on these conditions.


Fixes #40409
_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/14733305658>
> Commit: cba8275ab184bc9c3c8e0a54c54994e3409b9c98
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14733305658&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Table`
> Spec:
> <hr>Tue, 29 Apr 2025 16:01: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

- **Refactor**
- Updated the visibility logic for the infinite scroll option in table
pagination settings to better reflect feature availability and widget
configuration.
- **Tests**
- Enhanced test coverage by enabling server-side pagination alongside
infinite scroll in table widget scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-30 10:14:35 +05:30
Ankita Kinger
3867bcf726
fix: Updating JSFunctionSettings unit test to fix failure (#40480)
## Description

Updating JSFunctionSettings unit test to fix failure

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

## 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
d74c7de3a24a5a63d30f1ba013da89e299746fde yet
> <hr>Tue, 29 Apr 2025 16:47:47 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, queries, and APIs,
allowing users to select between "On page load" and "Manual" execution
modes.
- Added descriptive subtext to run behavior options for improved
clarity.
- **Enhancements**
- Replaced the previous "Run on page load" switch with a more flexible
run behavior selector across the UI.
- Updated editor and settings panels to reflect the new run behavior
configuration.
- **Bug Fixes**
- Ensured consistent handling and synchronization of run behavior
settings throughout the application.
- **Documentation**
  - Updated tooltips and labels to clarify run behavior options.
- **Tests**
- Added and updated tests to cover the new run behavior feature and its
integration.
- **Chores**
- Updated internal configurations and test data to use the new run
behavior property.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-30 03:07:56 +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
Rudraprasad Das
61d48018e1
chore: added import override CE (#40462)
## Description
- Adds override feature when importing artifacts

EE PR https://github.com/appsmithorg/appsmith-ee/pull/7251

## Automation

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

### 🔍 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/14727350382>
> Commit: 79ceda02e6aee9a078548572f27dcb0ea9b58b52
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14727350382&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Git`
> Spec:
> <hr>Tue, 29 Apr 2025 09:54:34 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 an import override modal for handling duplicate artifact
imports from Git, allowing users to override existing artifacts with new
ones.
- Enhanced user messaging with detailed prompts and localized strings
for import override scenarios.

- **Bug Fixes**
- Improved error handling during artifact import, specifically
distinguishing duplicate key errors and providing clearer feedback.

- **Improvements**
- Streamlined artifact import flow, including better state management
and more robust error reporting.
- Refined backend service interfaces and reduced unnecessary
dependencies for improved maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: sondermanish <manish@appsmith.com>
2025-04-29 18:19:55 +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
Rahul Barwal
82cf730721
chore: downgrade tinymce from 7.7.1 to 6.8.3 in package.json (#40465)
## Description
Following the first proposed option, this PR downgrades the tinymce
dependency back to the latest available 6.x version, which is still
covered under the MIT license.
This ensures Appsmith remains compliant with its Apache-2.0 licensing
terms without needing to replace the editor entirely.


### Implementation Details
	•	Reverted the tinymce dependency to ^6.8.3.
	•	Confirmed editor functionality remains intact after the downgrade.
	•	Updated any lockfiles as necessary.

### Additional Notes
• If/when Appsmith decides to upgrade or swap editors in the future,
alternatives that are Apache-2.0-compatible should be considered.
	•	No user-facing changes are expected from this downgrade.

Fixes #40365
_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, @tag.RichTextEditor"

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

- **Chores**
  - Downgraded the "tinymce" editor dependency to version 6.8.3.
- Improved text formatting behavior in the rich text editor for a
smoother editing experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-29 10:24:01 +05:30
Pawan Kumar
6e715881a8
chore: fix height of reconnect modal (#40399)
Fixes #40391

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

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

## Summary by CodeRabbit

- **New Features**
- Added support for an AI agent flow option in the SaaS datasource
editor, enabling the editor to reflect the AI agent flow state in its
interface.
<!-- 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/14703580804>
> Commit: 4a8429f0d8492c67e6e5c715b31d9140b91079da
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14703580804&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.ImportExport`
> Spec:
> <hr>Mon, 28 Apr 2025 08:58:04 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-04-28 14:39:25 +05:30
Ashit Rath
007ada81f5
chore: Revert reset main canvas reducer (#40406)
## Description

[Thread](https://theappsmith.slack.com/archives/CGBPVEJ5C/p1745816357424529)

Revert from
https://github.com/appsmithorg/appsmith/pull/40349/files#diff-81c17163a9b2e20b963396864fc8106e02d812add8ddc82bf9e4f4bffeb273edR42


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/14701911027>
> Commit: 86fc8d8465e64d9b903cec2ccae9fe960e42b526
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14701911027&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 28 Apr 2025 08:06: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

- **Refactor**
- Improved internal handling of the editor reset action for enhanced
maintainability. No impact on user-facing features.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-28 13:38:38 +05:30
Ashit Rath
b1ec758d4f
chore: UI Module instances support broken references in widgets entity explorer (#40390)
## Description
- Create orphan UI Module instances component for displaying UI modules
not present on canvas
- Add error indication for widgets in the tree view
- Update widget tree data structure to support error state

Changes for https://github.com/appsmithorg/appsmith-ee/pull/7274

## 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/14682236408>
> Commit: b65ec1538913ad9327c65f97e8f161707f271014
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14682236408&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Sat, 26 Apr 2025 15:49:15 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 display of orphan module instances in the entity list tree,
allowing users to view modules not currently present on the canvas.

- **Enhancements**
- Entity list items now indicate error status, improving visibility of
issues within widgets.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-26 23:04:33 +05:30
Ashit Rath
76b1ff1406
chore: Fix layout issues for UI package editor (#40349)
## Description
🏗 Architecture
- Moved mainCanvasReducer from Community Edition (CE) to Enterprise
Edition (EE) structure
- Added proper export structure in EE to maintain backward compatibility
- Added RESET_EDITOR_REQUEST handler to reset canvas state when needed
- 
🐛 Bug Fixes
- Fixed widget tag grouping in groupWidgetCardsByTags to properly handle
tags that aren't predefined
- Implemented support for overrideRenderMode in both
LayoutSystemBasedCanvas and withWidgetProps
- Added emptyMessage prop in UIEntitySidebar for improved user
experience

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

## 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/14610885832>
> Commit: 54916f79b3009451298496513e0a3a8ee7bccdac
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14610885832&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 23 Apr 2025 07:02: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

- **New Features**
- Added support for customizing the empty message in the widget sidebar
when no widgets are found.
- Introduced an option to override the widget render mode in both the
canvas and widget components, enabling more flexible widget behavior in
the editor.

- **Bug Fixes**
- Improved grouping of widget cards by tags to prevent potential errors
when encountering new tags.

- **Refactor**
- Updated internal reducer structure and export patterns for improved
maintainability.
- Adjusted import paths for better modularization and separation between
core and enterprise code.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-26 20:45:55 +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
eff569945d
chore: Update type for run behavior for some instances (#40393)
## Description

Update type for run behavior for some instances

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-04-25 16:39:16 +05:30
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
Hetu Nandu
25979c8deb
chore: Remove AI quote from login (#40377)
## Description
 
Removes the Quote for AI flow 

## Automation

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

### 🔍 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/14659035348>
> Commit: 2aea340a5ee07762644945c0e5732771e4329235
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14659035348&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.IDE`
> Spec:
> <hr>Fri, 25 Apr 2025 07:44:58 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**
- The layout and spacing of the authentication container now adjust
dynamically based on whether the AI agent flow is enabled.
- **Style**
- Updated the appearance of the container and client logos to reflect
the AI agent flow status.
- **Bug Fixes**
- When the AI agent flow is enabled, motivational quotes and author
details are no longer displayed on the authentication page.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-25 15:02:56 +05:30
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
Pawan Kumar
b2d8900746
chore: update messages for chrome extension (#40364)
/ok-to-test tags="@tag.AIAgents"
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- The Chrome extension banner now displays different titles and button
texts based on whether the extension is installed or not, providing a
more tailored 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/14640385174>
> Commit: 794b6f80c6a4dac61e7d699b0fb404899f7900a2
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14640385174&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.AIAgents`
> Spec:
> <hr>Thu, 24 Apr 2025 11:42:35 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-04-24 17:34:15 +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
Pawan Kumar
ea214c254f
chore: new agent creation flow (#40351)
/ok-to-test tags="@tag.Templates, @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/14612542047>
> Commit: 6e4c5af948c633376f5219d95e5763309f9929a0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14612542047&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Templates, @tag.Sanity`
> Spec:
> <hr>Wed, 23 Apr 2025 08:23:24 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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

## Summary by CodeRabbit

- **New Features**
- Introduced conditional UI and messaging support for an AI agent flow
across modals, buttons, and onboarding screens.
- Added agent-specific text and button variants for datasource
connection and navigation.
- Adjusted styles and layouts in editors and modals to accommodate the
AI agent flow.
- Added controls to close the "Create Agent" modal post template import
when AI agent flow is enabled.

- **Bug Fixes**
- Improved template filtering to exclude the "AI Agent" template where
appropriate.

- **Enhancements**
- Updated template and modal components to support additional
conditional rendering and styling based on the AI agent flow.
- Enhanced template import and navigation logic to handle agent-specific
flows and URLs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-23 15:16:08 +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
Vemparala Surya Vamsi
d7d59c63e4
chore: optimise sort when developing the dependencyMap (#40340)
## Description
In the sort comparator, we were repeatedly computing the lengths of the
paths for two nodes, which contributed approximately 0.87 seconds to the
LCP on a Windows machine. We've now optimized this by precomputing the
paths beforehand and then sorting the collection. This change has
reduced the time to around 70ms, effectively eliminating the redundant
computation.

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/14592179498>
> Commit: d552730a6606b425a8ee33dbe7d8160e78cd0f80
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14592179498&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 22 Apr 2025 11:29:44 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**
- Improved internal sorting of dependency nodes for better performance
and maintainability. No visible changes to user functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-22 17:16:50 +05:30
Ankita Kinger
5ace9ba414
fix: Updating the UX for hidden pages (#40322)
## Description

Updating the UX for hidden pages which is breaking on v1.68. The user is
no longer able to select the hidden pages, to edit the same in edit
mode. This is being fixed in this PR.

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

## Automation

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

### 🔍 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/14569833575>
> Commit: 76d359c04ccc216abfbec34952373ea370bdb3e9
> Workflow: `PR Automation test suite`
> Tags: `@tag.IDE`
> Spec: ``
> <hr>Mon, 21 Apr 2025 07:59:02 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 support for visually dimming list items marked as subtle, making
entity names and icons appear subdued.

- **Style**
- Updated styling to apply a subtle visual treatment to list items
flagged as subtle, enhancing UI clarity.

- **Refactor**
- Replaced the disabled state indicator with a subtle style indicator
for representing hidden pages in the list.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-21 08:31:20 +00:00
Diljit
c580cfd9b4
chore: add dsl version validation for app computation cache (#40301)
## Description
This PR adds dsl version to the app computation cache. If there is a
mismatch in dsl version the cache is updated with the new value.

Change also includes error handling and reporting for cases when there
are exceptions while fetching the cache.


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/14533292018>
> Commit: fadb0c528b85b846799db2cbbd9da4d01834627f
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14533292018&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 18 Apr 2025 11:07:11 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 explicit DSL version tracking to application state and
evaluation context for improved cache validation.

- **Bug Fixes**
- Improved error handling for cache operations, ensuring errors are
logged and recorded without disrupting core functionality.
- Enhanced cache validation to prevent usage of invalid or mismatched
cache entries.

- **Tests**
- Expanded and updated test coverage for cache validity, error
scenarios, and DSL version handling.

- **Refactor**
- Strengthened cache property validation and error propagation for more
robust caching behavior.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-21 12:59:20 +05:30
Ashit Rath
041d189c5f
chore: Changes to support fixes in UI packages (#40300)
## Description
#### UI Module Integrations Enhancement

This PR adds support for UI Modules across several components:

- Adds `getCurrentBaseModuleId` selector to retrieve the current base
module ID
- Implements module-aware redirection in `ConnectDataCTA` component
- Adds `handleUIModuleWidgetReplay` function for module widget replay
support
- Improves `UIEntitySidebar` to accept custom search placeholder text
- Excludes `MODULE_CONTAINER_WIDGET` from the property pane exclusion
list

These changes enable proper navigation and functionality when working
with UI modules in the application.


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

## 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/14530037275>
> Commit: 35573170fe705a25e0b2a0d26b8729edcfd64c8e
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14530037275&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 18 Apr 2025 06:26:47 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 support for customizable search placeholder text in the widget
sidebar for improved localization and flexibility.
- Navigation from the "Connect Data" call-to-action now conditionally
uses module or page identifiers, enhancing navigation accuracy.

- **Improvements**
- The "Connect Data" option is now hidden for module container widgets
in the property pane for a cleaner interface.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-18 16:36:22 +05:30
Ashit Rath
b5d22b8ba0
chore: Refactor widget rename saga to extend for packages (#40243)
## Description
This PR implements a flexible extension system for widget name updates
by:
- Creating a singleton WidgetNameUpdateExtension class for pluggable
widget renaming handlers
- Adding default implementation with handleWidgetNameUpdateDefault
function
- Refactoring UpdateWidgetNameRequest interface to support optional
fields (pageId, moduleId, contextType)
- Extracting widget name update logic to dedicated functions for better
maintainability
- Adding packageMiddleware to the Redux store configuration
These changes enable customized widget naming behavior in different
contexts without modifying core code, improving extensibility while
maintaining backward compatibility.

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

## 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/14463310871>
> Commit: 4b4433fa68479ada6426ee39d353abc3973a2864
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14463310871&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 15 Apr 2025 15:51:36 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**
- Modularized the widget name update process, allowing for extension or
override of update behavior.
- Improved the structure of widget name update logic for better
maintainability.

- **Chores**
- Updated internal interfaces to support additional parameters and
optional properties.
  - Added a new middleware to the Redux store setup.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-18 09:53:33 +05:30
vivek-appsmith
c8a132f88d
feat: Remove hardcoding of upcoming integrations from client codebase #40047 (#40271) 2025-04-17 20:11:06 +05:30
Hetu Nandu
a94c75b868
chore: Remove Navigation Settings in AI apps (#40312)
## Description

Hide the Navigation settings in AI datasources


## Summary by CodeRabbit

- **New Features**
- The Navigation settings tab is now automatically hidden when the AI
agent flow feature is enabled.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-17 13:14:17 +00:00
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
Diljit
14c7a41ba5
chore: fix issues in eval error logs sent to faro (#40285)
## Description
Errors sent from evaluation worker shows up as following in faro. This
entry is illegible and doesn't have the correct stack trace.
```
console.error: [object Object] [object Object] at ? (https://app.appsmith.com/src/instrumentations/console/instrumentation.ts:28:33) at log (https://app.appsmith.com/static/js/sagas/ErrorSagas.tsx:322:22)
```

This pr sends a reconstructed error object for eval errors and retains
the original stack trace of the error
```
error: Fetch computation cache failed!! 
at AppComputationCache.getCachedComputationResult (https://dev.appsmith.com/static/js/src_workers_Evaluation_handlers_evalTree_ts-node_modules_blueprintjs_core_lib_esm_components_-d37317.chunk.js:48831:11) 
at createDependencyMap (https://dev.appsmith.com/static/js/src_workers_Evaluation_handlers_evalTree_ts-node_modules_blueprintjs_core_lib_esm_components_-d37317.chunk.js:50756:98) 
at ? (https://dev.appsmith.com/static/js/src_workers_Evaluation_handlers_evalTree_ts-node_modules_blueprintjs_core_lib_esm_components_-d37317.chunk.js:49278:221) 
at profileAsyncFn (https://dev.appsmith.com/static/js/src_workers_Evaluation_handlers_evalTree_ts-node_modules_blueprintjs_core_lib_esm_components_-d37317.chunk.js:37451:21) 
at DataTreeEvaluator.setupFirstTree (https://dev.appsmith.com/static/js/src_workers_Evaluation_handlers_evalTree_ts-node_modules_blueprintjs_core_lib_esm_components_-d37317.chunk.js:49278:103)
at async profileAsyncFn (https://dev.appsmith.com/static/js/src_workers_Evaluation_handlers_evalTree_ts-node_modules_blueprintjs_core_lib_esm_components_-d37317.chunk.js:37451:15) 
at async evalTree (https://dev.appsmith.com/static/js/src_workers_Evaluation_handlers_evalTree_ts-node_modules_blueprintjs_core_lib_esm_components_-d37317.chunk.js:46384:38) 
at async asyncRequestMessageListener (https://dev.appsmith.com/static/js/evalWorker.chunk.js:236:16)
```



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/14512303434>
> Commit: 3bbb8c1df4a731e63c2a0b3805d28ad96696ffd0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14512303434&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Thu, 17 Apr 2025 10:31:54 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 error reporting across the application by including stack
traces with error messages, providing more detailed information for
debugging.

- **Bug Fixes**
- Improved error handling in various areas to ensure errors are
consistently captured and reported with additional context.

- **Chores**
- Updated internal logging mechanisms for better error tracking and
maintainability.
- Refined error reconstruction and logging processes for more accurate
error capture and reporting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-17 16:25:05 +05:30
Pawan Kumar
882ad85e23
chore: filter out AI Datasource during import (#40286)
Before:


https://github.com/user-attachments/assets/2954a270-b4e9-4871-b2f6-b9967f997d26

After:


https://github.com/user-attachments/assets/b83762e3-7e21-4fff-bdc6-708412d3d3b3

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

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14509874809>
> Commit: a3d4aa2d68f39deb5767936521c09a2d579dfbeb
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14509874809&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Templates`
> Spec:
> <hr>Thu, 17 Apr 2025 07:16:52 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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

## Summary by CodeRabbit

- **Bug Fixes**
- The "AI Datasource" will no longer appear in the reconnect datasource
modal during partial application or template imports, improving clarity
for users when reconnecting datasources.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-17 13:36:42 +05:30
Ankita Kinger
33eaa51c8b
fix: Updating the logic to show the updated Datasource group name in the Entity explorer (#40289)
## Description

Updating the logic to show the updated Datasource group name in the
Entity explorer when the datasource name is changed, as today it keeps
showing the old name till the query name or body is updated.

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

## Automation

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

### 🔍 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/14510401028>
> Commit: 15d43aa297e8522a085db52b510dbaa91024e056
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14510401028&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.IDE`
> Spec:
> <hr>Thu, 17 Apr 2025 07:56: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

- **Bug Fixes**
- Improved logic for resolving datasource names and group labels,
ensuring more accurate display and grouping of plugin actions and query
segments in the user interface.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-17 13:27:45 +05:30
Hetu Nandu
b37155e508
fix: Avoid having mismatched data in Plugin Action form (#40264)
## Description

It was seen that when switching between actions, the form data and the
action data is not in sync through all the render cycles. This causes
the old form data to be rendered using the new (switched to) editor
config.

By verifying this and handling the render, we are ensuring that during
switches, the form data is accurate while rendering

Fixes #40183 

## 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/14485144512>
> Commit: 195a03eb49e40d3b3ce6eb59f157c64dc9b7ae8d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14485144512&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> Spec:
> <hr>Wed, 16 Apr 2025 05:56:10 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 form data loading states to prevent the form from
rendering when data is unavailable, reducing the risk of errors or
displaying stale information.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-17 12:25:26 +05:30
Pawan Kumar
e07de53491
chore: Update embed tab to hide private embed settings (#40266)
Before:
![CleanShot 2025-04-16 at 12 41
16](https://github.com/user-attachments/assets/1bdeda82-ca9d-4d21-89d4-eb347557a981)

After: 
![CleanShot 2025-04-16 at 12 37
57](https://github.com/user-attachments/assets/0de714d8-42e0-477f-96b3-cc54ae36cfcc)

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

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14488729430>
> Commit: 9489312f0436f3f4f810927c4c606f4764c01d3d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14488729430&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Settings`
> Spec:
> <hr>Wed, 16 Apr 2025 09:21:15 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**
- Added support for an AI agent flow, affecting embed snippet behavior
and visibility of related settings.

- **Refactor**
- Updated logic to control the display of embed options and settings
based on the new AI agent flow feature flag.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Ankita Kinger <ankita@appsmith.com>
2025-04-16 16:00:46 +05:30
Apeksha Bhosale
86c5a77fa5
chore: replaced Sentry with faro (#40270)
## 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=""

### 🔍 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


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

## Summary by CodeRabbit

- **Bug Fixes**
- Improved error reporting for certain errors to provide more detailed
information.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-16 14:24:29 +05:30
Vemparala Surya Vamsi
f9d2e2f0ab
chore: removed last klona (#40257)
## Description

- Removed the final use of klona, which was a significant contributor to
performance bottlenecks in our evaluation cycles.
- Enhanced the dataTree reduction logic to improve the quality of diff
updates. Previously, some diffs were not applied correctly, potentially
leading to stale application states. This change should reduce related
Sentry-reported issues.
- In a configured customer app running on Windows, we observed
approximately a 1-second improvement in LCP. Additionally, overall Web
Worker scripting time is expected to decrease by about 29.6%. These
optimizations primarily target update evaluation cycles and should lead
to noticeably improved app responsiveness.

## 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/14475541362>
> Commit: 9d0b751c6da7675938e53bd11ae5f2a0158e144a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14475541362&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 15 Apr 2025 18:35: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

- **Bug Fixes**
- Improved error handling for evaluation errors, with enhanced logging
and reporting for specific error types.

- **Tests**
- Added comprehensive test cases covering data tree type changes, update
cycles, error handling during state updates, and evaluation flow
accuracy.

- **Refactor**
- Refactored data tree diffing, update logic, and evaluation state
management for better modularity, error resilience, and control flow
during evaluation cycles.

- **New Features**
- Introduced granular tracking, serialization, and application of data
tree updates to improve performance and reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-16 12:58:09 +05:30
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
Hetu Nandu
de7f73d508
fix: Bad mixpanel config arising from env (#40262)
## Description

Earlier we were only checking for segment enabled to turn on mixpanel.
But an error happened when segment was enabled on a deployment but
mixpanel key was not present. This cause mixpanel config to be true but
without a key

To avoid this, we will also confirm mixpanel key exists and not just
segment

/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/14474665480>
> Commit: 2edc7ceece29ea7136d0a14f5f756f8a778b8bd0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14474665480&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 15 Apr 2025 17:18:28 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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

## Summary by CodeRabbit

- **Bug Fixes**
- Improved accuracy of Mixpanel tracking settings, ensuring Mixpanel is
only enabled when both Segment and Mixpanel tracking are enabled.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-16 09:07:09 +05:30
Pawan Kumar
76e1e48a3b
chore: fix agent creation bug (#40251)
/ok-to-test tags="@tag.Templates"
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added filtering of templates based on the AI agent flow setting,
showing only relevant templates when enabled.

- **Refactor**
- Improved consistency in template filtering across the app by updating
related selectors.

<!-- 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/14465699770>
> Commit: 7050a8bfff005c645f72b007415bc331140374c0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14465699770&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Templates`
> Spec:
> <hr>Tue, 15 Apr 2025 09:31:34 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-04-15 15:03:17 +05:30
Pawan Kumar
dc516f3432
chore: update embed snippet tab (#40246)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- The option to toggle the navigation bar is now only visible when a
specific AI Agent feature is disabled.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-15 13:20:17 +05:30
Pawan Kumar
32db30a447
chore: Enable templates for agents (#40214)
/ok-to-test tags="@tag.Templates"
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Improved template filtering logic to display relevant templates based
on the AI agent flow.
- Enhanced template selection process with conditional logic based on
the AI agent flow status.
- Incorporated feature flag data into the test setup for the
TemplateFilters component.
- **Bug Fixes**
- Updated rendering logic to ensure the HorizontalLine and building
blocks section are only displayed when applicable.
<!-- 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/14462054954>
> Commit: 4df9dc98f5f53c5c9ec5d908f4969aae73b4a290
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14462054954&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Templates`
> Spec:
> <hr>Tue, 15 Apr 2025 05:56:58 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-04-15 11:46:26 +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
Pawan Kumar
3ff564c705
chore: Load segment lib without dynamic import (#40222) 2025-04-11 16:51:13 +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