PromucFlow_constructor/app/client/src/actions
Ashok Kumar M 0cbec4283c
chore: BaseWidget Restructuring (#26562)
## Description

Create a Basewidget wrapper that supplies Widget Onion as per the layout
system.

involves extracting widget layers presently in the BaseWidget into HOCs
and hooks and make sure layout systems can be scaled.
Make sure Modal widget is handled as a overlay widget whose wrappers are
supplied by basewidget instead of modal widget implementing its own
editing blocks.
This PR also separates the drag n drop logic for both auto layout and
fixed layout. They are moved into respective Layout system folders to
have clear sepsration of concern

#### PR fixes following issue(s)
Fixes #26674
Fixes #26675
Fixes #26676
Fixes #26570
Fixes #26590 
Fixes #26591 
Fixes #26592 
<img width="931" alt="BaseWidgetHOC"
src="https://github.com/appsmithorg/appsmith/assets/35134347/22f4cf1e-e4c5-4475-83a8-6818e7cebe70">

[Miro Link to view the new
system](https://miro.com/app/board/uXjVM6vRgf8=/?moveToWidget=3458764560239189204&cot=14)


> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### 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
> Please delete options that are not relevant.
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- 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
- [x] 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

---------

Co-authored-by: rahulramesha <rahul@appsmith.com>
Co-authored-by: rahulramesha <71900764+rahulramesha@users.noreply.github.com>
Co-authored-by: Preet Sidhu <preetsidhu.bits@gmail.com>
Co-authored-by: Aswath K <aswath.sana@gmail.com>
2023-09-11 21:25:11 +05:30
..
actionSelectorActions.ts chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
analyticsActions.ts chore: Removing feature flag for app level invites (#22650) 2023-04-26 12:48:16 +05:30
apiPaneActions.ts chore: Splitting analytic events (#26197) 2023-08-09 15:15:01 +05:30
appCollabActions.ts
appSettingsPaneActions.ts feat: Improved App Navigation (#19312) 2023-03-23 17:11:58 +05:30
appThemingActions.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
appViewActions.ts
authActions.ts
autoHeightActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
autoLayoutActions.ts chore: Change to Call fetch snapshot API call only from edit mode (#25342) 2023-07-19 10:52:07 +05:30
batchActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
browserRequestActions.ts
canvasSelectionActions.ts chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
collectionAction.ts
controlActions.tsx chore: Make use of widget methods to get binding properties in sniping mode (#25429) 2023-07-26 11:08:11 +05:30
crudInfoModalActions.ts
datasourceActions.ts feat: Datasource preview page in view mode (#26381) 2023-08-30 08:14:14 +01:00
debuggerActions.ts fix: Retain last selected tab on debugger and user selected filter condition (#25538) 2023-08-09 15:19:32 +05:30
editorActions.ts feat: debugger error navigation (#25505) 2023-08-01 09:32:41 +05:30
editorContextActions.ts feat: Error Navigation (#21753) 2023-04-10 18:29:14 +05:30
errorActions.ts Remove server error cases 2023-04-05 14:09:00 +05:30
evaluationActions.ts chore: send diff updates from worker (#24933) 2023-08-16 11:04:32 +05:30
explorerActions.ts
focusHistoryActions.ts chore: added route listener on non-trackable URLs (#25671) 2023-08-11 17:04:42 +05:30
gitSyncActions.ts feat: git connect v2 (#26725) 2023-09-11 11:24:16 +05:30
globalSearchActions.ts chore: Sunset Omnibar Documentation and Snippets (#24787) 2023-06-30 15:51:08 +05:30
helpActions.ts
importActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
initActions.ts Revert "fix: Refactor faster page loads (#25983)" 2023-08-11 17:24:26 +05:30
jsActionActions.ts chore: Splitting analytic events (#26197) 2023-08-09 15:15:01 +05:30
JSLibraryActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
jsPaneActions.ts chore: Splitting analytic events (#26197) 2023-08-09 15:15:01 +05:30
lintingActions.ts feat: show lint errors in async functions bound to sync fields (#21187) 2023-04-03 16:11:15 +05:30
metaActions.ts chore: Table performance improvement (#20983) 2023-03-30 10:24:29 +05:30
metaWidgetActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
onboardingActions.ts feat: signposting update (#24389) 2023-06-22 18:35:01 +05:30
oneClickBindingActions.ts chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
pageActions.tsx chore: Send orgId and instanceId on page create analytic events (#23489) 2023-05-29 18:05:38 +05:30
pageVisibilityActions.ts feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
pluginActionActions.ts feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
pluginActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
propertyPaneActions.ts fix: converted sniping test cases to support suggested widgets, api binding bug (#26911) 2023-09-08 13:12:48 +05:30
providerActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
queryPaneActions.ts feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
reflowActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
releasesActions.ts
templateActions.ts
themeActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
tourActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
userActions.ts feat: added api to return 1 product message (#24704) 2023-07-18 13:03:18 +05:30
utilActions.ts
websocketActions.ts chore: Refactor rts connection retry with limits (#19781) 2023-01-14 21:38:39 +05:30
widgetActions.tsx perf: Optimise App loading apis (#24365) 2023-07-10 11:21:40 +05:30
widgetSelectionActions.ts fix: Do not set widget ancestry if selection happens via canvas (#22069) 2023-04-10 12:55:14 +05:30
widgetSidebarActions.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30