@designcrowd/library.brand-page 6.1.12 → 6.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BDl5tMDl.js → CreatedOnBrandCrowd-de-de-Fgb3311h.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-DQ3yQuYK.js → CreatedOnBrandCrowd-en-us-B5STCD_n.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-YkmaVlY-.js → CreatedOnBrandCrowd-es-es-DdgIbk4D.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CJqdOpf6.js → CreatedOnBrandCrowd-fr-ca-DI51kQX5.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CJqdOpf6.js → CreatedOnBrandCrowd-fr-fr-DI51kQX5.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-Cowu2eoM.js → CreatedOnBrandCrowd-pt-br-BSnb2rTr.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-Cowu2eoM.js → CreatedOnBrandCrowd-pt-pt-BSnb2rTr.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-B8GFMuZG.js → CreatedOnDcom-de-de-CSZ70DSJ.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-D_scrBS6.js → CreatedOnDcom-en-us-ndmcsQ7u.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-CdSw2OLN.js → CreatedOnDcom-es-es-CaxTn1I3.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-3iiq59X-.js → CreatedOnDcom-fr-ca-D2G_gRcn.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-63FuI6C4.js → CreatedOnDcom-fr-fr-DEWTbL0q.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-TlCzQWxx.js → CreatedOnDcom-pt-br-JrWcosfu.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-BTS4GLd8.js → CreatedOnDcom-pt-pt-C81R_qUX.js} +1 -1
  15. package/lib/src/brand-page/models/brand-page-context.model.d.ts +0 -1
  16. package/lib/src/brand-page/models/brand-page-context.model.js +0 -5
  17. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -21
  18. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +1 -0
  19. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -21
  20. package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +0 -7
  21. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +0 -21
  22. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -21
  23. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -21
  24. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +0 -21
  25. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +0 -21
  26. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +0 -21
  27. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +0 -21
  28. package/lib/src/brand-page-maker/stores/user/user-store.js +1 -0
  29. package/lib/src/constants/ui.d.ts +1 -0
  30. package/lib/src/index.mjs +1 -1
  31. package/lib/src/{lib-C1NaFDHh.js → lib-BmaHdOpJ.js} +2318 -2321
  32. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.stories.js +1 -0
  33. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +0 -21
  34. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -21
  35. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +1 -21
  36. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -21
  37. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -28
  38. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +1 -22
  39. package/lib/src/shared/side-bar/components/SideBar.mixin.js +2 -3
  40. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -21
  41. package/package.json +1 -1
  42. package/src/brand-page/models/brand-page-context.model.ts +0 -11
  43. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +1 -0
  44. package/src/brand-page-maker/stores/user/user-store.ts +1 -0
  45. package/src/constants/ui.ts +1 -0
  46. package/src/shared/content-settings/components/content-settings/ContentSettings.stories.ts +1 -0
  47. package/src/shared/side-bar/components/SideBar.mixin.ts +3 -5
  48. package/src/shared/side-bar/components/SideBar.tabs.test.ts +1 -1
@@ -27,6 +27,7 @@ export const Sample = () => {
27
27
  canUseGoogleAdsense: false,
28
28
  googleAdsenseEnabled: false,
29
29
  canUseUndoRedo: false,
30
+ aiAssistantEnabled: false,
30
31
  };
31
32
  const pinia = setupStoryPinia();
32
33
  const contentSettingsStore = useUiContentSettingsStore();
@@ -91,13 +91,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
91
  isVariation: boolean;
92
92
  isExcluded: boolean;
93
93
  } | undefined;
94
- bp_5245_ai_website_assistant?: {
95
- key: string;
96
- value: string;
97
- isControl: boolean;
98
- isVariation: boolean;
99
- isExcluded: boolean;
100
- } | undefined;
101
94
  bp_5873_live_preview_prepurchase?: {
102
95
  key: string;
103
96
  value: string;
@@ -187,13 +180,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
187
180
  isVariation: boolean;
188
181
  isExcluded: boolean;
189
182
  } | undefined;
190
- bp_5245_ai_website_assistant?: {
191
- key: string;
192
- value: string;
193
- isControl: boolean;
194
- isVariation: boolean;
195
- isExcluded: boolean;
196
- } | undefined;
197
183
  bp_5873_live_preview_prepurchase?: {
198
184
  key: string;
199
185
  value: string;
@@ -283,13 +269,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
283
269
  isVariation: boolean;
284
270
  isExcluded: boolean;
285
271
  } | undefined;
286
- bp_5245_ai_website_assistant?: {
287
- key: string;
288
- value: string;
289
- isControl: boolean;
290
- isVariation: boolean;
291
- isExcluded: boolean;
292
- } | undefined;
293
272
  bp_5873_live_preview_prepurchase?: {
294
273
  key: string;
295
274
  value: string;
@@ -387,13 +387,6 @@ declare const _default: import("vue").DefineComponent<{}, {
387
387
  isVariation: boolean;
388
388
  isExcluded: boolean;
389
389
  } | undefined;
390
- bp_5245_ai_website_assistant?: {
391
- key: string;
392
- value: string;
393
- isControl: boolean;
394
- isVariation: boolean;
395
- isExcluded: boolean;
396
- } | undefined;
397
390
  bp_5873_live_preview_prepurchase?: {
398
391
  key: string;
399
392
  value: string;
@@ -483,13 +476,6 @@ declare const _default: import("vue").DefineComponent<{}, {
483
476
  isVariation: boolean;
484
477
  isExcluded: boolean;
485
478
  } | undefined;
486
- bp_5245_ai_website_assistant?: {
487
- key: string;
488
- value: string;
489
- isControl: boolean;
490
- isVariation: boolean;
491
- isExcluded: boolean;
492
- } | undefined;
493
479
  bp_5873_live_preview_prepurchase?: {
494
480
  key: string;
495
481
  value: string;
@@ -579,13 +565,6 @@ declare const _default: import("vue").DefineComponent<{}, {
579
565
  isVariation: boolean;
580
566
  isExcluded: boolean;
581
567
  } | undefined;
582
- bp_5245_ai_website_assistant?: {
583
- key: string;
584
- value: string;
585
- isControl: boolean;
586
- isVariation: boolean;
587
- isExcluded: boolean;
588
- } | undefined;
589
568
  bp_5873_live_preview_prepurchase?: {
590
569
  key: string;
591
570
  value: string;
@@ -3131,6 +3131,7 @@ declare const _default: import("vue").DefineComponent<{}, {
3131
3131
  canUseGoogleAdsense: boolean;
3132
3132
  googleAdsenseEnabled: boolean;
3133
3133
  canUseUndoRedo: boolean;
3134
+ aiAssistantEnabled: boolean;
3134
3135
  }>;
3135
3136
  isAdminMaker: import("vue").ComputedRef<boolean>;
3136
3137
  isBrandSite: import("vue").ComputedRef<boolean>;
@@ -4624,13 +4625,6 @@ declare const _default: import("vue").DefineComponent<{}, {
4624
4625
  isVariation: boolean;
4625
4626
  isExcluded: boolean;
4626
4627
  } | undefined;
4627
- bp_5245_ai_website_assistant?: {
4628
- key: string;
4629
- value: string;
4630
- isControl: boolean;
4631
- isVariation: boolean;
4632
- isExcluded: boolean;
4633
- } | undefined;
4634
4628
  bp_5873_live_preview_prepurchase?: {
4635
4629
  key: string;
4636
4630
  value: string;
@@ -4720,13 +4714,6 @@ declare const _default: import("vue").DefineComponent<{}, {
4720
4714
  isVariation: boolean;
4721
4715
  isExcluded: boolean;
4722
4716
  } | undefined;
4723
- bp_5245_ai_website_assistant?: {
4724
- key: string;
4725
- value: string;
4726
- isControl: boolean;
4727
- isVariation: boolean;
4728
- isExcluded: boolean;
4729
- } | undefined;
4730
4717
  bp_5873_live_preview_prepurchase?: {
4731
4718
  key: string;
4732
4719
  value: string;
@@ -4816,13 +4803,6 @@ declare const _default: import("vue").DefineComponent<{}, {
4816
4803
  isVariation: boolean;
4817
4804
  isExcluded: boolean;
4818
4805
  } | undefined;
4819
- bp_5245_ai_website_assistant?: {
4820
- key: string;
4821
- value: string;
4822
- isControl: boolean;
4823
- isVariation: boolean;
4824
- isExcluded: boolean;
4825
- } | undefined;
4826
4806
  bp_5873_live_preview_prepurchase?: {
4827
4807
  key: string;
4828
4808
  value: string;
@@ -3988,13 +3988,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3988
3988
  isVariation: boolean;
3989
3989
  isExcluded: boolean;
3990
3990
  } | undefined;
3991
- bp_5245_ai_website_assistant?: {
3992
- key: string;
3993
- value: string;
3994
- isControl: boolean;
3995
- isVariation: boolean;
3996
- isExcluded: boolean;
3997
- } | undefined;
3998
3991
  bp_5873_live_preview_prepurchase?: {
3999
3992
  key: string;
4000
3993
  value: string;
@@ -4084,13 +4077,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4084
4077
  isVariation: boolean;
4085
4078
  isExcluded: boolean;
4086
4079
  } | undefined;
4087
- bp_5245_ai_website_assistant?: {
4088
- key: string;
4089
- value: string;
4090
- isControl: boolean;
4091
- isVariation: boolean;
4092
- isExcluded: boolean;
4093
- } | undefined;
4094
4080
  bp_5873_live_preview_prepurchase?: {
4095
4081
  key: string;
4096
4082
  value: string;
@@ -4180,13 +4166,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4180
4166
  isVariation: boolean;
4181
4167
  isExcluded: boolean;
4182
4168
  } | undefined;
4183
- bp_5245_ai_website_assistant?: {
4184
- key: string;
4185
- value: string;
4186
- isControl: boolean;
4187
- isVariation: boolean;
4188
- isExcluded: boolean;
4189
- } | undefined;
4190
4169
  bp_5873_live_preview_prepurchase?: {
4191
4170
  key: string;
4192
4171
  value: string;
@@ -70,13 +70,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  isVariation: boolean;
71
71
  isExcluded: boolean;
72
72
  } | undefined;
73
- bp_5245_ai_website_assistant?: {
74
- key: string;
75
- value: string;
76
- isControl: boolean;
77
- isVariation: boolean;
78
- isExcluded: boolean;
79
- } | undefined;
80
73
  bp_5873_live_preview_prepurchase?: {
81
74
  key: string;
82
75
  value: string;
@@ -308,13 +301,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
308
301
  isVariation: boolean;
309
302
  isExcluded: boolean;
310
303
  } | undefined;
311
- bp_5245_ai_website_assistant?: {
312
- key: string;
313
- value: string;
314
- isControl: boolean;
315
- isVariation: boolean;
316
- isExcluded: boolean;
317
- } | undefined;
318
304
  bp_5873_live_preview_prepurchase?: {
319
305
  key: string;
320
306
  value: string;
@@ -404,13 +390,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
404
390
  isVariation: boolean;
405
391
  isExcluded: boolean;
406
392
  } | undefined;
407
- bp_5245_ai_website_assistant?: {
408
- key: string;
409
- value: string;
410
- isControl: boolean;
411
- isVariation: boolean;
412
- isExcluded: boolean;
413
- } | undefined;
414
393
  bp_5873_live_preview_prepurchase?: {
415
394
  key: string;
416
395
  value: string;
@@ -500,13 +479,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
500
479
  isVariation: boolean;
501
480
  isExcluded: boolean;
502
481
  } | undefined;
503
- bp_5245_ai_website_assistant?: {
504
- key: string;
505
- value: string;
506
- isControl: boolean;
507
- isVariation: boolean;
508
- isExcluded: boolean;
509
- } | undefined;
510
482
  bp_5873_live_preview_prepurchase?: {
511
483
  key: string;
512
484
  value: string;
@@ -84,13 +84,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
84
84
  isVariation: boolean;
85
85
  isExcluded: boolean;
86
86
  } | undefined;
87
- bp_5245_ai_website_assistant?: {
88
- key: string;
89
- value: string;
90
- isControl: boolean;
91
- isVariation: boolean;
92
- isExcluded: boolean;
93
- } | undefined;
94
87
  bp_5873_live_preview_prepurchase?: {
95
88
  key: string;
96
89
  value: string;
@@ -180,13 +173,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
180
173
  isVariation: boolean;
181
174
  isExcluded: boolean;
182
175
  } | undefined;
183
- bp_5245_ai_website_assistant?: {
184
- key: string;
185
- value: string;
186
- isControl: boolean;
187
- isVariation: boolean;
188
- isExcluded: boolean;
189
- } | undefined;
190
176
  bp_5873_live_preview_prepurchase?: {
191
177
  key: string;
192
178
  value: string;
@@ -276,13 +262,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
276
262
  isVariation: boolean;
277
263
  isExcluded: boolean;
278
264
  } | undefined;
279
- bp_5245_ai_website_assistant?: {
280
- key: string;
281
- value: string;
282
- isControl: boolean;
283
- isVariation: boolean;
284
- isExcluded: boolean;
285
- } | undefined;
286
265
  bp_5873_live_preview_prepurchase?: {
287
266
  key: string;
288
267
  value: string;
@@ -446,7 +425,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
446
425
  'side-bar-content': import("vue").Ref<null, null>;
447
426
  isPrepurchase: import("vue").ComputedRef<boolean>;
448
427
  isBrandPageLoaded: import("vue").ComputedRef<boolean>;
449
- isAiWebsiteAssistantVisible: import("vue").ComputedRef<boolean | undefined>;
428
+ isAiWebsiteBuilderEnabled: import("vue").ComputedRef<boolean>;
450
429
  }, {
451
430
  SIDE_BAR_CONTENT_ID: string;
452
431
  sideBarContentRef: string;
@@ -38,8 +38,7 @@ export default defineComponent({
38
38
  'side-bar-content': ref(null),
39
39
  isPrepurchase: computed(() => brandPageContainerStore.isPrePurchase),
40
40
  isBrandPageLoaded: computed(() => brandPageMakerStore.isBrandPageLoaded),
41
- isAiWebsiteAssistantVisible: computed(() => brandPageContainerStore.abTests.bp_5245_ai_website_assistant
42
- ?.isVariation),
41
+ isAiWebsiteBuilderEnabled: computed(() => userStore.features.aiAssistantEnabled),
43
42
  };
44
43
  },
45
44
  data: () => ({ SIDE_BAR_CONTENT_ID, sideBarContentRef: 'side-bar-content' }),
@@ -92,7 +91,7 @@ export default defineComponent({
92
91
  return false;
93
92
  }
94
93
  if (tab.name === SIDE_BAR_TAB_NAMES.AI_WEBSITE_BUILDER) {
95
- return this.isAiWebsiteAssistantVisible;
94
+ return this.isAiWebsiteBuilderEnabled;
96
95
  }
97
96
  return tab.isVisible;
98
97
  },
@@ -589,13 +589,6 @@ declare const _default: import("vue").DefineComponent<{}, {
589
589
  isVariation: boolean;
590
590
  isExcluded: boolean;
591
591
  } | undefined;
592
- bp_5245_ai_website_assistant?: {
593
- key: string;
594
- value: string;
595
- isControl: boolean;
596
- isVariation: boolean;
597
- isExcluded: boolean;
598
- } | undefined;
599
592
  bp_5873_live_preview_prepurchase?: {
600
593
  key: string;
601
594
  value: string;
@@ -685,13 +678,6 @@ declare const _default: import("vue").DefineComponent<{}, {
685
678
  isVariation: boolean;
686
679
  isExcluded: boolean;
687
680
  } | undefined;
688
- bp_5245_ai_website_assistant?: {
689
- key: string;
690
- value: string;
691
- isControl: boolean;
692
- isVariation: boolean;
693
- isExcluded: boolean;
694
- } | undefined;
695
681
  bp_5873_live_preview_prepurchase?: {
696
682
  key: string;
697
683
  value: string;
@@ -781,13 +767,6 @@ declare const _default: import("vue").DefineComponent<{}, {
781
767
  isVariation: boolean;
782
768
  isExcluded: boolean;
783
769
  } | undefined;
784
- bp_5245_ai_website_assistant?: {
785
- key: string;
786
- value: string;
787
- isControl: boolean;
788
- isVariation: boolean;
789
- isExcluded: boolean;
790
- } | undefined;
791
770
  bp_5873_live_preview_prepurchase?: {
792
771
  key: string;
793
772
  value: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "6.1.12",
4
+ "version": "6.1.13",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -48,7 +48,6 @@ export interface AbTestResult {
48
48
 
49
49
  const AB_TEST_KEYS = {
50
50
  BP_3926_FREEMIUM_WATERMARK: 'bc-bp-3926-freemium-cta-in-website-editor',
51
- BP_5245_AI_WEBSITE_ASSISTANT: 'bc-bp-5245-ai-website-assistant-postpurchase',
52
51
  // Two separate live-preview experiments — bc-net sends only the one for the
53
52
  // current purchase state, and a user's value on each side is independent
54
53
  // (BP-5873). Keys must match `CampaignNames.LivePreview*Test` in bc-net.
@@ -58,7 +57,6 @@ const AB_TEST_KEYS = {
58
57
 
59
58
  export interface AbTest {
60
59
  bp_3926_freemium_watermark?: AbTestResult;
61
- bp_5245_ai_website_assistant?: AbTestResult;
62
60
  bp_5873_live_preview_prepurchase?: AbTestResult;
63
61
  bp_5873_live_preview_postpurchase?: AbTestResult;
64
62
  }
@@ -141,15 +139,6 @@ export const getAbTestResults = (abtestKeyValues: AbTest): AbTest => {
141
139
  );
142
140
  }
143
141
 
144
- // AB Test for BP-5245 - AI Website Assistant
145
-
146
- if (abtestKeyValues[AB_TEST_KEYS.BP_5245_AI_WEBSITE_ASSISTANT]) {
147
- abTests.bp_5245_ai_website_assistant = getValueType(
148
- AB_TEST_KEYS.BP_5245_AI_WEBSITE_ASSISTANT,
149
- abtestKeyValues[AB_TEST_KEYS.BP_5245_AI_WEBSITE_ASSISTANT],
150
- );
151
- }
152
-
153
142
  // AB Test for BP-5873 - Live preview (pre- and post-purchase run separately)
154
143
 
155
144
  if (abtestKeyValues[AB_TEST_KEYS.BP_5873_LIVE_PREVIEW_PREPURCHASE]) {
@@ -86,6 +86,7 @@ export const userFeatures: UserFeatures = {
86
86
  canUseGoogleAdsense: false,
87
87
  googleAdsenseEnabled: false,
88
88
  canUseUndoRedo: false,
89
+ aiAssistantEnabled: false,
89
90
  };
90
91
 
91
92
  export const BRAND_PAGE: BrandPageData = {
@@ -34,6 +34,7 @@ export const useBrandPageMakerUserStore = defineStore('brandPageMakerUser', {
34
34
  canUseGoogleAdsense: false,
35
35
  googleAdsenseEnabled: false,
36
36
  canUseUndoRedo: false,
37
+ aiAssistantEnabled: false,
37
38
  },
38
39
  emailAddress: '',
39
40
  hasPremiumSubscription: false,
@@ -15,6 +15,7 @@ export interface UIUserFeatures {
15
15
  canUseGoogleAdsense: boolean;
16
16
  googleAdsenseEnabled: boolean;
17
17
  canUseUndoRedo: boolean;
18
+ aiAssistantEnabled: boolean;
18
19
  }
19
20
 
20
21
  export const TEMPLATE_FIRST_PAGE_NO = 1;
@@ -33,6 +33,7 @@ export const Sample = (): any => {
33
33
  canUseGoogleAdsense: false,
34
34
  googleAdsenseEnabled: false,
35
35
  canUseUndoRedo: false,
36
+ aiAssistantEnabled: false,
36
37
  };
37
38
 
38
39
  const pinia = setupStoryPinia();
@@ -48,10 +48,8 @@ export default defineComponent({
48
48
  'side-bar-content': ref(null),
49
49
  isPrepurchase: computed(() => brandPageContainerStore.isPrePurchase),
50
50
  isBrandPageLoaded: computed(() => brandPageMakerStore.isBrandPageLoaded),
51
- isAiWebsiteAssistantVisible: computed(
52
- () =>
53
- brandPageContainerStore.abTests.bp_5245_ai_website_assistant
54
- ?.isVariation,
51
+ isAiWebsiteBuilderEnabled: computed(
52
+ () => userStore.features.aiAssistantEnabled,
55
53
  ),
56
54
  };
57
55
  },
@@ -111,7 +109,7 @@ export default defineComponent({
111
109
  }
112
110
 
113
111
  if (tab.name === SIDE_BAR_TAB_NAMES.AI_WEBSITE_BUILDER) {
114
- return this.isAiWebsiteAssistantVisible;
112
+ return this.isAiWebsiteBuilderEnabled;
115
113
  }
116
114
 
117
115
  return tab.isVisible;
@@ -19,7 +19,7 @@ const BASE_CTX = {
19
19
  isPrepurchase: false,
20
20
  isPrePurchase: false,
21
21
  isMobileScreenSize: false,
22
- isAiWebsiteAssistantVisible: false,
22
+ isAiWebsiteBuilderEnabled: false,
23
23
  };
24
24
 
25
25
  const tabByName = (name: string): SideBarTab =>