PromucFlow_constructor/app/client/src/pages/Editor
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
..
__tests__ fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
ActionForm fix: Action redesign/remove container query (#36014) 2024-08-30 17:06:30 +05:30
APIEditor chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
AppSettingsPane chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
CanvasLayoutConversion chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
CanvasPropertyPane
commons chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
CommunityTemplates/Modals chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
CurlImport chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
CustomWidgetBuilder chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
DataSourceEditor chore: use ads icons (#35633) 2024-08-16 17:23:57 +03:00
DatasourceInfo chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
EditorName fix: Pencil icon appearing in application name (#35885) 2024-08-27 00:45:31 +05:30
EntityNavigation fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
Explorer feat: disable create js object option in workflows editor (#36094) 2024-09-04 09:07:09 +05:30
FirstTimeUserOnboarding chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
GeneratePage chore: use ads icons (#35633) 2024-08-16 17:23:57 +03:00
gitSync chore: reconnect ds detached from datasource editor part 1 (#35907) 2024-09-02 11:26:34 +05:30
GlobalHotKeys chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
IDE chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
IntegrationEditor chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
JSEditor chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
MultiSelectPropertyPane chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
NavigationSettings chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
PropertyPane fix: width of tooltip box is larger than text on the property panel (#35734) 2024-09-03 12:28:06 +05:30
QueryEditor feat: Updates for accounting Section and Zone changes (#35753) 2024-08-20 17:41:03 +05:30
SaaSEditor chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
ThemePropertyPane chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
WDSThemePropertyPane chore: Rename wds packages (#35686) 2024-08-16 11:19:42 +05:30
WidgetsEditor chore: ce - remove sentry performance tracker (#35710) 2024-08-15 19:40:53 +05:30
widgetSidebar fix: drag and drop issue in list widget (#35622) 2024-08-12 17:24:19 +05:30
ActionSettings.tsx chore: enable no-explicit-any rule (#35321) 2024-07-31 18:41:28 +03:00
AppsmithLink.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
Canvas.tsx chore: Rename wds packages (#35686) 2024-08-16 11:19:42 +05:30
EditorHeader.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
EditorSaveIndicator.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
EditorShareButton.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
EntityNotFoundPane.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
FormConfig.tsx feat: Updated subtitle position to bottom (#35789) 2024-08-22 09:12:17 +05:30
FormControl.tsx fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
HelpBarInHeader.tsx
HelpButton.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
index.tsx chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
loader.tsx fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
MainContainerWidthToggles.test.tsx
MainContainerWidthToggles.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
Popper.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
PropertyPaneHelpButton.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
RealtimeAppEditors.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
RequestConfirmationModal.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
ShareApplicationForm.tsx chore: rename old ADS package (#35517) 2024-08-08 15:55:00 +03:00
ToggleModeButton.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
utils.tsx chore: Input morphing (#35845) 2024-08-27 12:15:45 +05:30
WidgetsEditorEntityExplorer.tsx