PromucFlow_constructor/app/client/src/widgets
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
..
AudioRecorderWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
AudioWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
BaseInputWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
BaseWidgetHOC chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ButtonGroupWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ButtonWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ButtonWidgetV2 chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CameraWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CategorySliderWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ChartWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CheckboxGroupWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CheckboxWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CircularProgressWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CodeScannerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
components feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ContainerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CurrencyInputWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DatePickerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DatePickerWidget2 chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DividerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DocumentViewerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DropdownWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
FilepickerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
FilePickerWidgetV2 chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
FormButtonWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
FormWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
IconButtonWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
IconWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
IframeWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ImageWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
InputWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
InputWidgetV2 chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
JSONFormWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ListWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ListWidgetV2 chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
MapChartWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
MapWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
MenuButtonWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ModalWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
MultiSelectTreeWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
MultiSelectWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
MultiSelectWidgetV2 chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
NumberSliderWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
PhoneInputWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ProgressBarWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
ProgressWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
QRGeneratorWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
RadioGroupWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
RangeSliderWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
RateWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
RichTextEditorWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
SelectWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
SingleSelectTreeWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
StatboxWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
SwitchGroupWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
SwitchWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
TableWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
TableWidgetV2 chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
TabsMigrator chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
TabsWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
TextWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
VideoWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
BaseComponent.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
BaseWidget.tsx chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CanvasWidget.tsx chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
index.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
MetaHOC.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
MetaWidgetContextProvider.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
Skeleton.tsx
SkeletonWidget.tsx chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
useDropdown.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
utils.test.ts feat: code scanner widget default camera (#26083) 2023-08-10 12:18:51 +05:30
utils.ts feat: code scanner widget default camera (#26083) 2023-08-10 12:18:51 +05:30
WidgetUtils.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetUtils.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
withLazyRender.tsx chore: Remove lazy canvas rendering feature flag - LAZY_CANVAS_RENDERING (#22354) 2023-05-10 17:36:30 +05:30
withWidgetProps.tsx chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30