PromucFlow_constructor/app/client/src/utils
Rahul Barwal 12ac67a373
fix: Icons not coming up in start with template flow. (#29857)
## Description
This PR registers the editor widgets in the TemplateView component by
calling the `registeEditorWidgets` function from `EditorUtils`. This
ensures that the necessary widgets(&icons) are available for use in the
start with template flow.

#### PR fixes following issue(s)
Fixes # (issue number)
> 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
- [ ] Manual
- [ ] JUnit
- [ ] 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
- [ ] 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
- [ ] 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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Improved the initialization process of the editor for enhanced
performance and reliability.

- **New Features**
- Integrated new widgets into the editor to expand functionality for
users.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-26 14:49:08 +05:30
..
autocomplete chore: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +05:30
autoHeight chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
CallbackHandler
editor fix: Icons not coming up in start with template flow. (#29857) 2023-12-26 14:49:08 +05:30
FilterInternalProperties chore: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +05:30
formControl
hooks chore: Add an extra feature flag to control App sidebar rollout (#28876) 2023-11-15 16:49:41 +05:30
migrations feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
NavigationSelector chore: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +05:30
ProductRamps chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
validation
AnalyticsUtil.tsx chore: added intercom consent analytics event (#29722) 2023-12-19 18:08:33 +05:30
ApiPaneUtils.test.ts
ApiPaneUtils.tsx
AppsmithConsole.ts
AppsmithUtils.test.ts
AppsmithUtils.tsx chore: Refactoring API wiring for actions and JS actions to support private entity renaming on EE (#29763) 2023-12-21 10:22:54 +05:30
AppUtils.ts
bootIntercom.ts
boxHelpers.test.ts
boxHelpers.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
BrandingUtils.ts fix: Active color of primary buttons broken after ADS 2.0 migration (#26958) 2023-09-21 15:37:41 +05:30
canvasStructureHelpers.test.ts
canvasStructureHelpers.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
configTree.ts chore: separated tree type into common file to be extended on EE (#27812) 2023-10-10 18:02:17 +05:30
DatasourceSagaUtils.tsx
dayJsUtils.ts
decorators.ts chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
DSLMigrations.ts feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
DynamicBindingUtils.test.ts
DynamicBindingUtils.ts feat: Improve error message for typeError (#27795) 2023-10-22 07:46:31 +01:00
editorContextUtils.ts feat: open ai feature request (#28295) 2023-11-03 11:20:34 +07:00
formhelpers.test.ts
formhelpers.ts
GenerateCrudUtil.ts
generators.tsx
getCodeMirrorNamespace.ts
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 feat: show appsmith partnership program callout on invite (#27274) 2023-09-20 10:20:26 +05:30
history.ts chore: Refactoring sidebar on app editor to support the same on package editor (#29212) 2023-11-30 14:56:24 +05:30
importUppy.ts
JSPaneUtils.test.ts feat: Remove async/sync differentiation from Appsmith (#25399) 2023-08-05 06:38:53 +01:00
JSPaneUtils.tsx chore: refactor create jsobject under modules (#29555) 2023-12-13 16:16:27 +05:30
klona.test.ts
layoutPropertiesUtils.ts chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
lazyLottie.ts
localStorage.test.ts
localStorage.tsx
MessageUtil.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
metaWidgetState.ts
PerformanceTracker.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
PropertyControlFactory.tsx chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
PropertyControlRegistry.tsx
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: replace blank canvas with starter templates. (#28284) 2023-10-30 11:15:05 +05:30
SuccessfulBindingsMap.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
testDSLs.ts
testPropertyPaneConfig.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
treeUtils.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
TypeHelpers.ts
URLUtils.ts fix: fixed URL validation to not restrict navigateTo URLs to limited protocols (#27399) 2023-09-21 07:02:37 +05:30
UseComposeRef.ts
WidgetBlueprintUtils.ts
widgetEvalUtils.ts chore: query module evaluation (#27660) 2023-09-29 16:12:14 +05:30
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: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +05:30
WidgetLoadingStateUtils.ts chore: separated tree type into common file to be extended on EE (#27812) 2023-10-10 18:02:17 +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 feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
WidgetPropsUtils.tsx feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
WidgetQueryGeneratorRegistry.test.ts
WidgetQueryGeneratorRegistry.ts
widgetRenderUtils.test.ts chore: separated tree type into common file to be extended on EE (#27812) 2023-10-10 18:02:17 +05:30
widgetRenderUtils.tsx chore: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +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
WorkerUtil.ts chore: sentry issue fix #29551 (#29552) 2023-12-13 12:15:04 +05:30