feat(dashboard,core,medusa,promotion): add campaigns UI (#7269)
* feat(dashboard,core,medusa,promotion): add campaigns UI * chore: add without campaign choice to promotion ui * chore: fix builds and types * chore: fix design issues * chore: address pr reviews
This commit is contained in:
1 parent
5952fddad5
commit
6da2964998
48 files changed
+2027
-100
No files matched your search
@@ -711,7 +711,7 @@
|
||||
"description": "A service zone is a geographical region that can be shipped to from a specific location. You can later on add any number of shipping options to this zone. ",
|
||||
"zoneName": "Zone name"
|
||||
},
|
||||
"edit":{
|
||||
"edit": {
|
||||
"title": "Edit Service Zone"
|
||||
},
|
||||
"deleteWarning": "Are you sure you want to delete \"{{name}}\". This will also delete all assocciated shipping options.",
|
||||
@@ -761,7 +761,7 @@
|
||||
"provider": "Fulfillment provider"
|
||||
}
|
||||
},
|
||||
"returnOptions" : {
|
||||
"returnOptions": {
|
||||
"create": {
|
||||
"title": "Create a return option for {{zone}}"
|
||||
}
|
||||
@@ -968,6 +968,10 @@
|
||||
"new": {
|
||||
"title": "New Campaign",
|
||||
"description": "Would you like to create a new campaign with this promotion?"
|
||||
},
|
||||
"none": {
|
||||
"title": "Without Campaign",
|
||||
"description": "Proceed without associating promotion with campaign"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
@@ -1032,21 +1036,58 @@
|
||||
"campaigns": {
|
||||
"domain": "Campaigns",
|
||||
"details": "Campaign details",
|
||||
"status": {
|
||||
"active": "active",
|
||||
"expired": "expired",
|
||||
"scheduled": "scheduled"
|
||||
},
|
||||
"delete": {
|
||||
"title": "Are you sure?",
|
||||
"description": "You are about to delete the campaign '{{name}}'. This action cannot be undone.",
|
||||
"successToast": "Campaign '{{name}}' was successfully created."
|
||||
},
|
||||
"edit": {
|
||||
"header": "Edit Campaign",
|
||||
"successToast": "Campaign '{{name}}' was successfully updated."
|
||||
},
|
||||
"create": {
|
||||
"hint": "Create a promotional campaign",
|
||||
"header": "Create Campaign",
|
||||
"successToast": "Campaign '{{name}}' was successfully created."
|
||||
},
|
||||
"fields": {
|
||||
"name": "Name",
|
||||
"identifier": "Identifier",
|
||||
"start_date": "Start date",
|
||||
"end_date": "End date"
|
||||
"end_date": "End date",
|
||||
"total_spend": "Total spend",
|
||||
"budget_limit": "Budget limit"
|
||||
},
|
||||
"budget": {
|
||||
"create": {
|
||||
"hint": "Create a budget for the campaign",
|
||||
"header": "Campaign Budget"
|
||||
},
|
||||
"details": "Campaign budget",
|
||||
"fields": {
|
||||
"type": "Type",
|
||||
"currency": "Currency",
|
||||
"limit": "Limit",
|
||||
"used": "Used"
|
||||
},
|
||||
"type": {
|
||||
"spend": {
|
||||
"title": "Spend",
|
||||
"description": "Limit usage based on a currency value"
|
||||
},
|
||||
"usage": {
|
||||
"title": "Usage",
|
||||
"description": "Limit usage based on how many times its used"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"deleteCampaignWarning": "You are about to delete the campaign {{name}}. This action cannot be undone.",
|
||||
"totalSpend": "<0>{{amount}}</0> <1>{{currency}}</1>"
|
||||
},
|
||||
"pricing": {
|
||||
"domain": "Pricing",
|
||||
|
||||
Reference in new issue
Block a user