PromucFlow_constructor/app/client/src/widgets
arunvjn f62816a9d5
fix: Validation issue in select widget on page reload (#28277)
## Description
Fixes the regression in select widget validation caused by
https://github.com/appsmithorg/appsmith/issues/27408
This PR remove most of the re-validation related logic written in
evaluations code base. Going forward we'll maintain an internal
dependencyMap for widgets. This can help avoid IIFE hacks to introduce
dependency between fields.

###### Changes
- Removes the concept of dependentPaths in validation config.
- Remove validationDependencyMap from eval code base.
- Added internal dependency map to base widget.
- Added dependency map config for select, multi-select & Tabs widget.

#### PR fixes following issue(s)
Fixes #28368 
Fixes #28224

#### Type of change
- Bug fix (non-breaking change which fixes an issue)
>
>
## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [ ] JUnit
- [x] Jest
- [x] 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
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [x] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [x] 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
- [x] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [x] Cypress test cases have been added and approved by SDET/manual QA
- [x] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-10-27 18:18:42 +05:30
..
AudioRecorderWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
AudioWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
BaseInputWidget chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
BaseWidgetHOC chore: Layout system wise restructuring of Canvas Widget (#27496) 2023-10-04 17:23:29 +05:30
ButtonGroupWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
ButtonWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
CameraWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
CategorySliderWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
ChartWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
CheckboxGroupWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
CheckboxWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
CircularProgressWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CodeScannerWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
components chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
ContainerWidget chore: add mousemove listener to konva and bug fixes. (#28381) 2023-10-27 11:54:26 +05:30
CurrencyInputWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
DatePickerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DatePickerWidget2 chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
DividerWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
DocumentViewerWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
DropdownWidget chore: Remove position props from widgets (#26781) 2023-09-13 19:27:42 +05:30
FilepickerWidget chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
FilePickerWidgetV2 chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
FormButtonWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
FormWidget chore: CE changes for module input autocomplete (#28221) 2023-10-20 17:02:24 +05:30
IconButtonWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
IconWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
IframeWidget fix: Feature/iframe dynamic visibility (2nd attempt) (#28397) 2023-10-27 17:05:12 +05:30
ImageWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
InputWidget chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
InputWidgetV2 chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
JSONFormWidget fix: Validation issue in select widget on page reload (#28277) 2023-10-27 18:18:42 +05:30
ListWidget chore: CE changes for module input autocomplete (#28221) 2023-10-20 17:02:24 +05:30
ListWidgetV2 fix: Check for parent widget existence to render drop target (#28275) 2023-10-23 16:41:40 +05:30
MapChartWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
MapWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
MenuButtonWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
ModalWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
MultiSelectTreeWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
MultiSelectWidget chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
MultiSelectWidgetV2 fix: Validation issue in select widget on page reload (#28277) 2023-10-27 18:18:42 +05:30
NumberSliderWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
PhoneInputWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
ProgressBarWidget chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
ProgressWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
QRGeneratorWidget chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
RadioGroupWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
RangeSliderWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
RateWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
RichTextEditorWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
SelectWidget fix: Validation issue in select widget on page reload (#28277) 2023-10-27 18:18:42 +05:30
SingleSelectTreeWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
StatboxWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
SwitchGroupWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
SwitchWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
TableWidget chore: CE changes for module input autocomplete (#28221) 2023-10-20 17:02:24 +05:30
TableWidgetV2 chore: CE changes for module input autocomplete (#28221) 2023-10-20 17:02:24 +05:30
TabsMigrator chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
TabsWidget fix: Validation issue in select widget on page reload (#28277) 2023-10-27 18:18:42 +05:30
TextWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
VideoWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
wds fix: Hacky fixes to make table work in Anvil Safari (#28417) 2023-10-27 14:33:42 +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 fix: Validation issue in select widget on page reload (#28277) 2023-10-27 18:18:42 +05:30
CanvasWidget.tsx chore: Layout system wise restructuring of Canvas Widget (#27496) 2023-10-04 17:23:29 +05:30
ConnectDataOverlay.tsx chore: skip signposting discovery test (#27892) 2023-10-17 17:32:05 +05:30
index.ts feat: WDS icon button widget integration (#27928) 2023-10-23 21:51:20 +05:30
MetaHOC.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
MetaWidgetContextProvider.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
Skeleton.tsx perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
SkeletonWidget.tsx chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
useDropdown.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
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 fix: auto label position (#28022) 2023-10-13 12:08:01 +03:00
WidgetUtils.ts fix: auto label position (#28022) 2023-10-13 12:08:01 +03:00
withLazyRender.tsx chore: Remove lazy canvas rendering feature flag - LAZY_CANVAS_RENDERING (#22354) 2023-05-10 17:36:30 +05:30
withWidgetProps.tsx chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00