@pushwoosh/smart-components-kit 1.0.21 → 1.0.23
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.
|
@@ -10,6 +10,7 @@ export function CampaignsConfigurationDrawer(props) {
|
|
|
10
10
|
applicationCode,
|
|
11
11
|
segmentCode,
|
|
12
12
|
isOpen,
|
|
13
|
+
segmentTitle = '',
|
|
13
14
|
onClose
|
|
14
15
|
} = props;
|
|
15
16
|
return React.createElement(Drawer, {
|
|
@@ -47,26 +48,26 @@ export function CampaignsConfigurationDrawer(props) {
|
|
|
47
48
|
title: "Push notification based",
|
|
48
49
|
description: "Create a targeted campaign for users and plan follow-up for unopened messages.",
|
|
49
50
|
icon: PushIcon,
|
|
50
|
-
href: `/journeys/${applicationCode}/create?channel=push&segment=${segmentCode}`
|
|
51
|
+
href: `/journeys/${applicationCode}/create?channel=push&segment=${segmentCode}&segment_title=${segmentTitle}`
|
|
51
52
|
}), React.createElement(Card, {
|
|
52
53
|
title: "Email campaign",
|
|
53
54
|
description: "Create tailored communication strategies with follow-ups based on user actions.",
|
|
54
55
|
icon: EmailIcon,
|
|
55
|
-
href: `/journeys/${applicationCode}/create?channel=email&segment=${segmentCode}`
|
|
56
|
+
href: `/journeys/${applicationCode}/create?channel=email&segment=${segmentCode}&segment_title=${segmentTitle}`
|
|
56
57
|
}), React.createElement(Card, {
|
|
57
58
|
title: "In-app campaign",
|
|
58
59
|
description: "Display the banner to the intended users and monitor their subsequent actions.",
|
|
59
60
|
icon: MobileIcon,
|
|
60
|
-
href: `/journeys/${applicationCode}/create?channel=inapp&segment=${segmentCode}`
|
|
61
|
+
href: `/journeys/${applicationCode}/create?channel=inapp&segment=${segmentCode}&segment_title=${segmentTitle}`
|
|
61
62
|
}), React.createElement(Card, {
|
|
62
63
|
title: "SMS campaign",
|
|
63
64
|
description: "Automate SMS delivery for quick, reliable messaging.",
|
|
64
65
|
icon: SmsIcon,
|
|
65
|
-
href: `/journeys/${applicationCode}/create?channel=sms&segment=${segmentCode}`
|
|
66
|
+
href: `/journeys/${applicationCode}/create?channel=sms&segment=${segmentCode}&segment_title=${segmentTitle}`
|
|
66
67
|
}), React.createElement(Card, {
|
|
67
68
|
title: "WhatsApp campaign",
|
|
68
69
|
description: "Engage your audience on WhatsApp with rich, personalized messages.",
|
|
69
70
|
icon: WhatsappIcon,
|
|
70
|
-
href: `/journeys/${applicationCode}/create?channel=whatsapp&segment=${segmentCode}`
|
|
71
|
+
href: `/journeys/${applicationCode}/create?channel=whatsapp&segment=${segmentCode}&segment_title=${segmentTitle}`
|
|
71
72
|
}))))));
|
|
72
73
|
}
|
package/context/types.d.ts
CHANGED
package/package.json
CHANGED