Commit Graph

10426 Commits

Author SHA1 Message Date
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
f7e8aada2e
ci: Fixing the page actions spec (#40328)
## Description

Fixing the page actions spec that was failing after
[#40322](https://github.com/appsmithorg/appsmith/pull/40322) merge

Fixes #

## 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/14587020719>
> Commit: d46229ad5cef61fdfa1eaee3adc38d38faac2b3a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14587020719&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.IDE`
> Spec:
> <hr>Tue, 22 Apr 2025 05:28:28 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**
- Updated test assertions to check the "data-subtle" attribute instead
of "data-disabled" when verifying the UI state of hidden pages.
  - Added a tag to the test suite for improved categorization.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-22 11:35:14 +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
vadim
d64040bf52
chore: Adjust WDS fg negative (#40297)
## Description

Fixes #39743 

| Before | After |
|--------|--------|
| <img width="656" alt="Screenshot 2025-04-17 at 12 10 57"
src="https://github.com/user-attachments/assets/9d684160-6368-417e-a2e1-3e1378f85006"
/> | <img width="659" alt="Screenshot 2025-04-17 at 12 10 05"
src="https://github.com/user-attachments/assets/d53136ec-6bdc-4d26-9843-8c68d8695c98"
/> |

## 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/14513262899>
> Commit: cb548296b06fcb3d5598233ab572d72b5802a80f
> Workflow: `PR Automation test suite`
> Tags: `@tag.Sanity`
> Spec: ``
> <hr>Thu, 17 Apr 2025 10:08:35 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**
- Adjusted color tones for negative foreground elements in both dark and
light modes, resulting in updated visual appearance for certain UI
elements.
- **Tests**
- Updated test cases to reflect the new color values for negative
foreground elements in both dark and light modes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-17 18:16:02 +05:30
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
vadim
303a4d8bbb
fix: Adjust markdown lists margin (#40273)
## Description

Prevents overflowing up to hundreds.

## 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/14489373046>
> Commit: eb22618f3c269fb34711555d5c8e2b1312ead7b6
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14489373046&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 16 Apr 2025 10:10:20 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**
- Improved indentation for list items in markdown content for better
readability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-16 15:44:33 +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
vadim
d8cf43741e
chore: Adjust nested paddings in markdown (#40260)
## Description

Part of https://github.com/appsmithorg/appsmith-ee/pull/7148

## 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/14471353200>
> Commit: 08688d97af60ec7a816128844b34e3868dba7911
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14471353200&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 15 Apr 2025 14:42:20 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**
- Improved indentation for list items in markdown content, increasing
left margin for nested lists to enhance readability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-16 08:54:19 +02: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
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
bd28cbd28e
chore: fix sidebar animation (#40248)
https://github.com/user-attachments/assets/5fd56517-779f-4690-aeaf-071a4dfb1287

Fixes #39927

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

## Summary by CodeRabbit

- **Style**
- Removed the width transition animation effect from the sidebar,
resulting in immediate width changes without animation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-15 14:59:14 +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
15dec536a3
chore: Adjust agent chat code elements (#40230)
## Description

Fixes #39836

| Before | After |
|--------|--------|
|
![image](https://github.com/user-attachments/assets/dabefaab-71a1-41e1-b84a-7fcb115c2c86)
|
![image](https://github.com/user-attachments/assets/f98e5b06-6cb7-499b-8a55-44b358c1af58)
|

## 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/14445548010>
> Commit: d93e974ef879e773c24189647f87a0c7ecce977f
> Workflow: `PR Automation test suite`
> Tags: `@tag.Sanity`
> Spec: ``
> <hr>Mon, 14 Apr 2025 12:25:09 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
2025-04-14 18:59:11 +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
Hetu Nandu
7cdee43f13
feat: add CodeBlock component for syntax highlighting (#40223)
## Description

- Introduced a new CodeBlock component that utilizes
react-syntax-highlighter for displaying code snippets with syntax
highlighting.
- Implemented responsive theming based on the current theme context
(dark/light).
- Added Storybook stories for the CodeBlock component to demonstrate its
usage and capabilities.

This addition enhances the design system by providing a reusable
component for code display.


## Automation

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

### 🔍 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/14402871511>
> Commit: 81bb9cf84ab73e43edf8c59c6d8ecff03cb5eae0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14402871511&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Anvil`
> Spec:
> <hr>Fri, 11 Apr 2025 12:40:24 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 CodeBlock component that renders code snippets with
syntax highlighting and theme support (light/dark modes).
  - Enabled customizable styling and behavior through property options.
- Added interactive examples for previewing different code formats and
sizes.
- Consolidated access to the CodeBlock component through new export
statements in the design system.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-11 18:39:55 +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
Jacques Ikot
5a6479c5dd
feat: reset table when infinite scroll is turned on (#40066)
## 🐞 Problem

We've identified several issues with the TableWidgetV2's infinite scroll
functionality:

- **Stale Data After Toggle**  
When users enable infinite scroll for the first time, the table's state
and cached data aren't properly reset, potentially leading to incorrect
data display and inconsistent behavior.

- **Height Changes Breaking Existing Data**  
When a table's height is increased while infinite scroll is enabled, the
existing cached data becomes invalid due to changing offsets, but the
table wasn't resetting its state accordingly.

- **Empty Initial View**  
When loading a table with infinite scroll enabled, rows were not visible
during the initial load until data was fetched, creating a jarring user
experience.

- **Disabled Properties Still Rendering Controls**  
Property controls that should be disabled (based on section disabling
conditions) were still being rendered and active, causing unexpected
behavior.

---

##  Solution

### 1. Implement Table Reset on Infinite Scroll Toggle

Added a new method `resetTableForInfiniteScroll()` that properly resets
the table's state when infinite scroll is enabled. This method:

- Clears cached table data  
- Resets the "end of data" flag  
- Resets all meta properties to their default values  
- Sets the page number back to `1` and triggers a page load

```ts
resetTableForInfiniteScroll = () => {
  const { infiniteScrollEnabled, pushBatchMetaUpdates } = this.props;

  if (infiniteScrollEnabled) {
    // reset the cachedRows
    pushBatchMetaUpdates("cachedTableData", {});
    pushBatchMetaUpdates("endOfData", false);

    // reset the meta properties
    const metaProperties = Object.keys(TableWidgetV2.getMetaPropertiesMap());
    metaProperties.forEach((prop) => {
      if (prop !== "pageNo") {
        const defaultValue = TableWidgetV2.getMetaPropertiesMap()[prop];
        this.props.updateWidgetMetaProperty(prop, defaultValue);
      }
    });

    // reset and reload page
    this.updatePageNumber(1, EventType.ON_NEXT_PAGE);
  }
};
```

---

### 2. Reset on Height Changes

Added a check in `componentDidUpdate` to detect height changes and reset
the table when needed:

```ts
// Reset widget state when height changes while infinite scroll is enabled
if (
  infiniteScrollEnabled &&
  prevProps.componentHeight !== componentHeight
) {
  this.resetTableForInfiniteScroll();
}
```

---

### 3. Improved Empty State Rendering

Modified the `InfiniteScrollBodyComponent` to show placeholder rows
during initial load by using the maximum of `rows.length` and
`pageSize`:

```ts
const itemCount = useMemo(
  () => Math.max(rows.length, pageSize),
  [rows.length, pageSize],
);
```

This ensures the table maintains its expected height and appearance even
before data is loaded.

---

### 4. Fixed Property Control Rendering

Fixed the `PropertyControl` component to respect the `isControlDisabled`
flag by conditionally rendering the control:

```ts
{!isControlDisabled &&
  PropertyControlFactory.createControl(
    config,
    {
      onPropertyChange: onPropertyChange,
      // ...other props
    },
    // ...other args
  )}
```

This prevents disabled controls from being rendered and potentially
causing issues.

---

These improvements significantly enhance the stability and user
experience of **TableWidgetV2**'s infinite scroll functionality.


Fixes #39377 

## 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/14373134089>
> Commit: 2b0715bbbe2e9a254cd287f831329be529a17c3c
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14373134089&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Table, @tag.Widget, @tag.Binding, @tag.Sanity,
@tag.PropertyPane`
> Spec:
> <hr>Thu, 10 Apr 2025 07:15:53 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**
- Property panels now display controls only when enabled, enhancing
clarity.
- Table widgets offer smoother infinite scrolling with automatic resets
on state or size changes.
- Columns dynamically adjust for optimal display when infinite scrolling
is active.
- **Bug Fixes**
- Improved handling of item counts and loading states in infinite
scrolling.
- **Refactor**
- Improved performance through optimized item computations and
streamlined scrolling logic.
	- Removed redundant loading button logic for a cleaner user experience.
- **Tests**
- Expanded test scenarios to verify improved content wrapping and rich
HTML rendering in table cells, with a focus on internal logic and
behavior.
- Enhanced clarity and robustness of infinite scroll tests by verifying
loading through scrolling actions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Rahul Barwal <rahul.barwal@appsmith.com>
2025-04-10 03:58:15 -07:00
Rahul Barwal
961cbd28bf
refactor: update terminology for new row options in select widget (#40209)
## Description

Adhering to user recommendation:
https://github.com/appsmithorg/appsmith/issues/20230#issuecomment-2785940800

Updated the label to clarify the meaning of config.

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.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/14375355147>
> Commit: 7b0f939203b3d3efa7c0795bf7855bd553ecf430
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14375355147&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Widget`
> Spec:
> <hr>Thu, 10 Apr 2025 09:18:51 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 the Table widget’s configuration label from “Same options in
new row” to “Use top row values in new rows” to provide clearer guidance
on how select options work when adding rows.
- Enhanced test descriptions to reflect the updated terminology,
ensuring clarity in functionality related to select options when adding
new rows.
  
- **Bug Fixes**
- Adjusted test logic to ensure correct visibility of new row select
options based on the updated configuration setting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-10 15:58:52 +05:30
Ankita Kinger
d532020005
chore: Hiding git author settings for AI instances (#40210)
## Description

Hiding git author settings for AI instances

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/14375296937>
> Commit: 4ef0db7408852b275d55de1e72c8057524d0b53a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14375296937&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Settings`
> Spec:
> <hr>Thu, 10 Apr 2025 08:21: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**
- Streamlined the Profile settings by conditionally displaying the Git
author section. When AI agent functionality is enabled, the Git author
inputs and heading are no longer visible, reducing clutter in the
interface.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-10 13:52:20 +05:30
Apeksha Bhosale
82f061a1be
chore: added approved messages (#40108)
## Description
Conversation link -
https://theappsmith.slack.com/archives/C0341RERY4R/p1743064966404339

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


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/14355493550>
> Commit: a3fdc2ea4ad72061f843586fd17706b3ec3ddd49
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14355493550&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 09 Apr 2025 12:22: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

- **New Features**
- Enhanced error messaging across authentication flows (login, signup,
verification) to ensure safe and clear feedback.
- Expanded user feedback for authentication issues, including login
failures, account lockouts, and session-related errors.
- Introduced a structured set of approved static and dynamic error
messages.

- **Style**
- Standardized punctuation and formatting in user messages for improved
readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-10 10:54:18 +05:30
Pawan Kumar
0c9d96c149
chore: bug fixes agents (#40206)
- [x] Bug in the select widget that makes it always show Please select
an option even when an option is selected
- [x] Add documentation link to the help modal in the editor
- [x] Share Modal update 

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

## Summary by CodeRabbit

- **New Features**
- Enhanced the non-public application view by grouping content with an
added banner for improved layout.
- Updated the documentation link to conditionally use a tailored URL
based on the active AI flow.
	- Streamlined the help menu by removing the bug reporting option.
- **Refactor**
- Optimized the internal processing of widget options for clearer and
more efficient handling.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-10 10:43:01 +05:30
Rudraprasad Das
e805fca60b
chore: fixes issue with disabled branch button (#40163)
## Description
- Users with "developer" access to an app were finding the branch switch
button disabled
- The issue is occurring due to a bug in the autocommit flow. This PR
fixes it

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

## 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/14337186264>
> Commit: 5803065bc71df9f9c36aa7a14fdac9ed94e7d0f5
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14337186264&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Git`
> Spec:
> <hr>Tue, 08 Apr 2025 16:13: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

- **Refactor**
- Improved the autocommit process by enhancing the success-handling
logic with additional context details. This change refines how commit
actions are processed, ensuring more precise state updates during the
commit workflow while preserving the existing functional flow. These
modifications help significantly streamline internal operations without
affecting the overall seamless user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-09 12:14:51 +02:00
Pawan Kumar
0e6c55683e
chore: remove agents check for chrome extension on ce (#40189)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- The share modal now consistently displays the Chrome extension banner,
providing a uniform experience for users by ensuring the banner is
always visible.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-09 13:13:55 +05:30
Ankita Kinger
62bdd846d4
chore: Adding AI agent feature flag check for audit logs upgrade page (#40185)
## Description

Adding AI agent feature flag check for audit logs upgrade page

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  -->
> [!IMPORTANT]
> 🟣 🟣 🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/14350813652>
> Commit: 89483c5e9067b19dcad00e1654031bdd2e438b29
> Workflow: `PR Automation test suite`
> Tags: `@tag.Settings`
> Spec: ``
> <hr>Wed, 09 Apr 2025 06:49: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

- **New Features**
- Upgrade messaging now dynamically reflects the selected
plan—displaying "business" or "enterprise" based on current settings.
- Enhanced audit log configurations incorporate an enterprise flag to
adjust messaging contextually.
- **Bug Fixes**
- Corrected text capitalization for clearer plan description in the
upgrade footer.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-09 12:44:10 +05:30
Aman Agarwal
af2f442587
fix: added cypress test for basic infinite table scroll (#40132) 2025-04-09 11:47:27 +05:30
Pawan Kumar
573dc2e540
chore: add messages for chrome extension banner (#40181) 2025-04-09 10:59:04 +05:30
Hetu Nandu
a852e495b9
chore: Update AI agent tag to preview (#40180)
## Description

Remove beta tag and mark it preview

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

## Summary by CodeRabbit

- **Refactor**
- Updated the Applications section so that the tag now displays as
“Preview” instead of “Beta,” ensuring consistent and clearer user-facing
labels.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-09 10:37:45 +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
albinAppsmith
c0cdea49b9
feat: Add isWithinAnOrganization state to organization reducer (#40168)
- Introduced a new state property `isWithinAnOrganization` to the
OrganizationReduxState interface.
- Initialized `isWithinAnOrganization` to false in the initial state.
- Updated the reducer to handle the new property when fetching current
organization configuration.

## 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.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/14333864526>
> Commit: 4550ddeea26f0c4a8cc8fdf34c5212a734e59f25
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14333864526&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 08 Apr 2025 13:40:38 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

## Summary by CodeRabbit

- **New Features**
- Enhanced the application’s ability to detect your organizational
context, ensuring that your experience adapts appropriately when you’re
operating within an organization.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 22:48:38 +05:30
Diljit
410e4ea999
chore: log evaluation error logs and push execption to sentry (#40170)
## Description
This PR makes sure that any error in evaluation is not supressed by the
code and when it happens it does the following
- Shows a generic evaluation error to the user as a toast message
- Log the error in the main thread console
- Send an exception to Sentry

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  -->
> [!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**
- Enhanced error logging and reporting to ensure evaluation issues are
consistently captured and tracked.
  
- **Chores**
- Expanded error diagnostics by including additional context for
improved troubleshooting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 16:34:56 +00:00
Pawan Kumar
00adc9ee62
chore: add maximum-scale to avoid zoom on inputs in iOS (#40171)
Before:


https://github.com/user-attachments/assets/6df2b36e-9d1e-489a-a674-fae91bbd1951

After:


https://github.com/user-attachments/assets/d7867638-ca7f-4385-8d66-de9940c0534f



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


- **New Features**
	- Enhanced mobile display settings for improved viewing on smartphones.
- **Refactor**
	- Reformatted the closing `</html>` tag for proper syntax.

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

<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Tests have not run on the HEAD
eb0ec6e4751d6ba320b683bf843b0bee58c75615 yet
> <hr>Tue, 08 Apr 2025 13:14:12 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-04-08 19:16:31 +05:30
Ankita Kinger
5824b813ff
chore: Removing disabling functionality for cross site embedding (#40167)
## Description

Removing disabling functionality for cross site embedding

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/14333026511>
> Commit: 44f04a277fa98caf04775f3fc890600749f16248
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14333026511&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Settings`
> Spec:
> <hr>Tue, 08 Apr 2025 12:28:31 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**
- Removed the cross-site embedding setting from Admin Settings,
streamlining configuration management while maintaining existing
functionality for administrators.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 18:01:31 +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
Pawan Kumar
bf6125f69d
chore: fix chat widget height issue (#40158)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Style**
- Enhanced the display by updating the viewport height measurement,
allowing the content area to dynamically adjust based on the visible
screen space for a more responsive viewing experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 15:39:50 +05:30
Ankita Kinger
bee20912fd
chore: Updating upgrade link for cloud billing (#40156)
## Description

Updating upgrade link for cloud billing

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/14328221969>
> Commit: 7502e28220824eba1461cb9f981be9392f3efea8
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14328221969&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Settings`
> Spec:
> <hr>Tue, 08 Apr 2025 08:22:33 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**
- Adjusted link behavior so that when multi-organization features are
active, users are directed to a dedicated settings page.
- Enhanced the upgrade process to detect cloud billing activation and
open the appropriate licensing page for a more seamless experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 13:57:47 +05:30