PromucFlow_constructor/app/client/src/utils
Arpit Mohan 286864eb3d
feat: Support body in GET API requests (#7127)
* WIP

* Refactoring HTTP Method & Content Type to be objects instead of arrays

TODO:
1. Set the default content-type for Get request to "None". Currently, it's raw
2. For None content-type, don't send the body field in the API request

* Almost working implementation for the None type

Currently, the body still gets sent in non-GET requests even if the None tab is selected.

* Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM

* WIP: Using enum & const for ts autocomplete

* working implementation for NONE type, apiContentType prop added to API actions

* WIP

* Refactoring HTTP Method & Content Type to be objects instead of arrays

TODO:
1. Set the default content-type for Get request to "None". Currently, it's raw
2. For None content-type, don't send the body field in the API request

* Almost working implementation for the None type

Currently, the body still gets sent in non-GET requests even if the None tab is selected.

* Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM

* WIP: Using enum & const for ts autocomplete

* working implementation for NONE type, apiContentType prop added to API actions

* adds apiContentType to actionConfiguration.formData object

* Handling apiContentType property in Rest API formData

* change apiContentType when user types content-type value and switches http method

* makes api editor as similar as possible to postman, project postman.

* Correcting the import in ApiEditorConstants

* Resolved all merge conflicts

* replay DSL functtionality

* removes unneccessary files from worker

* Fixes type declarations, naming e.t.c.

* fix server side merge conflicts

* fix client side merge conflicts

* fix failing cypress tests

Co-authored-by: Irongade <adeoluayangade@yahoo.com>
Co-authored-by: Ayangade Adeoluwa <37867493+Irongade@users.noreply.github.com>
2022-02-15 11:13:48 +00:00
..
autocomplete feat: Select and Multiselect V2 (#10359) 2022-02-02 06:15:07 -08:00
hooks fix: added missed analytic events for git sync (#10953) 2022-02-08 21:46:16 +05:30
migrations feat: Provide option in phone input widget to turn off auto formatting (#10832) 2022-02-11 15:39:38 +05:30
validation refactor: admin settings (#9906) 2022-02-11 23:38:46 +05:30
AnalyticsUtil.tsx fix: added missed analytic events for git sync (#10953) 2022-02-08 21:46:16 +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 refactor: admin settings (#9906) 2022-02-11 23:38:46 +05:30
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: Provide option in phone input widget to turn off auto formatting (#10832) 2022-02-11 15:39:38 +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 fix: Add meta to eval cycle and update it when default changes (#10401) 2022-01-28 16:40:05 +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 feat: 5705 entity selector component (#10400) 2022-01-18 07:10:58 +00: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
helpers.test.ts fix: added sentry exception for invalid DynamicBindingListPath (#10790) 2022-02-03 11:22:14 +05:30
helpers.tsx fix: added sentry exception for invalid DynamicBindingListPath (#10790) 2022-02-03 11:22:14 +05:30
history.ts
JSPaneUtils.tsx feat: Adds code hint for JS promises in JS Object editor (#10570) 2022-01-25 19:34:10 +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
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 refactor: admin settings (#9906) 2022-02-11 23:38:46 +05:30
storage.ts feat: improved guided tour (#9125) 2022-01-25 19:26:52 +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
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