PromucFlow_constructor/app/client/cypress/locators
ashit-rath 32fee08c5c
feat: JSON Form widget (#8472)
* initial layout

* updated parser to support nested array

* array field rendering

* changes

* ts fix

* minor revert FormWidget

* modified schema structure

* select and switch fields

* added checkbox field

* added RadioGroupField

* partial DateField and defaults, typing refactoring

* added label and field type change

* minor ts changes

* changes

* modified widget/utils for nested panelConfig, modified schema to object approach

* array/object label support

* hide field configuration when children not present

* added tooltip

* field visibility option

* disabled state

* upgraded tslib, form initial values

* custom field configuration - add/hide/edit

* field configuration - label change

* return input when field configuration reaches max depth

* minor changes

* form - scroll, fixedfooter, enitity defn and other minior changes

* form title

* unregister on unmount

* fixes

* zero state

* fix field padding

* patched updating form values, removed linting warnings

* configured action buttons

* minor fix

* minor change

* property pane - sort fields in field configuration

* refactor include all properties

* checkbox properties

* date properties

* refactor typings and radio group properties

* switch, multselect, select, array, object properties

* minor changes

* default value

* ts fixes

* checkbox field properties implementation

* date field prop implementation

* switch field

* select field and fix deep nested meta properties

* multiselect implementation

* minor change

* input field implementation

* fix position jump on field type change

* initial accordian

* field state property and auto-complete of JSONFormComputeControl

* merge fixes

* renamed FormBuilder to JSONForm

* source data validation minor change

* custom field default value fix

* Editable keys for custom field

* minor fixes

* replaced useFieldArray with custom logic, added widget icon

* array and object accordian with border/background styling

* minor change

* disabled states for array and objects

* default value minor fix

* form level styles

* modified logic for isDisabled for array and object, added disabledWhenInvalid, exposed isValid to fieldState for text input, removed useDisableChildren

* added isValid for all field types

* fixed reset to default values

* debounce form values update

* minor change

* minor change

* fix crash - source data change multi-select to array, fix crash - change of options

* fix positioning

* detect date type in source data

* fix crash - when object is passed to regex input field

* fixed default sourceData path for fields

* accodion keep children mounted on collapse

* jest test for schemaParser

* widget/helper and useRegisterFieldInvalid test

* tests for property config helper and generatePanelPropertyConfig

* fix input field validation not appearing

* fix date field type detection

* rename data -> formData

* handle null/undefined field value change in sourceData

* added null/undefined as valid values for defaultValue text field

* auto detect email field

* set formData default value on initial load

* switch field inline positioning

* field margin fix for row direction

* select full width

* fiex date field default value - out of range

* fix any field type to array

* array default value logic change

* base cypress test changes

* initial json form render cy test

* key sanitization

* fix fieldState update logic

* required design, object/array background color, accordion changes, fix - add new custom field

* minor change

* cypress tests

* fix date formatted value, field state cypress test

* cypress - field properties test and fixes

* rename test file

* fix accessort change to blank value, cypress tests

* fix array field default value for modified accessor

* minor fix

* added animate loading

* fix empty state, add new custom field

* test data fix

* fix warnings

* fix timePrecision visibility

* button styling

* ported input v2

* fix jest tests

* fix cypress tests

* perf changes

* perf improvement

* added comments

* multiselect changes

* input field perf refactor

* array field, object field refactor performance

* checkbox field refactor

* refectored date, radio, select and switch

* fixes

* test fixes

* fixes

* minor fix

* rename field renderer

* remove tracked fieldRenderer field

* cypress test fixes

* cypress changes

* array default value fixes

* arrayfield passedDefaultValue

* auto enabled JS mode for few properties, reverted swith and date property controls

* cypress changes

* added widget sniping mode and fixed object passedDefaultValue

* multiselect v2

* select v2

* fix jest tests

* test fixes

* field limit

* rename field type dropdown texts

* field type changes fixes

* jest fixes

* loading state submit button

* default source data for new widget

* modify limit message

* multiseelct default value changes and cypress fix

* select default value

* keep default value intact on field type change

* TextTable cypress text fix

* review changes

* fixed footer changes

* collapse styles section by default

* fixed footer changes

* form modes

* custom field key rentention

* fixed footer fix in view mode

* non ascii characters

* fix meta merge in dataTreeWidget

* minor fixes

* rename useRegisterFieldInvalid.ts -> useRegisterFieldValidity.ts

* modified dependency injection into evaluated values

* refactored fixedfooter logic

* minor change

* accessor update

* minor change

* fixes

* QA fixes date field, scroll content

* fix phone number field, removed visiblity option from array item

* fix sourceData autocomplete

* reset logic

* fix multiselect reset

* form values hydration on widget drag

* code review changes

* reverted order of merge dataTreeWidget

* fixes

* added button titles, fixed hydration issue

* default value fixes

* upgraded react hook form, modified array-level/field-level default value logic

* fixed select validation

* added icon entity explorer, modified icon align control

* modify accessor validation for mongo db _id

* update email field regex

* review changes

* explicitly handle empty source data validation
2022-03-24 12:43:25 +05:30
..
AdminsSettings.js test: Automated tests for Promises & related bugs in Typescript + Flaky fixes (#10378) 2022-03-02 16:54:43 +00:00
ApiEditor.js test: Automated tests for Promises & related bugs in Typescript + Flaky fixes (#10378) 2022-03-02 16:54:43 +00:00
apiWidgetslocator.json feat: Revamp deletion flow (#11774) 2022-03-23 05:33:06 +00:00
CMSApplocators.js fix: Added Button Container for the firefox drag issue (#11627) 2022-03-13 22:51:04 +05:30
CommentsLocators.js test: Automated tests for Promises & related bugs in Typescript + Flaky fixes (#10378) 2022-03-02 16:54:43 +00:00
commonlocators.json feat: JSON Form widget (#8472) 2022-03-24 12:43:25 +05:30
DatasourcesEditor.json fix: blank screen in datasource view mode (#12145) 2022-03-23 18:00:38 +05:30
Debugger.json feat: Show contextual search menu for debugger errors (#7078) 2021-09-07 14:45:11 +05:30
DynamicInput.json feat: keyboard accessible multi-select dropdown, action selector and text input (#10622) 2022-02-10 16:42:44 +05:30
EnterpriseAdminSettingsLocators.json refactor: admin settings (#9906) 2022-02-11 23:38:46 +05:30
explorerlocators.json fix: end guided tour on exiting editor (#11084) 2022-03-08 20:25:20 +05:30
FirstTimeUserOnboarding.json test: first time user onboarding cypress tests (#9171) 2021-11-17 20:58:23 +05:30
FormWidgets.json fix: #11315 Added trimming in button variant name (#11390) 2022-03-10 21:39:17 -08:00
GeneratePage.json fix: S3 formData path for bucket name (#12049) 2022-03-22 12:56:42 +01:00
gitSyncLocators.js chore: git sync cypress tests (#10006) 2022-02-25 06:13:16 +00:00
GlobalSearch.json fix: filter menu not opening in snippet search (#10229) 2022-01-10 09:55:05 +05:30
GuidedTour.json feat: improved guided tour (#9125) 2022-01-25 19:26:52 +05:30
HelpLocators.json Fix/help modal fab button toggle issue 1681 (#1692) 2020-11-12 16:56:54 +05:30
HomePage.js feat: 9754 import work flow (#10453) 2022-03-17 15:58:54 +05:30
jsActionLocators.json chore: refactors for supporting git branches (#7695) 2021-10-18 19:33:44 +05:30
JSEditor.json feat: Revamp deletion flow (#11774) 2022-03-23 05:33:06 +00:00
Layout.json fix: Column tile reposition on focus state of Input element inside property pane configuration for Table and Tabs widget (#10046) 2022-02-04 16:29:54 +05:30
LoginPage.json Feature/edit common widgets 2020-03-20 14:21:24 +00:00
ModalWidget.json feat: Validations for Action Forms (#10457) 2022-01-27 15:20:05 +05:30
Omnibar.json test: added tests for omnibar (#12150) 2022-03-24 07:00:38 +00:00
Onboarding.json Onboarding flow (#2311) 2020-12-30 13:01:20 +05:30
Pages.json feat: Revamp deletion flow (#11774) 2022-03-23 05:33:06 +00:00
PgAdminlocators.json feat: Select and Multiselect V2 (#10359) 2022-02-02 06:15:07 -08:00
publishWidgetspage.json feat: JSON Form widget (#8472) 2022-03-24 12:43:25 +05:30
QueryEditor.json test: adding tests for smtp using test-event-driver (#11777) 2022-03-11 21:18:58 +05:30
ReconnectLocators.js feat: 9754 import work flow (#10453) 2022-03-17 15:58:54 +05:30
SignupPage.json feat: Introduce a welcome banner and a form to fill in role, useCase for new user (#8312) 2021-10-21 11:06:17 +05:30
TemplatesLocators.json feat: Application templates (#10964) 2022-03-03 16:26:53 +05:30
ViewWidgets.json feat: Map Chart widget (#6929) 2022-01-07 17:57:45 +08:00
welcomePage.json chore: Super user signup form cypress tests (#8665) 2021-10-29 14:40:30 +05:30
Widgets.json feat: JSON Form widget (#8472) 2022-03-24 12:43:25 +05:30