PromucFlow_constructor/app/client/src/components
Ayush Pahwa 6509fbc099
feat: Switch to JSON view functionality for form components (#11786)
* Update: Added flag check for evals

- Only running init form evals if the form is of new UQI config

* Create: Separated Form config logic

- Created a new file to render the form configs of any form component

* Update: Enum and getter for view types

- Added enum for view types
- Added a function to extract the view type of current component

* Update: Handling initial values of form

- Added checks and updated the default data tree for the components of UQI forms
- This is to allow to switch these components to the new data type

* Update: updated type of control data

- Added viewTypes to the type of form component's control data

* Create: Function to change viewType

- Added function that will check the current data and switch to the new view type

* Update FormControl.tsx

- Split the logic of form config to a new file
- Updated the memo component to a function so custom config can be passed in it
- Added conditional check for the final component

* Create: wrapper component to switch view

- Component added to change between GUI and JSON view types

* Update: Variable name for alternate view types

- Changed variable name for alternate view types from viewTypes to alternateViewTypes

* Update: Added checks to init section

- Added a check for the required values in where clause component

* Update: Usage of useMemo hook

- Moved the useMemo hook to the top so it is not called conditionally

* Update ToggleComponentToJson.tsx

- Moved toggled input text view as a constant variable

* Update utils.ts

- Moved toggled input text view as a constant variable

* Update actionProperties.ts

- Added switched view type input text to binding path list

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-03-21 11:21:50 +05:30
..
ads feat: 9754 import work flow (#10453) 2022-03-17 15:58:54 +05:30
designSystems/appsmith fix: handle Centered component height (#11825) 2022-03-17 10:17:17 +05:30
editorComponents feat: Switch to JSON view functionality for form components (#11786) 2022-03-21 11:21:50 +05:30
formControls feat: Switch to JSON view functionality for form components (#11786) 2022-03-21 11:21:50 +05:30
propertyControls fix: Icon Selector width on propety pane resize (#11736) 2022-03-16 14:26:40 +00:00
utils feat: Settings js editor (#9984) 2022-03-17 17:35:17 +05:30
constants.ts fix: change recaptcha key and type and add suggestion for recaptchaToken (#9464) 2022-01-02 08:27:39 -08:00
TabItemBackgroundFill.tsx Refactor tabs to accept tab item component and create a new variant (#6597) 2021-08-17 13:22:05 +05:30