feat(medusa-react,medusa,types,dashboard): added empty state + table for promotions list page (#6827)

what:

- adds empty state for promotions list page
- lists all promotions with pagination

<img width="1663" alt="Screenshot 2024-03-26 at 14 19 27" src="https://github.com/medusajs/medusa/assets/5105988/ed0d5c65-d003-40f5-b899-540970d892f5">


<img width="1664" alt="Screenshot 2024-03-27 at 20 46 17" src="https://github.com/medusajs/medusa/assets/5105988/4aa40f09-fe3f-4f34-af7a-f5c183254c76">
This commit is contained in:
Riqwan Thamir authored and GitHub committed 2024-03-29 11:22:42 +00:00
1 parent 6113af0a66
commit 0c0b425de7
33 files changed
+542 -11

No files matched your search

@@ -502,6 +502,16 @@
"disabled": "Disabled"
}
},
"promotions": {
"domain": "Promotions",
"fields": {
"method": "Method",
"campaign": "Campaign"
},
"deleteWarning": "You are about to delete the promotion {{code}}. This action cannot be undone.",
"createPromotionTitle": "Create Promotion",
"type": "Promotion type"
},
"pricing": {
"domain": "Pricing",
"deletePriceListWarning": "You are about to delete the price list {{name}}. This action cannot be undone.",
@@ -801,6 +811,12 @@
"serverError": "Server error - Try again later.",
"invalidCredentials": "Wrong email or password"
},
"statuses": {
"scheduled": "Scheduled",
"expired": "Expired",
"active": "Active",
"disabled": "Disabled"
},
"fields": {
"amount": "Amount",
"name": "Name",