PromucFlow_constructor/app/client/src/ce
Ayush Pahwa 72d18157d2
feat: disable create js object option in workflows editor (#36094)
## Description

Workflows is not currently supporting multiple js objects. Hence, we
need to disable the option for the workflows editor.

EE branch: https://github.com/appsmithorg/appsmith-ee/pull/5027

Fixes #32239 

## Automation

/test js

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10686636668>
> Commit: 5cb101fca88fad7d8ddba64ccec99b76fd49674b
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10686636668&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JS`
> Spec:
> <hr>Tue, 03 Sep 2024 16:45:16 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**
- Enhanced logic for creating new JavaScript objects, preventing
unnecessary additions in the workflow editor.
- Introduced a function to determine if creating a new JavaScript object
is allowed, improving user experience in the workflow editor.
- Improved responsiveness of the Files component based on the parent
entity type, allowing for context-sensitive behavior.

- **Bug Fixes**
- Addressed limitations in workflow runner support for multiple
JavaScript objects.

- **Refactor**
- Simplified the `onCreate` function's dependencies for improved clarity
and functionality.
  
- **Tests**
- Added new test cases to validate the behavior of JavaScript object
creation options based on user settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-04 09:07:09 +05:30
..
actions chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
api chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
components chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
configs chore: ce - remove sentry performance tracker (#35710) 2024-08-15 19:40:53 +05:30
constants chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
entities chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
hooks chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
mocks
navigation fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
pages chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
plugins/Linting fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
reducers chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
sagas chore: Revert "fix: Add mode property to forkApplicationSaga" (#35873) 2024-08-26 16:30:00 +08:00
selectors chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
types fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
utils feat: disable create js object option in workflows editor (#36094) 2024-09-04 09:07:09 +05:30
workers fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
AppRouter.tsx fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
RouteBuilder.ts chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
RouteParamsMiddleware.ts chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30