PromucFlow_constructor/app/client/src/utils
balajisoundar 2608e3dbd3
chore: Move the widget config to widget class (#26073)
## Description
- Remove the config objects from widget and config maps from the widget
factory.
- Introduce methods in widget development API to dynamically fetch this
items.
- freeze the widget configuration.

#### PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith/issues/26008
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [x] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [x] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-09-06 17:45:04 +05:30
..
autocomplete chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
autoHeight
autoLayout chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
CallbackHandler
DSLConversions chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
editor chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
FilterInternalProperties chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
formControl fix: Update connection mode DropDown by Segmented Control (#23730) 2023-05-29 16:45:52 +05:30
hooks chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
migrations chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
NavigationSelector feat: Showing suggested prompts in the Ai window based on the entities available in the app (#26670) 2023-09-01 12:11:47 +05:30
ProductRamps chore: added query params for ramps on admin settings page (#26539) 2023-08-22 11:59:29 +05:30
validation feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
AnalyticsUtil.tsx feat: Email Verification (#25854) 2023-08-26 09:52:23 +05:30
ApiPaneUtils.test.ts
ApiPaneUtils.tsx fix: Improve evaluated url experience (#24301) 2023-06-13 15:49:46 +01:00
AppsmithConsole.ts
AppsmithUtils.test.ts chore: Address misc one click binding feedbacks (#24735) 2023-06-29 19:23:25 +05:30
AppsmithUtils.tsx chore: Address misc one click binding feedbacks (#24735) 2023-06-29 19:23:25 +05:30
AppUtils.ts
bootIntercom.ts fix: send empty license key to intercom for CE (#23149) 2023-05-15 16:48:34 +05:30
boxHelpers.test.ts
boxHelpers.ts
BrandingUtils.ts fix: get complete tenant config on update (#26596) 2023-08-24 10:30:08 +05:30
canvasStructureHelpers.test.ts
canvasStructureHelpers.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
configTree.ts fix: Prevent evalTree and configTree from being undefined (#23374) 2023-05-22 07:17:23 +01:00
DatasourceSagaUtils.tsx
dayJsUtils.ts
DSLMigration.test.ts feat: ECharts Phase 2 - Custom ECharts (#25980) 2023-08-30 14:28:26 +05:30
DSLMigrations.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
DSLMigrationsUtils.test.ts
DynamicBindingUtils.test.ts
DynamicBindingUtils.ts fix: Add default value for formData datasource (#26758) 2023-08-31 08:33:39 +01:00
editorContextUtils.ts fix: gsheet misleading error banner issues fixed (#25969) 2023-08-07 16:25:55 +05:30
formhelpers.test.ts
formhelpers.ts
GenerateCrudUtil.ts
generators.tsx
getCodeMirrorNamespace.ts feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
getPathAndValueFromActionDiffObject.ts
getQueryParamsObject.ts
helpers.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
helpers.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
history.ts chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00
importUppy.ts perf: reduce the bundle size, vol. 2 (#24969) 2023-07-17 00:19:41 +05:30
JSPaneUtils.test.ts feat: Remove async/sync differentiation from Appsmith (#25399) 2023-08-05 06:38:53 +01:00
JSPaneUtils.tsx feat: Remove async/sync differentiation from Appsmith (#25399) 2023-08-05 06:38:53 +01:00
klona.test.ts
layoutPropertiesUtils.ts feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
lazyLottie.ts feat: signposting update (#24389) 2023-06-22 18:35:01 +05:30
localStorage.test.ts
localStorage.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MessageUtil.ts
metaWidgetState.ts
PerformanceTracker.ts
PropertyControlFactory.tsx chore: [one click binding] allow switching between js mode and non js mode on property control (#24355) 2023-06-16 14:46:56 +05:30
PropertyControlRegistry.tsx chore: [one click binding] allow switching between js mode and non js mode on property control (#24355) 2023-06-16 14:46:56 +05:30
ReducerUtils.ts
reflowHookUtils.ts
replayHelpers.test.js
replayHelpers.tsx feat: debugger api pane navigation (#25771) 2023-08-10 19:25:06 +05:30
resizeObserver.ts fix: CodeEditor issues on resizing (#26082) 2023-08-23 11:25:19 +05:30
storage.ts feat: Showing suggested prompts in the Ai window based on the entities available in the app (#26670) 2023-09-01 12:11:47 +05:30
SuccessfulBindingsMap.ts
testDSLs.ts feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
testPropertyPaneConfig.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
treeUtils.ts
TypeHelpers.ts
URLUtils.ts
UseComposeRef.ts
WidgetBlueprintUtils.ts
widgetEvalUtils.ts
WidgetFeatures.test.ts
WidgetFeatures.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetLoadingStateUtils.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetLoadingStateUtils.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetMigrationUtils.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetMigrationUtils.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetPropsUtils.test.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetPropsUtils.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetQueryGeneratorRegistry.test.ts
WidgetQueryGeneratorRegistry.ts feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
widgetRenderUtils.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
widgetRenderUtils.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetSizeUtils.test.ts
WidgetSizeUtils.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WorkerUtil.test.ts Add web api types 2023-06-14 17:29:15 +05:30
WorkerUtil.ts feat: widget property setters (#23441) 2023-07-08 19:37:26 +05:30