Commit Graph

39 Commits

Author SHA1 Message Date
Hetu Nandu
4d73e7e0b3
Widget validation for nested property paths (#3947) 2021-04-21 20:04:25 +05:30
Hetu Nandu
363bee8ec9
Fix action field evaluation for editor (#3701) 2021-03-30 10:59:03 +05:30
Hetu Nandu
c2646a8863
Use property config for trigger properties (#3217)
* Use triggerPaths and remove isDynamicTrigger argument

* Remove triggerMaps from widgets

* Fix property updates
2021-02-25 19:30:02 +05:30
Piyush Mishra
a4fe0a461e
Table Widget New Features (#2816)
- Each column has more options and can be configured in the property pane instead of the table
- Table level styles can now be set in the property pane
- Property sections are collapsible

Co-authored-by: vicky-primathon.in <vicky.bansal@primathon.in>
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
Co-authored-by: hetunandu <hetu@appsmith.com>
2021-02-16 15:59:08 +05:30
Pawan Kumar
7a7fb4547f
Fix: isRequired validation of checkbox widget (#1884)
* fix checkbox required issue

* add test case

* update error styling for checkbox

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-11-26 16:51:23 +05:30
Hetu Nandu
655b160922
Web worker evaluation (#706)
- Adds Web workers and does evaluations in off the main thread
- Removes any need to store functions in the data tree and only keeps them around while evaluating
- Maintains a stored data tree in the redux state
- Evaluates based on editor events instead of state changes
2020-10-21 09:55:32 +05:30
satbir121
8bf80fe507
Google Recaptcha integration for button and form button widgets. (#1118)
* Adding base code for google re-captcha.

* Removing recaptcha as well

* Adding recaptchaToken on Button.

* Fixing updateMetaProperty errors.

* Handling recaptcha generation failed case.

* Adding a message for recaptcha token gen fail

* Rename setRecaptchaToken

* Adding loading state for recaptcha button

* Adding googleRecaptchaKey as a Btn prop

* Adding the bound functions in widgets

* Removing unused vars.

* Handling google recaptcha key error.

* Adding proper messages for
2020-10-12 18:31:19 +05:30
Nikhil Nandagopal
0b22fc67b3
Updated sentry sdk (#461)
Integrated react router for better performance reporting
Added Sentry Profiler for editor, appviewer and widgets

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-28 22:53:07 +05:30
vicky-primathon
1e67ea21c0
Widget on error action binding (#22)
Changes to fix the the UI/functionality breaking in widget action selectors when the onError action is configured first for an api or a query type action. Remove validation widget action selectors.
2020-07-06 13:46:42 +05:30
Hetu Nandu
0beb6bc5ca Batched redux update 2020-04-13 08:24:13 +00:00
Satbir Singh
8c402a13cc Adding missing validation to widgets 2020-04-02 13:23:03 +05:30
Abhinav Jha
a0872b97f2 Generate widgets from blueprint. Close previously open modals when showing a modal. Fix unicode page name issue in pagelist sidebar 2020-03-27 09:02:11 +00:00
Hetu Nandu
855b49caee Fix js toggle issues 2020-03-16 07:59:07 +00:00
Hetu Nandu
d9dee9b16d Form Widget 2020-03-06 09:45:21 +00:00
Hetu Nandu
fb80c4b576 Action refactor 2020-02-18 10:41:52 +00:00
Satbir Singh
33b2db0349 All widgets loading. 2019-12-03 04:41:10 +00:00
Hetu Nandu
fbb7742f0e moved to absolute paths for all fiels 2019-11-25 10:37:27 +05:30
Hetu Nandu
a2b275bade Validation parse widget property 2019-11-22 13:12:39 +00:00
Abhinav Jha
03e78f0751 WIP: Allow absolute paths for imports. Refactor ContainerComponent.tsx to PositionedContainer.tsx, CanvasWidgetContainer.tsx, ContainerComponent.tsx. Refactor all widgets and components to adhere to new props and apis. 2019-11-13 07:00:25 +00:00
Nikhil Nandagopal
3e9f278b95 Release 2019-11-05 05:09:50 +00:00
Nikhil Nandagopal
9d659ddff0 Feature/dropdown 2019-10-31 05:28:11 +00:00
Nikhil Nandagopal
72a02bd3d4 Feature/components 2019-10-30 10:23:20 +00:00
Abhinav Jha
99ce65c756 Property Pane Controls
- Fixes #121, #122, #123, #124, #90, #46, #65, #100, #101, #68, #102
2019-10-24 05:24:45 +00:00
Hetu Nandu
e0348cc1f3 API form 2019-10-21 15:12:45 +00:00
Abhinav Jha
58c0c647bf Move WidgetFunctions to Context Provider 2019-10-03 21:54:29 +05:30
Abhinav Jha
91fd8ff17e Propagate WidgetConfigs to new widget. Use theme spaces everywhere. 2019-10-02 23:43:04 +05:30
Nikhil Nandagopal
5f6aeb55f8 added new control types
removed alert from widget list
added property config values
added input validator
2019-09-19 16:59:24 +05:30
Nikhil Nandagopal
751ea339d1 added transformation for requests
wired button onclick to execute action saga
split widget props into widget data and widget functions
2019-09-17 15:41:50 +05:30
Nikhil Nandagopal
1baff6d93c Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/actions
# Conflicts:
#	package.json
#	src/actions/pageActions.tsx
#	src/actions/widgetCardsPaneActions.tsx
#	src/api/Api.tsx
#	src/api/ApiRequests.tsx
#	src/api/ApiResponses.tsx
#	src/api/WidgetCardsPaneApi.tsx
#	src/constants/ActionConstants.tsx
#	src/constants/ApiConstants.tsx
#	src/normalizers/CanvasWidgetsNormalizer.tsx
#	src/reducers/entityReducers/canvasWidgetsReducer.tsx
#	src/reducers/entityReducers/index.tsx
#	src/reducers/entityReducers/widgetConfigReducer.tsx.tsx
#	src/reducers/index.tsx
#	src/reducers/uiReducers/canvasReducer.tsx
#	src/reducers/uiReducers/editorReducer.tsx
#	src/reducers/uiReducers/widgetCardsPaneReducer.tsx
#	src/sagas/PageSagas.tsx
#	src/sagas/WidgetCardsPaneSagas.tsx
#	src/sagas/index.tsx
#	src/utils/AppsmithUtils.tsx
#	src/widgets/AlertWidget.tsx
#	src/widgets/ButtonWidget.tsx
#	src/widgets/CheckboxWidget.tsx
#	src/widgets/DatePickerWidget.tsx
#	src/widgets/DropdownWidget.tsx
#	src/widgets/RadioGroupWidget.tsx
#	src/widgets/TableWidget.tsx
2019-09-13 17:29:45 +05:30
Nikhil Nandagopal
29cf9bb450 Merge branch 'release' into feature/basic-styling
# Conflicts:
#	src/constants/ActionConstants.tsx
#	src/constants/WidgetConstants.tsx
#	src/editorComponents/CheckboxComponent.tsx
#	src/editorComponents/RadioGroupComponent.tsx
#	src/mockResponses/WidgetCardsPaneResponse.tsx
#	src/pages/Editor/Canvas.tsx
#	src/pages/Editor/EditorDragLayer.tsx
#	src/reducers/entityReducers/index.tsx
#	src/reducers/index.tsx
#	src/utils/WidgetRegistry.tsx
#	src/widgets/BaseWidget.tsx
#	src/widgets/BreadcrumbsWidget.tsx
#	src/widgets/ButtonWidget.tsx
#	src/widgets/CalloutWidget.tsx
#	src/widgets/CheckboxWidget.tsx
#	src/widgets/IconWidget.tsx
#	src/widgets/InputGroupWidget.tsx
#	src/widgets/NumericInputWidget.tsx
#	src/widgets/RadioGroupWidget.tsx
#	src/widgets/TagInputWidget.tsx
#	src/widgets/TextWidget.tsx
2019-09-13 16:15:49 +05:30
Nikhil Nandagopal
6bd89d65a1 added action events to widgets 2019-09-12 17:49:46 +05:30
Nikhil Nandagopal
be5c516db8 added json path
added action interfaces
2019-09-12 16:49:38 +05:30
Nikhil Nandagopal
cd1b088568 added widget config reducer 2019-09-12 13:41:25 +05:30
Abhinav Jha
b9718bdaec WIP: Fix eslint errors 2019-09-09 14:38:54 +05:30
Abhinav Jha
babc8fcfcd Linting, fixes, dragpreview fix 2019-08-29 16:52:09 +05:30
Abhinav Jha
02af80d3dc Implement Drag and Drop of components 2019-08-26 18:11:21 +05:30
Nikhil Nandgopal
da5f47437b abstracted styles into base widget 2019-03-19 19:35:48 +05:30
Nikhil Nandgopal
3d7b7cef32 created seperate render modes for widgets
added widget pane
2019-03-18 20:40:30 +05:30
Nikhil Nandgopal
2ad53929ad added button widget 2019-03-18 19:20:24 +05:30