@capillarytech/creatives-library 8.0.242-alpha.10 → 8.0.242-alpha.11
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.
- package/assets/Android.png +0 -0
- package/assets/iOS.png +0 -0
- package/config/app.js +1 -1
- package/constants/unified.js +2 -2
- package/initialReducer.js +0 -2
- package/package.json +1 -1
- package/services/api.js +5 -10
- package/services/tests/api.test.js +0 -18
- package/translations/en.json +4 -3
- package/utils/common.js +6 -5
- package/utils/commonUtils.js +1 -14
- package/utils/imageUrlUpload.js +141 -0
- package/utils/tests/commonUtil.test.js +0 -224
- package/utils/transformTemplateConfig.js +10 -0
- package/v2Components/CapDeviceContent/index.js +56 -61
- package/v2Components/CapImageUpload/constants.js +2 -0
- package/v2Components/CapImageUpload/index.js +65 -16
- package/v2Components/CapImageUpload/index.scss +4 -1
- package/v2Components/CapImageUpload/messages.js +5 -1
- package/v2Components/CapImageUrlUpload/constants.js +26 -0
- package/v2Components/CapImageUrlUpload/index.js +365 -0
- package/v2Components/CapImageUrlUpload/index.scss +35 -0
- package/v2Components/CapImageUrlUpload/messages.js +47 -0
- package/v2Components/CapTagList/index.js +1 -6
- package/v2Components/CapTagListWithInput/index.js +1 -5
- package/v2Components/CapTagListWithInput/messages.js +1 -1
- package/v2Components/CapWhatsappCTA/tests/index.test.js +0 -5
- package/v2Components/ErrorInfoNote/index.js +72 -412
- package/v2Components/ErrorInfoNote/messages.js +0 -22
- package/v2Components/ErrorInfoNote/style.scss +2 -279
- package/v2Components/HtmlEditor/HTMLEditor.js +91 -220
- package/v2Components/HtmlEditor/__tests__/HTMLEditor.test.js +133 -1132
- package/v2Components/HtmlEditor/__tests__/index.lazy.test.js +12 -17
- package/v2Components/HtmlEditor/_htmlEditor.scss +45 -107
- package/v2Components/HtmlEditor/_index.lazy.scss +1 -1
- package/v2Components/HtmlEditor/components/CodeEditorPane/_codeEditorPane.scss +101 -13
- package/v2Components/HtmlEditor/components/CodeEditorPane/index.js +139 -148
- package/v2Components/HtmlEditor/components/DeviceToggle/_deviceToggle.scss +1 -2
- package/v2Components/HtmlEditor/components/DeviceToggle/index.js +3 -3
- package/v2Components/HtmlEditor/components/EditorToolbar/_editorToolbar.scss +0 -9
- package/v2Components/HtmlEditor/components/EditorToolbar/index.js +1 -1
- package/v2Components/HtmlEditor/components/FullscreenModal/_fullscreenModal.scss +0 -22
- package/v2Components/HtmlEditor/components/InAppPreviewPane/DeviceFrame.js +7 -4
- package/v2Components/HtmlEditor/components/InAppPreviewPane/__tests__/DeviceFrame.test.js +45 -35
- package/v2Components/HtmlEditor/components/InAppPreviewPane/_inAppPreviewPane.scss +3 -1
- package/v2Components/HtmlEditor/components/InAppPreviewPane/constants.js +33 -33
- package/v2Components/HtmlEditor/components/InAppPreviewPane/index.js +6 -7
- package/v2Components/HtmlEditor/components/PreviewPane/_previewPane.scss +6 -3
- package/v2Components/HtmlEditor/components/PreviewPane/index.js +11 -10
- package/v2Components/HtmlEditor/components/SplitContainer/_splitContainer.scss +1 -1
- package/v2Components/HtmlEditor/components/ValidationErrorDisplay/__tests__/index.test.js +72 -70
- package/v2Components/HtmlEditor/components/ValidationErrorDisplay/index.js +31 -49
- package/v2Components/HtmlEditor/constants.js +20 -29
- package/v2Components/HtmlEditor/hooks/__tests__/useInAppContent.test.js +16 -373
- package/v2Components/HtmlEditor/hooks/useEditorContent.js +2 -5
- package/v2Components/HtmlEditor/hooks/useInAppContent.js +146 -88
- package/v2Components/HtmlEditor/index.js +1 -1
- package/v2Components/HtmlEditor/messages.js +85 -95
- package/v2Components/HtmlEditor/utils/liquidTemplateSupport.js +101 -99
- package/v2Components/HtmlEditor/utils/properSyntaxHighlighting.js +25 -23
- package/v2Components/HtmlEditor/utils/validationAdapter.js +41 -34
- package/v2Components/MobilePushPreviewV2/index.js +7 -32
- package/v2Components/TemplatePreview/_templatePreview.scss +24 -44
- package/v2Components/TemplatePreview/index.js +32 -47
- package/v2Components/TemplatePreview/messages.js +0 -4
- package/v2Components/TestAndPreviewSlidebox/index.js +25 -31
- package/v2Containers/App/constants.js +5 -0
- package/v2Containers/BeeEditor/index.js +80 -82
- package/v2Containers/Cap/tests/__snapshots__/index.test.js.snap +4 -3
- package/v2Containers/CreativesContainer/SlideBoxContent.js +118 -148
- package/v2Containers/CreativesContainer/SlideBoxFooter.js +3 -9
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +2 -2
- package/v2Containers/CreativesContainer/constants.js +2 -1
- package/v2Containers/CreativesContainer/index.js +41 -173
- package/v2Containers/CreativesContainer/messages.js +4 -4
- package/v2Containers/CreativesContainer/tests/SlideBoxContent.test.js +210 -0
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +354 -38
- package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +0 -36
- package/v2Containers/Email/actions.js +0 -7
- package/v2Containers/Email/constants.js +1 -5
- package/v2Containers/Email/index.js +0 -13
- package/v2Containers/Email/messages.js +0 -32
- package/v2Containers/Email/reducer.js +1 -12
- package/v2Containers/Email/sagas.js +6 -41
- package/v2Containers/Email/tests/__snapshots__/reducer.test.js.snap +0 -2
- package/v2Containers/EmailWrapper/components/EmailWrapperView.js +7 -193
- package/v2Containers/EmailWrapper/components/HTMLEditorTesting.js +74 -40
- package/v2Containers/EmailWrapper/components/__tests__/HTMLEditorTesting.test.js +67 -2
- package/v2Containers/EmailWrapper/constants.js +0 -2
- package/v2Containers/EmailWrapper/hooks/useEmailWrapper.js +67 -436
- package/v2Containers/EmailWrapper/index.js +23 -99
- package/v2Containers/EmailWrapper/messages.js +1 -61
- package/v2Containers/EmailWrapper/tests/EmailWrapperView.test.js +214 -0
- package/v2Containers/EmailWrapper/tests/useEmailWrapper.test.js +77 -111
- package/v2Containers/InApp/actions.js +0 -7
- package/v2Containers/InApp/constants.js +4 -20
- package/v2Containers/InApp/index.js +357 -801
- package/v2Containers/InApp/index.scss +3 -4
- package/v2Containers/InApp/messages.js +3 -7
- package/v2Containers/InApp/reducer.js +3 -21
- package/v2Containers/InApp/sagas.js +9 -29
- package/v2Containers/InApp/selectors.js +5 -25
- package/v2Containers/InApp/tests/index.test.js +50 -154
- package/v2Containers/InApp/tests/reducer.test.js +0 -34
- package/v2Containers/InApp/tests/sagas.test.js +9 -61
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +12 -12
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +8 -8
- package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +100 -77
- package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +72 -63
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +184 -150
- package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +16 -12
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +32 -28
- package/v2Containers/TagList/index.js +1 -67
- package/v2Containers/Templates/ChannelTypeIllustration.js +13 -1
- package/v2Containers/Templates/_templates.scss +202 -56
- package/v2Containers/Templates/actions.js +2 -1
- package/v2Containers/Templates/constants.js +1 -0
- package/v2Containers/Templates/index.js +278 -128
- package/v2Containers/Templates/messages.js +24 -4
- package/v2Containers/Templates/reducer.js +2 -0
- package/v2Containers/Templates/tests/index.test.js +10 -0
- package/v2Containers/TemplatesV2/index.js +8 -1
- package/v2Containers/TemplatesV2/messages.js +4 -0
- package/v2Containers/WebPush/Create/components/BrandIconSection.js +108 -0
- package/v2Containers/WebPush/Create/components/ButtonForm.js +172 -0
- package/v2Containers/WebPush/Create/components/ButtonItem.js +101 -0
- package/v2Containers/WebPush/Create/components/ButtonList.js +145 -0
- package/v2Containers/WebPush/Create/components/ButtonsLinksSection.js +164 -0
- package/v2Containers/WebPush/Create/components/ButtonsLinksSection.test.js +463 -0
- package/v2Containers/WebPush/Create/components/FormActions.js +54 -0
- package/v2Containers/WebPush/Create/components/FormActions.test.js +163 -0
- package/v2Containers/WebPush/Create/components/MediaSection.js +142 -0
- package/v2Containers/WebPush/Create/components/MediaSection.test.js +341 -0
- package/v2Containers/WebPush/Create/components/MessageSection.js +103 -0
- package/v2Containers/WebPush/Create/components/MessageSection.test.js +268 -0
- package/v2Containers/WebPush/Create/components/NotificationTitleSection.js +87 -0
- package/v2Containers/WebPush/Create/components/NotificationTitleSection.test.js +210 -0
- package/v2Containers/WebPush/Create/components/TemplateNameSection.js +54 -0
- package/v2Containers/WebPush/Create/components/TemplateNameSection.test.js +143 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/ButtonsLinksSection.test.js.snap +86 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/FormActions.test.js.snap +16 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/MediaSection.test.js.snap +41 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/MessageSection.test.js.snap +54 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/NotificationTitleSection.test.js.snap +37 -0
- package/v2Containers/WebPush/Create/components/__snapshots__/TemplateNameSection.test.js.snap +21 -0
- package/v2Containers/WebPush/Create/components/_buttons.scss +246 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonForm.test.js +554 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonItem.test.js +607 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonList.test.js +633 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonForm.test.js.snap +666 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonItem.test.js.snap +74 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonList.test.js.snap +78 -0
- package/v2Containers/WebPush/Create/hooks/useButtonManagement.js +138 -0
- package/v2Containers/WebPush/Create/hooks/useButtonManagement.test.js +406 -0
- package/v2Containers/WebPush/Create/hooks/useCharacterCount.js +30 -0
- package/v2Containers/WebPush/Create/hooks/useCharacterCount.test.js +151 -0
- package/v2Containers/WebPush/Create/hooks/useImageUpload.js +104 -0
- package/v2Containers/WebPush/Create/hooks/useImageUpload.test.js +538 -0
- package/v2Containers/WebPush/Create/hooks/useTagManagement.js +122 -0
- package/v2Containers/WebPush/Create/hooks/useTagManagement.test.js +633 -0
- package/v2Containers/WebPush/Create/index.js +1056 -0
- package/v2Containers/WebPush/Create/index.scss +134 -0
- package/v2Containers/WebPush/Create/messages.js +203 -0
- package/v2Containers/WebPush/Create/preview/DevicePreviewContent.js +228 -0
- package/v2Containers/WebPush/Create/preview/NotificationContainer.js +294 -0
- package/v2Containers/WebPush/Create/preview/PreviewContent.js +90 -0
- package/v2Containers/WebPush/Create/preview/PreviewControls.js +305 -0
- package/v2Containers/WebPush/Create/preview/PreviewDisclaimer.js +23 -0
- package/v2Containers/WebPush/Create/preview/WebPushPreview.js +150 -0
- package/v2Containers/WebPush/Create/preview/assets/Light.svg +53 -0
- package/v2Containers/WebPush/Create/preview/assets/Top.svg +5 -0
- package/v2Containers/WebPush/Create/preview/assets/android-arrow-down.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/android-arrow-up.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/chrome-icon.png +0 -0
- package/v2Containers/WebPush/Create/preview/assets/edge-icon.png +0 -0
- package/v2Containers/WebPush/Create/preview/assets/firefox-icon.svg +106 -0
- package/v2Containers/WebPush/Create/preview/assets/iOS.svg +26 -0
- package/v2Containers/WebPush/Create/preview/assets/macos-arrow-down-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/macos-triple-dot-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/opera-icon.svg +18 -0
- package/v2Containers/WebPush/Create/preview/assets/safari-icon.svg +29 -0
- package/v2Containers/WebPush/Create/preview/assets/windows-close-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/assets/windows-triple-dot-icon.svg +9 -0
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileChromeHeader.js +47 -0
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileExpanded.js +141 -0
- package/v2Containers/WebPush/Create/preview/components/IOSHeader.js +45 -0
- package/v2Containers/WebPush/Create/preview/components/NotificationExpandedContent.js +68 -0
- package/v2Containers/WebPush/Create/preview/components/NotificationHeader.js +61 -0
- package/v2Containers/WebPush/Create/preview/components/WindowsChromeExpanded.js +99 -0
- package/v2Containers/WebPush/Create/preview/components/tests/AndroidMobileExpanded.test.js +733 -0
- package/v2Containers/WebPush/Create/preview/components/tests/WindowsChromeExpanded.test.js +571 -0
- package/v2Containers/WebPush/Create/preview/components/tests/__snapshots__/AndroidMobileExpanded.test.js.snap +81 -0
- package/v2Containers/WebPush/Create/preview/components/tests/__snapshots__/WindowsChromeExpanded.test.js.snap +81 -0
- package/v2Containers/WebPush/Create/preview/config/notificationMappings.js +50 -0
- package/v2Containers/WebPush/Create/preview/constants.js +637 -0
- package/v2Containers/WebPush/Create/preview/notification-container.scss +79 -0
- package/v2Containers/WebPush/Create/preview/preview.scss +351 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-chrome.scss +370 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-edge.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-firefox.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-opera.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-chrome.scss +47 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-edge.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-firefox.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-opera.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_base.scss +207 -0
- package/v2Containers/WebPush/Create/preview/styles/_ios.scss +153 -0
- package/v2Containers/WebPush/Create/preview/styles/_ipados.scss +107 -0
- package/v2Containers/WebPush/Create/preview/styles/_macos-chrome.scss +101 -0
- package/v2Containers/WebPush/Create/preview/styles/_windows-chrome.scss +229 -0
- package/v2Containers/WebPush/Create/preview/tests/DevicePreviewContent.test.js +909 -0
- package/v2Containers/WebPush/Create/preview/tests/NotificationContainer.test.js +1081 -0
- package/v2Containers/WebPush/Create/preview/tests/PreviewControls.test.js +723 -0
- package/v2Containers/WebPush/Create/preview/tests/WebPushPreview.test.js +943 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/DevicePreviewContent.test.js.snap +131 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/NotificationContainer.test.js.snap +112 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/PreviewControls.test.js.snap +144 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/WebPushPreview.test.js.snap +129 -0
- package/v2Containers/WebPush/Create/utils/payloadBuilder.js +94 -0
- package/v2Containers/WebPush/Create/utils/payloadBuilder.test.js +390 -0
- package/v2Containers/WebPush/Create/utils/previewUtils.js +89 -0
- package/v2Containers/WebPush/Create/utils/urlValidation.js +115 -0
- package/v2Containers/WebPush/Create/utils/urlValidation.test.js +449 -0
- package/v2Containers/WebPush/Create/utils/validation.js +75 -0
- package/v2Containers/WebPush/Create/utils/validation.test.js +283 -0
- package/v2Containers/WebPush/actions.js +60 -0
- package/v2Containers/WebPush/constants.js +128 -0
- package/v2Containers/WebPush/index.js +2 -0
- package/v2Containers/WebPush/reducer.js +104 -0
- package/v2Containers/WebPush/sagas.js +119 -0
- package/v2Containers/WebPush/selectors.js +65 -0
- package/v2Containers/WebPush/tests/reducer.test.js +863 -0
- package/v2Containers/WebPush/tests/sagas.test.js +566 -0
- package/v2Containers/WebPush/tests/selectors.test.js +843 -0
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +528 -431
- package/v2Components/HtmlEditor/components/ValidationTabs/_validationTabs.scss +0 -254
- package/v2Components/HtmlEditor/components/ValidationTabs/index.js +0 -362
- package/v2Components/HtmlEditor/components/ValidationTabs/messages.js +0 -51
- package/v2Containers/BeePopupEditor/constants.js +0 -10
- package/v2Containers/BeePopupEditor/index.js +0 -193
- package/v2Containers/BeePopupEditor/tests/index.test.js +0 -627
- package/v2Containers/EmailWrapper/components/EmailHTMLEditor.js +0 -1046
- package/v2Containers/InApp/__tests__/InAppHTMLEditor.test.js +0 -376
- package/v2Containers/InApp/__tests__/sagas.test.js +0 -363
- package/v2Containers/InApp/tests/selectors.test.js +0 -612
- package/v2Containers/InAppWrapper/components/InAppWrapperView.js +0 -162
- package/v2Containers/InAppWrapper/components/__tests__/InAppWrapperView.test.js +0 -267
- package/v2Containers/InAppWrapper/components/inAppWrapperView.scss +0 -9
- package/v2Containers/InAppWrapper/constants.js +0 -16
- package/v2Containers/InAppWrapper/hooks/__tests__/useInAppWrapper.test.js +0 -473
- package/v2Containers/InAppWrapper/hooks/useInAppWrapper.js +0 -198
- package/v2Containers/InAppWrapper/index.js +0 -148
- package/v2Containers/InAppWrapper/messages.js +0 -49
- package/v2Containers/InappAdvance/index.js +0 -1099
- package/v2Containers/InappAdvance/index.scss +0 -10
- package/v2Containers/InappAdvance/tests/index.test.js +0 -448
|
@@ -197,7 +197,7 @@ exports[`Creatives SmsTraiCreate test/> done button should be disabled if blank
|
|
|
197
197
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
198
198
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
199
199
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
200
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
200
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
201
201
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
202
202
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
203
203
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -205,13 +205,13 @@ exports[`Creatives SmsTraiCreate test/> done button should be disabled if blank
|
|
|
205
205
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
206
206
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
207
207
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
208
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
208
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
209
209
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
210
210
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
211
211
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
212
212
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
213
213
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
214
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
214
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
215
215
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
216
216
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
217
217
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -1904,6 +1904,7 @@ new message content.",
|
|
|
1904
1904
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
1905
1905
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
1906
1906
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
1907
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
1907
1908
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
1908
1909
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
1909
1910
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -3211,7 +3212,7 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
|
|
|
3211
3212
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
3212
3213
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
3213
3214
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
3214
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
3215
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
3215
3216
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
3216
3217
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
3217
3218
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -3219,13 +3220,13 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
|
|
|
3219
3220
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
3220
3221
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
3221
3222
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
3222
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
3223
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
3223
3224
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
3224
3225
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
3225
3226
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
3226
3227
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
3227
3228
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
3228
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
3229
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
3229
3230
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
3230
3231
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
3231
3232
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -4918,6 +4919,7 @@ new message content.",
|
|
|
4918
4919
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
4919
4920
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
4920
4921
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
4922
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
4921
4923
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
4922
4924
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
4923
4925
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -6225,7 +6227,7 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
|
|
|
6225
6227
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
6226
6228
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
6227
6229
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
6228
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
6230
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
6229
6231
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
6230
6232
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
6231
6233
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -6233,13 +6235,13 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
|
|
|
6233
6235
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
6234
6236
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
6235
6237
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
6236
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
6238
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
6237
6239
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
6238
6240
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
6239
6241
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
6240
6242
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
6241
6243
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
6242
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
6244
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
6243
6245
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
6244
6246
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
6245
6247
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -7932,6 +7934,7 @@ new message content.",
|
|
|
7932
7934
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
7933
7935
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
7934
7936
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
7937
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
7935
7938
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
7936
7939
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
7937
7940
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -9239,7 +9242,7 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
|
|
|
9239
9242
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
9240
9243
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
9241
9244
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
9242
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
9245
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
9243
9246
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
9244
9247
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
9245
9248
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -9247,13 +9250,13 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
|
|
|
9247
9250
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
9248
9251
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
9249
9252
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
9250
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
9253
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
9251
9254
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
9252
9255
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
9253
9256
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
9254
9257
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
9255
9258
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
9256
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
9259
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
9257
9260
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
9258
9261
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
9259
9262
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -10946,6 +10949,7 @@ new message content.",
|
|
|
10946
10949
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
10947
10950
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
10948
10951
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
10952
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
10949
10953
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
10950
10954
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
10951
10955
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -189,7 +189,7 @@ exports[`Creatives SmsTraiEdit test/> should cancel 1`] = `
|
|
|
189
189
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
190
190
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
191
191
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
192
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
192
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
193
193
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
194
194
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
195
195
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -197,13 +197,13 @@ exports[`Creatives SmsTraiEdit test/> should cancel 1`] = `
|
|
|
197
197
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
198
198
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
199
199
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
200
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
200
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
201
201
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
202
202
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
203
203
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
204
204
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
205
205
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
206
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
206
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
207
207
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
208
208
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
209
209
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -1896,6 +1896,7 @@ new message content.",
|
|
|
1896
1896
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
1897
1897
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
1898
1898
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
1899
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
1899
1900
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
1900
1901
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
1901
1902
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -2281,7 +2282,6 @@ new message content.",
|
|
|
2281
2282
|
"email": [Function],
|
|
2282
2283
|
"facebookPreview": [Function],
|
|
2283
2284
|
"gallery": [Function],
|
|
2284
|
-
"inApp": [Function],
|
|
2285
2285
|
"language": [Function],
|
|
2286
2286
|
"navigationConfig": [Function],
|
|
2287
2287
|
"previewAndTest": [Function],
|
|
@@ -4660,7 +4660,7 @@ FREE GIFTS-
|
|
|
4660
4660
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
4661
4661
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
4662
4662
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
4663
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
4663
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
4664
4664
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
4665
4665
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
4666
4666
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -4668,13 +4668,13 @@ FREE GIFTS-
|
|
|
4668
4668
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
4669
4669
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
4670
4670
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
4671
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
4671
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
4672
4672
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
4673
4673
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
4674
4674
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
4675
4675
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
4676
4676
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
4677
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
4677
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
4678
4678
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
4679
4679
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
4680
4680
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -6367,6 +6367,7 @@ new message content.",
|
|
|
6367
6367
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
6368
6368
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
6369
6369
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
6370
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
6370
6371
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
6371
6372
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
6372
6373
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -7244,7 +7245,7 @@ exports[`Creatives SmsTraiEdit test/> should render 1`] = `
|
|
|
7244
7245
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
7245
7246
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
7246
7247
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
7247
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
7248
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
7248
7249
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
7249
7250
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
7250
7251
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -7252,13 +7253,13 @@ exports[`Creatives SmsTraiEdit test/> should render 1`] = `
|
|
|
7252
7253
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
7253
7254
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
7254
7255
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
7255
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
7256
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
7256
7257
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
7257
7258
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
7258
7259
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
7259
7260
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
7260
7261
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
7261
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
7262
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
7262
7263
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
7263
7264
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
7264
7265
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -8951,6 +8952,7 @@ new message content.",
|
|
|
8951
8952
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
8952
8953
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
8953
8954
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
8955
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
8954
8956
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
8955
8957
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
8956
8958
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -9336,7 +9338,6 @@ new message content.",
|
|
|
9336
9338
|
"email": [Function],
|
|
9337
9339
|
"facebookPreview": [Function],
|
|
9338
9340
|
"gallery": [Function],
|
|
9339
|
-
"inApp": [Function],
|
|
9340
9341
|
"language": [Function],
|
|
9341
9342
|
"navigationConfig": [Function],
|
|
9342
9343
|
"previewAndTest": [Function],
|
|
@@ -11549,7 +11550,7 @@ FREE GIFTS-
|
|
|
11549
11550
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
11550
11551
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
11551
11552
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
11552
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
11553
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
11553
11554
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
11554
11555
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
11555
11556
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -11557,13 +11558,13 @@ FREE GIFTS-
|
|
|
11557
11558
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
11558
11559
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
11559
11560
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
11560
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
11561
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
11561
11562
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
11562
11563
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
11563
11564
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
11564
11565
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
11565
11566
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
11566
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
11567
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
11567
11568
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
11568
11569
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
11569
11570
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -13256,6 +13257,7 @@ new message content.",
|
|
|
13256
13257
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
13257
13258
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
13258
13259
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
13260
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
13259
13261
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
13260
13262
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
13261
13263
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -14105,7 +14107,7 @@ exports[`Creatives SmsTraiEdit test/> should render 2`] = `
|
|
|
14105
14107
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
14106
14108
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
14107
14109
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
14108
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
14110
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
14109
14111
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
14110
14112
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
14111
14113
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -14113,13 +14115,13 @@ exports[`Creatives SmsTraiEdit test/> should render 2`] = `
|
|
|
14113
14115
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
14114
14116
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
14115
14117
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
14116
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
14118
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
14117
14119
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
14118
14120
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
14119
14121
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
14120
14122
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
14121
14123
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
14122
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
14124
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
14123
14125
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
14124
14126
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
14125
14127
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -15812,6 +15814,7 @@ new message content.",
|
|
|
15812
15814
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
15813
15815
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
15814
15816
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
15817
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
15815
15818
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
15816
15819
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
15817
15820
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -16197,7 +16200,6 @@ new message content.",
|
|
|
16197
16200
|
"email": [Function],
|
|
16198
16201
|
"facebookPreview": [Function],
|
|
16199
16202
|
"gallery": [Function],
|
|
16200
|
-
"inApp": [Function],
|
|
16201
16203
|
"language": [Function],
|
|
16202
16204
|
"navigationConfig": [Function],
|
|
16203
16205
|
"previewAndTest": [Function],
|
|
@@ -18410,7 +18412,7 @@ FREE GIFTS-
|
|
|
18410
18412
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
18411
18413
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
18412
18414
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
18413
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
18415
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
18414
18416
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
18415
18417
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
18416
18418
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -18418,13 +18420,13 @@ FREE GIFTS-
|
|
|
18418
18420
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
18419
18421
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
18420
18422
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
18421
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
18423
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
18422
18424
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
18423
18425
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
18424
18426
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
18425
18427
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
18426
18428
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
18427
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
18429
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
18428
18430
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
18429
18431
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
18430
18432
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -20117,6 +20119,7 @@ new message content.",
|
|
|
20117
20119
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
20118
20120
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
20119
20121
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
20122
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
20120
20123
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
20121
20124
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
20122
20125
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -20966,7 +20969,7 @@ exports[`Creatives SmsTraiEdit test/> should save 1`] = `
|
|
|
20966
20969
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
20967
20970
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
20968
20971
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
20969
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
20972
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
20970
20973
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
20971
20974
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
20972
20975
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -20974,13 +20977,13 @@ exports[`Creatives SmsTraiEdit test/> should save 1`] = `
|
|
|
20974
20977
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
20975
20978
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
20976
20979
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
20977
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
20980
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
20978
20981
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
20979
20982
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
20980
20983
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
20981
20984
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
20982
20985
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
20983
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
20986
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
20984
20987
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
20985
20988
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
20986
20989
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -22673,6 +22676,7 @@ new message content.",
|
|
|
22673
22676
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
22674
22677
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
22675
22678
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
22679
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
22676
22680
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
22677
22681
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
22678
22682
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -23058,7 +23062,6 @@ new message content.",
|
|
|
23058
23062
|
"email": [Function],
|
|
23059
23063
|
"facebookPreview": [Function],
|
|
23060
23064
|
"gallery": [Function],
|
|
23061
|
-
"inApp": [Function],
|
|
23062
23065
|
"language": [Function],
|
|
23063
23066
|
"navigationConfig": [Function],
|
|
23064
23067
|
"previewAndTest": [Function],
|
|
@@ -25592,7 +25595,7 @@ FREE GIFTS-
|
|
|
25592
25595
|
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
25593
25596
|
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
25594
25597
|
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
25595
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size
|
|
25598
|
+
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size up to: {size}",
|
|
25596
25599
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
25597
25600
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
25598
25601
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
@@ -25600,13 +25603,13 @@ FREE GIFTS-
|
|
|
25600
25603
|
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
25601
25604
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
25602
25605
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
25603
|
-
"creatives.componentsV2.CapImageUpload.imageSize": "Size
|
|
25606
|
+
"creatives.componentsV2.CapImageUpload.imageSize": "Size up to: 2MB",
|
|
25604
25607
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
25605
25608
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
25606
25609
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
25607
25610
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
25608
25611
|
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
25609
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size
|
|
25612
|
+
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size up to: 5MB",
|
|
25610
25613
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
25611
25614
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
25612
25615
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -27299,6 +27302,7 @@ new message content.",
|
|
|
27299
27302
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
27300
27303
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
27301
27304
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
27305
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
27302
27306
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
27303
27307
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
27304
27308
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -40,7 +40,6 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
|
|
|
40
40
|
tags: [],
|
|
41
41
|
tagsError: false,
|
|
42
42
|
currentContext: null, // Track current context to detect changes
|
|
43
|
-
hasTriggeredInitialApiCall: false, // Track if we've triggered API call when popover opens
|
|
44
43
|
};
|
|
45
44
|
this.renderTags = this.renderTags.bind(this);
|
|
46
45
|
this.populateTags = this.populateTags.bind(this);
|
|
@@ -52,14 +51,6 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
|
|
|
52
51
|
|
|
53
52
|
componentDidMount() {
|
|
54
53
|
this.generateTags(this.props);
|
|
55
|
-
// Trigger initial API call if tags are empty (similar to Email/SMS behavior)
|
|
56
|
-
const { tags, injectedTags, onContextChange } = this.props;
|
|
57
|
-
const hasNoTags = (!tags || tags.length === 0) && _.isEmpty(injectedTags);
|
|
58
|
-
if (hasNoTags && onContextChange) {
|
|
59
|
-
// Trigger API call with default 'Outbound' context to match CapTagList default
|
|
60
|
-
// This ensures tags are loaded when component mounts
|
|
61
|
-
this.getTagsforContext('Outbound');
|
|
62
|
-
}
|
|
63
54
|
}
|
|
64
55
|
|
|
65
56
|
componentWillReceiveProps(nextProps) {
|
|
@@ -85,10 +76,6 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
|
|
|
85
76
|
if (!_.isEqual(nextTags, currentTags)) {
|
|
86
77
|
this.setState({loading: false});
|
|
87
78
|
this.clearLoadingTimeout();
|
|
88
|
-
// Reset the flag when tags are received, so we can trigger API call again if needed
|
|
89
|
-
if (nextTags && nextTags.length > 0) {
|
|
90
|
-
this.setState({ hasTriggeredInitialApiCall: false });
|
|
91
|
-
}
|
|
92
79
|
}
|
|
93
80
|
if (fetchingSchemaError) {
|
|
94
81
|
this.setState({tagsError: fetchingSchemaError, loading: false});
|
|
@@ -122,11 +109,6 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
|
|
|
122
109
|
};
|
|
123
110
|
|
|
124
111
|
getTagsforContext = (data) => {
|
|
125
|
-
console.log('TagList getTagsforContext called', {
|
|
126
|
-
data,
|
|
127
|
-
hasOnContextChange: !!this.props.onContextChange,
|
|
128
|
-
});
|
|
129
|
-
|
|
130
112
|
// Set loading state when context change is requested
|
|
131
113
|
this.setState({loading: true, currentContext: data});
|
|
132
114
|
|
|
@@ -137,54 +119,9 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
|
|
|
137
119
|
}, 5000); // Reduced timeout to 5 seconds for better UX
|
|
138
120
|
|
|
139
121
|
const { onContextChange } = this.props;
|
|
140
|
-
|
|
141
|
-
// The API call will fetch tags from /meta/TAG endpoint
|
|
142
|
-
if (onContextChange) {
|
|
143
|
-
console.log('TagList: Calling onContextChange with data:', data);
|
|
144
|
-
onContextChange(data);
|
|
145
|
-
} else {
|
|
146
|
-
console.warn('TagList: onContextChange is not available. API call will not be triggered.');
|
|
147
|
-
}
|
|
122
|
+
onContextChange(data);
|
|
148
123
|
}
|
|
149
124
|
|
|
150
|
-
handlePopoverVisibilityChange = (visible) => {
|
|
151
|
-
console.log('TagList handlePopoverVisibilityChange called', {
|
|
152
|
-
visible,
|
|
153
|
-
hasOnContextChange: !!this.props.onContextChange,
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
// When popover opens, trigger API call if tags are empty or if we haven't triggered it yet
|
|
157
|
-
// This ensures API call happens when user clicks "Add Label" button
|
|
158
|
-
if (visible && this.props.onContextChange) {
|
|
159
|
-
const { tags, injectedTags } = this.props;
|
|
160
|
-
// Check if tags array is empty or if state tags are empty
|
|
161
|
-
const hasNoTags = (!tags || tags.length === 0) && _.isEmpty(injectedTags);
|
|
162
|
-
const hasNoStateTags = _.isEmpty(this.state.tags);
|
|
163
|
-
const hasNotTriggeredApiCall = !this.state.hasTriggeredInitialApiCall;
|
|
164
|
-
|
|
165
|
-
console.log('TagList: Checking conditions for API call', {
|
|
166
|
-
hasNoTags,
|
|
167
|
-
hasNoStateTags,
|
|
168
|
-
hasNotTriggeredApiCall,
|
|
169
|
-
willTrigger: (hasNoTags || hasNoStateTags || hasNotTriggeredApiCall),
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
// Trigger API call if tags are not loaded yet OR if we haven't triggered it yet
|
|
173
|
-
if ((hasNoTags || hasNoStateTags || hasNotTriggeredApiCall)) {
|
|
174
|
-
// Mark that we've triggered the API call
|
|
175
|
-
this.setState({ hasTriggeredInitialApiCall: true });
|
|
176
|
-
console.log('TagList: Triggering API call with Outbound context');
|
|
177
|
-
// Trigger API call with default 'Outbound' context to match CapTagList default
|
|
178
|
-
// This will call onContextChange which triggers handleOnTagsContextChange in InApp
|
|
179
|
-
this.getTagsforContext('Outbound');
|
|
180
|
-
} else {
|
|
181
|
-
console.log('TagList: API call not triggered - conditions not met');
|
|
182
|
-
}
|
|
183
|
-
} else {
|
|
184
|
-
console.log('TagList: API call not triggered - popover not visible or onContextChange not available');
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
|
|
188
125
|
generateTags = (props) => {
|
|
189
126
|
let tags = {};
|
|
190
127
|
let injectedTags = {};
|
|
@@ -429,14 +366,12 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
|
|
|
429
366
|
visibleTaglist={this.props.visibleTaglist}
|
|
430
367
|
hidePopover={this.props.hidePopover}
|
|
431
368
|
onContextChange={this.getTagsforContext}
|
|
432
|
-
onVisibleChange={this.handlePopoverVisibilityChange}
|
|
433
369
|
moduleFilterEnabled={this.props.moduleFilterEnabled}
|
|
434
370
|
modalProps={this.props.modalProps}
|
|
435
371
|
currentOrgDetails={this.props.currentOrgDetails}
|
|
436
372
|
channel={this.props.channel}
|
|
437
373
|
disabled={this.props.disabled}
|
|
438
374
|
fetchingSchemaError={this?.state?.tagsError}
|
|
439
|
-
popoverPlacement={this.props.popoverPlacement}
|
|
440
375
|
/>
|
|
441
376
|
</div>
|
|
442
377
|
);
|
|
@@ -467,7 +402,6 @@ TagList.propTypes = {
|
|
|
467
402
|
disabled: PropTypes.bool,
|
|
468
403
|
fetchingSchemaError: PropTypes.bool,
|
|
469
404
|
eventContextTags: PropTypes.array,
|
|
470
|
-
popoverPlacement: PropTypes.string,
|
|
471
405
|
intl: PropTypes.shape({
|
|
472
406
|
formatMessage: PropTypes.func.isRequired,
|
|
473
407
|
locale: PropTypes.string,
|
|
@@ -14,7 +14,7 @@ import inAppIllustration from '@capillarytech/cap-ui-library/assets/images/featu
|
|
|
14
14
|
import messages from './messages';
|
|
15
15
|
import { FormattedMessage } from 'react-intl';
|
|
16
16
|
import { CapIllustration } from "@capillarytech/cap-ui-library";
|
|
17
|
-
import { MOBILE_PUSH, SMS, EMAIL, LINE, VIBER, FACEBOOK, WHATSAPP, RCS, ZALO, INAPP } from '../CreativesContainer/constants';
|
|
17
|
+
import { MOBILE_PUSH, SMS, EMAIL, LINE, VIBER, FACEBOOK, WHATSAPP, RCS, ZALO, INAPP, WEBPUSH } from '../CreativesContainer/constants';
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
// Configuration object for channel types
|
|
@@ -133,6 +133,18 @@ function ChannelTypeIllustration(props) {
|
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
if (type === WEBPUSH) {
|
|
137
|
+
return {
|
|
138
|
+
buttonLabel: <FormattedMessage {...messages.newWebPushTemplate} values={{ template: templateText }} />,
|
|
139
|
+
onClick: createTemplate,
|
|
140
|
+
illustrationImage: pushIllustration,
|
|
141
|
+
title: <FormattedMessage {...messages.webPushTitleIllustration} values={{ template: templateText }} />,
|
|
142
|
+
description: <FormattedMessage {...messages.webPushDescIllustration} />,
|
|
143
|
+
descriptionPosition: 'bottom',
|
|
144
|
+
descriptionClassName: 'illustration-desc',
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
136
148
|
// Handle standard channels using configuration
|
|
137
149
|
const config = CHANNEL_CONFIG[type];
|
|
138
150
|
if (!config) {
|