feat(dashboard): add promotions to campaign UI (#7283)

* feat(core-flows,types,medusa): API to add promotions to campaign

* chore: consolidate specs

* chore: split workflows step into 2

* chore: fix tests

* chore: fix specs

* chore: add promotions to campaign UI

* chore: fix bug wrt to not refreshing

* chore: address review comments
This commit is contained in:
Riqwan Thamir
2024-05-10 10:39:01 +02:00
committed by GitHub
parent ea872cbda9
commit 6ec5ded6c8
13 changed files with 374 additions and 24 deletions
@@ -1086,6 +1086,16 @@
}
}
},
"promotions": {
"remove": {
"title": "Remove promotion from campaign",
"description": "You are about to remove {{count}} promotion(s) from the campaign. This action cannot be undone."
},
"alreadyAdded": "This promotion has already been added to the campaign.",
"toast": {
"success": "Successfully added {{count}} promotion(s) to campaign"
}
},
"deleteCampaignWarning": "You are about to delete the campaign {{name}}. This action cannot be undone.",
"totalSpend": "<0>{{amount}}</0> <1>{{currency}}</1>"
},