PromucFlow_constructor/app/client/src/widgets
Rajat Agrawal 6e9e974cac
chore: Pass errors to widgets (#24760)
Fixes #24663

**Summary**

Widget should have access to evaluation errors because that allows it to
make a decision on how to handle errors in property pane and give users
a more visual cue to take a corrective action for fixing errors in the
property pane.

The current pop up isn't too conspicuous to notice and also doesn't
appear when the user deselects the property pane and reselects it.

**Why should this be worked on?**

This aligns with Widget Development API. Accessing the evaluation errors
from evaluations isn't recommended because it is an internal property.
An internal property is not advisable to be used given our roadmap for
community widgets.
Showing default data instead may not be the right way to handle errors
in every use case.
Loom Video describing the requirement :
https://www.loom.com/share/04c228b06bb34b97894e345b46cf0abe?sid=f855ac90-74fa-4ee3-b882-ec70b1b2d9bf
2023-07-06 17:15:15 +05:30
..
AudioRecorderWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
AudioWidget chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
BaseInputWidget chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
ButtonGroupWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
ButtonWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
CameraWidget fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
CategorySliderWidget fix: Fix crash on passing invalid mark option to category slider widget (#23619) 2023-05-23 13:50:09 +05:30
ChartWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
CheckboxGroupWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
CheckboxWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
CircularProgressWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
CodeScannerWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
components feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ContainerWidget fix: casing changes (#23515) 2023-06-09 14:22:27 +05:30
CurrencyInputWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
DatePickerWidget chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
DatePickerWidget2 feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
DividerWidget fix: Remove Auto layout feature flag dependency. (#24947) 2023-07-03 12:03:27 +05:30
DocumentViewerWidget fix: Add support for xls,json,tsv file types in file widget (#23159) 2023-06-06 08:53:45 +05:30
DropdownWidget fix: Remove Auto layout feature flag dependency. (#24947) 2023-07-03 12:03:27 +05:30
FilepickerWidget chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
FilePickerWidgetV2 refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
FormButtonWidget fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
FormWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
IconButtonWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
IconWidget chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
IframeWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ImageWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
InputWidget fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
InputWidgetV2 fix: Removed inputText from Input widget autocomplete (#24396) 2023-06-14 16:20:41 +05:30
JSONFormWidget fix: change to lodash wrapper (#24610) 2023-06-19 22:35:32 +05:30
ListWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ListWidgetV2 fix: casing changes (#23515) 2023-06-09 14:22:27 +05:30
MapChartWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MapWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MenuButtonWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
ModalWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MultiSelectTreeWidget test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
MultiSelectWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MultiSelectWidgetV2 feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
NumberSliderWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
PhoneInputWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ProgressBarWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ProgressWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
QRGeneratorWidget chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
RadioGroupWidget fix: Radio Group options are aligned with the label (#24776) 2023-06-23 18:23:13 +05:30
RangeSliderWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
RateWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
RichTextEditorWidget fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
SelectWidget fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
SingleSelectTreeWidget test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
StatboxWidget test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
SwitchGroupWidget fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
SwitchWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
TableWidget fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
TableWidgetV2 chore: Address misc one click binding feedbacks (#24735) 2023-06-29 19:23:25 +05:30
TabsMigrator chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
TabsWidget fix: increase tab max-width to handle bigger text (#24797) 2023-06-28 15:35:20 +05:30
TextWidget refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30
VideoWidget feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +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: Pass errors to widgets (#24760) 2023-07-06 17:15:15 +05:30
CanvasResizer.tsx fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
CanvasWidget.tsx chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
constants.ts fix: casing changes (#23515) 2023-06-09 14:22:27 +05:30
MetaHOC.tsx fix: Remove console log on MetaWidgetUpdate (#22836) 2023-04-28 17:45:40 +05:30
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: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +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
WidgetUtils.test.ts [Community Contribution] fix: clean implementation of isAutoHeightEnabledForWidget (#21738) 2023-04-03 11:41:10 +05:30
WidgetUtils.ts fix: Remove excess padding on right side and fix widget drop in nested containers (#22533) 2023-04-26 13:39:11 -04:00
withLazyRender.tsx chore: Remove lazy canvas rendering feature flag - LAZY_CANVAS_RENDERING (#22354) 2023-05-10 17:36:30 +05:30
withWidgetProps.tsx refactor: Refactor Auto Layout min/max dimension for widgets (#24627) 2023-07-04 19:42:00 +05:30