PromucFlow_constructor/app/client/src
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
..
actions chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
api chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
assets chore: add color validation + native color picker (#25355) 2023-08-07 11:55:10 +03:00
ce chore: code split for EE PR 2169 (#26669) 2023-09-11 14:09:41 +07:00
components chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
constants chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ee chore: code split for EE PR 2169 (#26669) 2023-09-11 14:09:41 +07:00
enterprise
entities chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
globalStyles fix: Added an Indice.Layer to the Border and Indicator of the Guided … (#25585) 2023-07-24 15:43:55 +05:30
icons
layoutSystems chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
mockComponentProps
mockResponses
mocks
navigation chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
pages chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
plugins/Linting fix: setter mutation issue (#25886) 2023-08-08 19:42:07 +05:30
polyfills
reducers chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
reflow
sagas chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
selectors chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
templates
theme
transformers chore: code split for EE PR 2169 (#26669) 2023-09-11 14:09:41 +07:00
usagePulse chore: added route listener on non-trackable URLs (#25671) 2023-08-11 17:04:42 +05:30
utils chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
WidgetProvider chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
WidgetQueryGenerators feat: Integrate one click binding to sourceData of select and multi select widget (#25750) 2023-08-10 10:51:19 +05:30
widgets chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
workers fix: geolocation.currentposition.coords.lat is giving error also on map geolocation is giving lint error (#27100) 2023-09-11 17:01:12 +05:30
App.css
AppErrorBoundry.tsx
config.d.ts
Globals.d.ts
index.css fix: design-system-old fixes (#24421) 2023-06-20 14:34:13 +05:30
index.tsx perf: prioritize the main bundle over preloads (v2) (#24374) 2023-06-22 10:58:10 +05:30
LandingScreen.tsx
preload-route-chunks.ts fix: bump storybook version and move stories to storybook package (#25821) 2023-07-31 19:15:50 +03:00
react-app-env.d.ts
RouteBuilder.test.ts
RouteBuilder.ts
RouteChangeListener.tsx chore: added route listener on non-trackable URLs (#25671) 2023-08-11 17:04:42 +05:30
RouteParamsMiddleware.ts
serviceWorker.js
store.ts
wdyr.ts chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00