PromucFlow_constructor/app/client/src/widgets
Tolulope Adetula d2af098746
fix: Limit List widget nesting to a maximum of 3 levels (#20506)
## Description

Limit the amount of nesting in the List widget to 3 levels.

The List widget could be nested in 2 ways.
1. Drag and Drop from Explorer
2. Copy and Paste.
3. Drag and Drop from Canvas

To cater to all these cases, I created 3 more blueprint operations that
serve as a life cycle for the widget.
1. BEFORE_ADD
2. BEFORE_PASTE
3. BEFORE_DROP

This would enable validation of the level/nesting before the DSL is
updated

Fixes #20585

## Type of change
- New feature (non-breaking change which adds functionality)
- This change requires a documentation update


## How Has This Been Tested?
- Cypress

### Test Plan
> [Nested List Widget Test
Plan](https://github.com/appsmithorg/TestSmith/issues/2187)

## 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:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

---------

Co-authored-by: Ashit Rath <ashit@appsmith.com>
Co-authored-by: Favour Ohanekwu <fohanekwu@gmail.com>
2023-02-21 09:43:25 +05:30
..
AudioRecorderWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
AudioWidget fix: resetting audio and video widget (#18126) 2022-12-07 20:40:28 +05:30
BaseInputWidget feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
ButtonGroupWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
ButtonWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
CameraWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
CategorySliderWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ChartWidget fix: Multiseries chart data does not load completely (#20248) 2023-02-02 19:47:09 +05:30
CheckboxGroupWidget chore: removed unused import (#20145) 2023-01-27 14:29:13 +05:30
CheckboxWidget fix: update button states to secondary (#19048) 2022-12-29 11:08:13 +00:00
CircularProgressWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
CodeScannerWidget feat: Add type inference for redux's useSelector hook (#18257) 2022-11-28 08:13:17 +00:00
components feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
ContainerWidget feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
CurrencyInputWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DatePickerWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DatePickerWidget2 feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DividerWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
DocumentViewerWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DropdownWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
FilepickerWidget fix: Number validation passthrough behaviour on 0 (#18001) 2022-11-01 18:17:07 +05:30
FilePickerWidgetV2 fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
FormButtonWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
FormWidget feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
IconButtonWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
IconWidget
IframeWidget feat: Add type inference for redux's useSelector hook (#18257) 2022-11-28 08:13:17 +00:00
ImageWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
InputWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
InputWidgetV2 feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
JSONFormWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ListWidget feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
ListWidgetV2 fix: Limit List widget nesting to a maximum of 3 levels (#20506) 2023-02-21 09:43:25 +05:30
MapChartWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
MapWidget chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
MenuButtonWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ModalWidget feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
MultiSelectTreeWidget feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
MultiSelectWidget feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
MultiSelectWidgetV2 feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
NumberSliderWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
PhoneInputWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ProgressBarWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
ProgressWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
QRGeneratorWidget fix: update button states to secondary (#19048) 2022-12-29 11:08:13 +00:00
RadioGroupWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
RangeSliderWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
RateWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
RichTextEditorWidget feat: emoji picker for the RTE widget (#19767) 2023-01-16 15:36:13 +05:30
SelectWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
SingleSelectTreeWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
StatboxWidget feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
SwitchGroupWidget fix: update button states to secondary (#19048) 2022-12-29 11:08:13 +00:00
SwitchWidget fix: center the widget when height is min auto height (#19496) 2023-02-02 18:18:50 +05:30
TableWidget feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
TableWidgetV2 feat: added column freeze and unfreeze functionality to table widget (#18757) 2023-02-15 17:12:46 +05:30
TabsMigrator chore: Moved tern server to worker (#18464) 2022-11-27 11:41:01 +05:30
TabsWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
TextWidget fix: change word truncate behavior in show more modal (#20747) 2023-02-20 14:20:22 +05:30
VideoWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
BaseComponent.tsx
BaseWidget.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
CanvasWidget.tsx chore: Render below the fold widget components when browser is idle using Intersection Observer (#18747) 2023-02-08 16:53:39 +05:30
constants.ts fix: Limit List widget nesting to a maximum of 3 levels (#20506) 2023-02-21 09:43:25 +05:30
MetaHOC.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
MetaWidgetContextProvider.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
Skeleton.tsx perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
SkeletonWidget.tsx
useDropdown.tsx feat: [APPSMTH-22] Execute action on widget focus and blur (#18128) 2022-12-12 12:39:22 +05:30
WidgetUtils.test.ts fix: Switch to preview mode performance issue (#18457) 2022-11-27 22:42:00 +05:30
WidgetUtils.ts feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
withLazyRender.tsx chore: Render below the fold widget components when browser is idle using Intersection Observer (#18747) 2023-02-08 16:53:39 +05:30
withWidgetProps.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00