PromucFlow_constructor/app/client/src/sagas
ashit-rath c281600ea7
chore: refactor create jsobject under modules (#29555)
## Description
Refactor to create js objects for modules

#### PR fixes following issue(s)
PR for https://github.com/appsmithorg/appsmith-ee/pull/3095

#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

- **Refactor**
- Updated import paths for `JSCollectionData` and related types across
various files to reflect a change in the file structure or module
resolution strategy.
- Exported `initialState` and `handlers` from `jsActionsReducer` to
align with updated code organization.

- **New Features**
- Added a new entry `JSModules` to the `entitySections` object in
`editorContextReducer.ts` to enhance editor context management.

- **Bug Fixes**
- Adjusted the `createDummyJSCollectionActions` function to include
`additionalParams` and `variables` for improved action creation and
initialization.

- **Documentation**
  - No visible changes to end-user documentation in this pull request.

- **Style**
  - No style-related changes affecting end-users in this pull request.

- **Tests**
  - No test-related changes affecting end-users in this pull request.

- **Chores**
  - No chore-related changes affecting end-users in this pull request.

- **Revert**
  - No reverts affecting end-users in this pull request.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-13 16:16:27 +05:30
..
__tests__
ActionExecution fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
autoHeightSagas feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
CanvasSagas chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
WebsocketSagas chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ActionSagas.ts feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
AnalyticsSaga.ts chore: Add SAVE_ACTION analytics event (#25997) 2023-08-07 15:01:45 +05:30
ApiPaneSagas.ts feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
AppThemingSaga.tsx chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
AutoLayoutUpdateSagas.tsx chore: Update DSL for Anvil (#27966) 2023-10-19 20:50:17 +05:30
BatchSagas.tsx fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
CollectionSagas.ts
CommunityTemplatesSagas.tsx feat: community templates UI (#27302) 2023-09-25 11:57:23 +05:30
ContextSwitchingSaga.ts chore: Refactoring sidebar on app editor to support the same on package editor (#29212) 2023-11-30 14:56:24 +05:30
CurlImportSagas.ts chore: route builder refactor (#27905) 2023-10-12 11:01:22 +05:30
DatasourcesSagas.ts fix: analytic events added for start with data flow (#29463) 2023-12-08 15:26:57 +05:30
DebuggerSagas.ts chore: Prevent logging error analytics on first page load (#29019) 2023-11-22 09:48:12 +01:00
editorContextSagas.ts
ErrorSagas.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
EvalErrorHandler.ts chore: Add debugger CE changes (#28752) 2023-11-16 19:24:48 +05:30
EvaluationSaga.utils.ts chore: send serialised updated and using klona/json instead of klona (#27319) 2023-09-26 17:44:20 +05:30
EvaluationsSaga.ts fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
EvalWorkerActionSagas.ts chore: refactor create jsobject under modules (#29555) 2023-12-13 16:16:27 +05:30
FormEvaluationSaga.ts chore: split for evaluation actions for EE (#28728) 2023-11-10 13:34:09 +05:30
GitSyncSagas.ts chore: refactor create jsobject under modules (#29555) 2023-12-13 16:16:27 +05:30
GlobalSearchSagas.ts
helper.test.ts chore: Add SAVE_ACTION analytics event (#25997) 2023-08-07 15:01:45 +05:30
helper.ts chore: Add SAVE_ACTION analytics event (#25997) 2023-08-07 15:01:45 +05:30
InitSagas.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
JSLibrarySaga.ts chore: capturing more telemetry data as per fe coder's requirements(#29153) (#29287) 2023-12-05 11:02:03 +05:30
JSPaneSagas.ts chore: refactor create jsobject under modules (#29555) 2023-12-13 16:16:27 +05:30
layoutConversionSagas.ts chore: Refactor entity explorer to support displaying module instances in the list (#28855) 2023-11-16 17:03:59 +05:30
LintingSagas.ts chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30
ModalSagas.ts chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
NavigationSagas.ts feat: debugger api pane navigation (#25771) 2023-08-10 19:25:06 +05:30
OnboardingSagas.ts feat: redirect user to datasource page on selecting start with data (#29102) 2023-11-27 18:05:57 +05:30
OneClickBindingSaga.ts chore: Refactor the create action logic to support module actions (#28404) 2023-10-27 12:06:57 +05:30
PageVisibilitySagas.ts feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
PluginSagas.ts chore: removed unnecessary logs added to debug CI issue (#28411) 2023-10-27 13:40:12 +05:30
PostEvaluationSagas.ts chore: Action execution changes for modules (#29357) 2023-12-07 00:48:52 +05:30
PostLintingSagas.ts chore: CE change to log lint error in moduleEditor (#29230) 2023-12-04 23:37:45 +05:30
ProvidersSaga.ts chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
QueryPaneSagas.ts feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
RecentEntitiesSagas.ts chore: code splitting changes for appsmith ai v0.1 (#22521) 2023-04-20 20:42:35 +05:30
ReplaySaga.ts chore: split for evaluation actions for EE (#28728) 2023-11-10 13:34:09 +05:30
SaaSPaneSagas.ts feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
selectors.tsx fix: Converts target param of postWindowMessage into a dropdown in action selector (#28481) 2023-11-02 11:40:40 +05:30
SnapshotSagas.ts chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
SnipingModeSagas.ts chore: Splitting entities reducer for supporting more reducers on EE (#27560) 2023-09-22 18:12:20 +05:30
TemplatesSagas.ts feat: update template screen UI and building blocks for new users in start from use case flow (#29020) 2023-11-25 07:59:35 +05:30
TernSaga.ts fix: improve autocompletion hints discovery (#28222) 2023-10-25 18:18:45 +01:00
ThemeSaga.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ToastSagas.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
UtilSagas.ts
WidgetAdditionSagas.ts chore: add mousemove listener to konva and bug fixes. (#28381) 2023-10-27 11:54:26 +05:30
WidgetBlueprintSagas.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetBlueprintSagas.ts chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
WidgetDeletionSagas.ts feat: added an intermediary step to enable new create new app flow (#27457) 2023-11-09 09:49:02 +05:30
WidgetEnhancementHelpers.ts fix: Anvil Editor issues with Resizer in safari (#28361) 2023-10-26 10:07:06 +05:30
WidgetLoadingSaga.ts chore: separated tree type into common file to be extended on EE (#27812) 2023-10-10 18:02:17 +05:30
WidgetOperationSaga.test.tsx chore: Make use of widget methods to get binding properties in sniping mode (#25429) 2023-07-26 11:08:11 +05:30
WidgetOperationSagas.tsx feat: Adds partial import functionality (#28293) 2023-11-17 12:46:18 +05:30
WidgetOperationUtils.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetOperationUtils.ts chore: split dependency map functions to be extendable on EE (#28147) 2023-10-17 18:52:30 +05:30
WidgetSelectionSagas.ts feat: Adds partial import functionality (#28293) 2023-11-17 12:46:18 +05:30
WidgetSelectUtils.test.ts
WidgetSelectUtils.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30