PromucFlow_constructor/app/client/src/utils
Jacques Ikot d22b63277d
feat: starter building blocks for all users (#30909)
## Description
**Goal**
The starter building block on canvas experiment was a success, this PR
removes the feature from behind a feature flag and makes it available to
all users on the platform.

Summary of changes
- Remove feature flag condition in DropTarget component
- Clean up unnecessary state used to find newUsers and firstTimeUsers
- Remove redundant storage functions used for storing first time user
and application id
- Remove showStarterTemplatesInsteadofBlankCanvas prop in signUpHelper
and signUpSuccess
- 
#### PR fixes following issue(s)
Fixes #30903 

#### Type of change
- New feature (non-breaking change which adds functionality)

## 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**
- Simplified signup process by removing the option to choose starter
templates or a blank canvas.
- Streamlined onboarding component logic and storage management for a
smoother user experience.
- Optimized import organization and removed unused functions in the
DropTargetComponent.
- Enhanced test coverage for building blocks and starter templates in
client-side templates.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Rahul Barwal <rahul.barwal@appsmith.com>
2024-02-09 10:00:04 +05:30
..
autocomplete fix: restrict the module query being shown in Inputs autocomplete area (#30624) 2024-02-02 11:36:37 +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 feat: Add knowledge retrieval in Appsmith AI (#30725) 2024-02-05 17:15:45 +05:30
hooks chore: Make App Sidebar Generally Available (#30923) 2024-02-07 11:25:23 +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 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: 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
CustomWidgetBuilderService.ts chore: misc updates to custom widget (#30114) 2024-01-16 10:52: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 fix: body path was getting removed from dynamicBindingPathList of action when changed datasource (#30268) 2024-01-12 17:39:15 +05:30
editorContextUtils.ts feat: Add knowledge retrieval in Appsmith AI (#30725) 2024-02-05 17:15:45 +05:30
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: workflows sidebar changes code split (#29718) 2024-01-04 11:38:20 +05:30
importUppy.ts perf: reduce the bundle size, vol. 2 (#24969) 2023-07-17 00:19:41 +05:30
JSPaneUtils.test.ts chore: js module function name change refactor (#30073) 2024-01-09 10:49:21 +05:30
JSPaneUtils.tsx chore: js module function name change refactor (#30073) 2024-01-09 10:49:21 +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 feat: signposting update (#24389) 2023-06-22 18:35:01 +05:30
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 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: starter building blocks for all users (#30909) 2024-02-09 10:00:04 +05:30
SuccessfulBindingsMap.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
testDSLs.ts
testPropertyPaneConfig.test.ts fix: use wds tokens in sections and zones (#30479) 2024-01-24 11:02:42 +03:00
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 feat: [Custom widget] Enable dynamic height and auto layout. (#30459) 2024-02-07 16:30:50 +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 feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
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 feat: Add copy paste functionality for Anvil. (#30217) 2024-01-24 21:55:08 +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 chore: Add traces for measuring data transfer time between worker thread and… (#30537) 2024-01-25 14:04:17 +05:30