PromucFlow_constructor/app/client/src/utils
Apeksha Bhosale 79e165af96
feat: Settings js editor (#9984)
* POC

* Closing channels

* WIP

* v1

* get working with JS editor

* autocomplete

* added comments

* try removing an import

* different way of import

* dependency map added to body

* triggers can be part of js editor functions hence

* removed unwanted lines

* new flow chnages

* Resolve conflicts

* small css changes for empty state

* Fix prettier

* Fixes

* flow changes part 2

* Mock web worker for testing

* Throw errors during evaluation

* Action execution should be non blocking on the main thread to evaluation of further actions

* WIP

* Fix build issue

* Fix warnings

* Rename

* Refactor and add tests for worker util

* Fix response flow post refactor

* added settings icon for js editor

* WIP

* WIP

* WIP

* Tests for promises

* settings for each function of js object added

* Error handling

* Error handing action validation

* Update test

* Passing callback data in the eval trigger flow

* log triggers to be executed

* WIP

* confirm before execution

* Remove debugging

* Fix backwards compatibility

* Avoid passing trigger meta around

* fix button loading

* handle error callbacks

* fix tests

* tests

* fix console error when checking for async

* Fix async function check

* Fix async function check again

* fix bad commit

* Add some comments

* added clientSideExecution flag for js functions

* css changes for settings icon

* unsued code removed

* on page load PART 1

* onPageLoad rest iof changes

* corrected async badge

* removed duplicate test cases

* added confirm modal for js functions

* removed unused code

* small chnage

* dependency was not getting created

* Fix confirmation modal

* unused code removed

* replaced new confirmsaga

* confirmaton box changes

* Fixing JSEditor Run butn locator

* corrected property

* dependency map was failing

* changed key for confirmation box

Co-authored-by: hetunandu <hetu@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-03-17 17:35:17 +05:30
..
autocomplete fix audio widget autocompletion (#11667) 2022-03-08 16:30:59 +01:00
hooks use clientWidth instead of getBoundingClientRect 2022-02-21 22:11:50 +05:30
migrations feat: changed icon widget to icon btn for modal widget (#11508) 2022-03-11 23:58:17 +05:30
validation refactor: admin settings (#9906) 2022-02-11 23:38:46 +05:30
AnalyticsUtil.tsx feat: 9754 import work flow (#10453) 2022-03-17 15:58:54 +05:30
ApiPaneUtils.test.ts Bug/api editor datasources (#4780) 2021-06-03 10:28:18 +05:30
ApiPaneUtils.tsx feat: Support body in GET API requests (#7127) 2022-02-15 11:13:48 +00:00
AppsmithConsole.ts feat: show lint errors in code editor (#6265) 2021-08-26 10:15:17 +05:30
AppsmithUtils.test.ts feat: Switch Group widget (#7590) 2021-12-09 20:02:47 +08:00
AppsmithUtils.tsx feat: 9754 import work flow (#10453) 2022-03-17 15:58:54 +05:30
bootIntercom.ts chore: git sync cypress tests (#10006) 2022-02-25 06:13:16 +00:00
canvasStructureHelpers.test.ts Introduce different evaluation types for different binding fields (#3834) 2021-04-26 11:11:32 +05:30
canvasStructureHelpers.ts refactor: Widget Development API (#6405) 2021-09-09 20:40:22 +05:30
DSLMigrations.ts feat: changed icon widget to icon btn for modal widget (#11508) 2022-03-11 23:58:17 +05:30
DSLMigrationsUtils.test.ts fix: table column name migration update (#10383) 2022-01-25 13:54:13 +00:00
DynamicBindingUtils.test.ts fix: correctly update dynamic binding pathlist (#8981) 2021-11-16 10:38:43 +01:00
DynamicBindingUtils.ts feat: Settings js editor (#9984) 2022-03-17 17:35:17 +05:30
EditorUtils.ts refactor: Widget Development API (#6405) 2021-09-09 20:40:22 +05:30
featureFlags.ts Use feature flag api to enable/disable comments (#6322) 2021-08-05 11:40:19 +05:30
FormControlFactory.tsx feat: JSON view for query & datasource form components (#7534) 2021-09-17 12:14:04 +00:00
FormControlRegistry.tsx fix: Drop down multiselect usage fixes for query forms (#11465) 2022-03-03 16:42:02 +01:00
formhelpers.test.ts Make prettier changes (#2337) 2020-12-24 10:02:25 +05:30
formhelpers.ts Improvement: Add limit on password length in user signup (#6312) 2021-08-04 15:33:33 +06:00
GenerateCrudUtil.ts [Feature] Generate template page from datasource (#5513) 2021-07-29 13:43:10 +05:30
generators.tsx [Feature] Widget grouping - Allow Drag and Drop of multiple widgets. (#5389) 2021-08-12 11:15:38 +05:30
getPathAndValueFromActionDiffObject.ts fix: fixing missing where key (#9215) 2021-11-25 18:48:40 +05:30
getQueryParamsObject.ts chore: git sync cypress tests (#10006) 2022-02-25 06:13:16 +00:00
helpers.test.ts fix: added sentry exception for invalid DynamicBindingListPath (#10790) 2022-02-03 11:22:14 +05:30
helpers.tsx Fixed incorrect shortcut text for "create new" in omnibar and removed "+" character from all shortcuts for mac (#11753) 2022-03-14 03:24:53 +00:00
history.ts chore: Replace require with import statements (#8121) 2022-02-28 14:53:19 +05:30
JSPaneUtils.tsx feat: Settings js editor (#9984) 2022-03-17 17:35:17 +05:30
localStorage.test.ts Check if localstorage is supported (#3974) 2021-04-26 14:48:39 +05:30
localStorage.tsx refactor: admin settings (#9906) 2022-02-11 23:38:46 +05:30
PerformanceTracker.ts refactor: code splitting to support third party sso/oidc in EE (#10201) 2022-01-07 11:38:17 +05:30
PropertyControlFactory.tsx Show JS eval errors in evaluated value pane and debugger (#4463) 2021-05-26 18:02:43 +05:30
PropertyControlRegistry.tsx DRY property control creation. Generate ids for property pane config on the client. Add Multi switch control. Add Icon Widget (WIP). Enable blueprint based actions. 2020-04-14 05:35:16 +00:00
reflowHookUtils.ts feat: Reflow and Resize while Dragging and Resizing widgets. (#9054) 2022-01-13 18:51:57 +05:30
replayHelpers.test.js chore: Removing re-declared variables (#8050) 2021-10-14 09:47:26 +05:30
replayHelpers.tsx Fixed incorrect shortcut text for "create new" in omnibar and removed "+" character from all shortcuts for mac (#11753) 2022-03-14 03:24:53 +00:00
storage.ts feat: Application templates (#10964) 2022-03-03 16:26:53 +05:30
testPropertyPaneConfig.test.ts fix: Fixing GRID_DENSITY_MIGRATION_V1 based configs and adding test cases. (#10488) 2022-01-21 15:49:10 +05:30
treeUtils.ts Make prettier changes (#2337) 2020-12-24 10:02:25 +05:30
TypeHelpers.ts Filepicker v2 - Don't store large files in the dataStore (#6692) 2021-08-24 09:08:57 +05:30
WidgetFactory.tsx fix: Add meta to eval cycle and update it when default changes (#10401) 2022-01-28 16:40:05 +05:30
WidgetLoadingStateUtils.test.ts fix: unrelated widgets in loading state (#11370) 2022-03-08 13:56:03 +00:00
WidgetLoadingStateUtils.ts fix: unrelated widgets in loading state (#11370) 2022-03-08 13:56:03 +00:00
WidgetPropsUtils.test.tsx feat: Select and Multiselect V2 (#10359) 2022-02-02 06:15:07 -08:00
WidgetPropsUtils.tsx feat: Sliding Canvas for Dragging and Selection (#9983) 2022-01-25 20:58:31 +05:30
WidgetRegisterHelpers.tsx fix: copy paste new widget key generation (#7464) 2021-09-15 19:34:27 +05:30
WidgetRegistry.tsx chore: Extend the list of widgets that cannot be used inside the List… (#10928) 2022-02-09 12:45:10 +05:30
WorkerUtil.test.ts feat: Native promises support in Appsmith (#8988) 2021-12-23 14:17:20 +00:00
WorkerUtil.ts feat: Native promises support in Appsmith (#8988) 2021-12-23 14:17:20 +00:00