Rishabh
bb575dbb87
Added portal preview to offer screen
...
refs https://github.com/TryGhost/Team/issues/1137
- adds new portal preview using portal offer url on offer screen
- adds new utility to calculate portal offer preview url from data
- fixed tiny bug with discount type currency not shown correctly
2021-10-18 14:31:29 +05:30
Peter Zimon
be5ef010a5
Offers archive/active refinements
...
- added empty archive screen
- added indication of archive offer on detail page
- set default dropdown style to non-selected
- removed archive button for new offers
2021-10-15 12:49:42 +02:00
Peter Zimon
2234b04a56
Fix form group bottom margins
2021-10-14 17:11:29 +02:00
Rishabh
2645bb895c
Updated copy for archive/reactivate offers
...
refs https://github.com/TryGhost/Team/issues/1148
2021-10-14 00:53:31 +05:30
Rishabh
88049f1692
Updated offers list to filter on archived offers
...
refs https://github.com/TryGhost/Team/issues/1136
- adds dropdown for active/archived offers selection
- wires active/archived offers on list screen to API
- filters offers list on archived/active based on selection
2021-10-13 21:23:30 +05:30
Rishabh
667a4b6e78
Added (un)archive button to offer detail screen
...
refs https://github.com/TryGhost/Team/issues/1136
- adds option to archive/unarchive an offer
- adds new modals for confirmation of archive or unarchive of offer
- wired (un)archiving of offers to API
2021-10-13 21:23:30 +05:30
Rishabh
7ef2b08883
Fixed offer percentage amount not getting set
...
no refs
2021-10-08 19:15:56 +05:30
Rishabh
4bbbea29ed
Refined fixed discount type amount UI
...
refs https://github.com/TryGhost/Team/issues/1084
refs https://github.com/TryGhost/Team/issues/1085
- uses price helper to show Stripe amount instead of manual calculation
2021-10-08 18:50:18 +05:30
Peter Zimon
600edc0d60
Updated percentage/amount selector for offers
2021-10-08 12:48:41 +02:00
Rishabh
bbaad743a3
Refined offer detail screen
...
refs https://github.com/TryGhost/Team/issues/1085
- adds unsaved changes modal for navigating away
- adds link url for offer redemption
- updated amount calculation for fixed amount offers (1000 for 10 USD)
- disabled discount info section for existing offers
2021-10-08 01:43:59 +05:30
Peter Zimon
1861c8b4eb
Copy update for offer details
2021-10-07 12:17:50 +02:00
Peter Zimon
b5d30ba92e
Temporarily removed Archive option for offers
2021-10-07 12:16:30 +02:00
Peter Zimon
e244304538
Offer list and detail improvements
...
- added icon to offer value
- added link popup to list
- renamed "Delete offer" to "Archive offer"
2021-10-07 11:21:53 +02:00
Peter Zimon
b942029cc9
Added dynamic currency to offers form
2021-10-06 17:49:45 +02:00
Rishabh
31e4b77525
Added initial wiring for offer screens
...
refs https://github.com/TryGhost/Team/issues/1084
refs https://github.com/TryGhost/Team/issues/1085
- adds model/validator/config and router for offers
- updates template for offer list and detail with dynamic values
- updated route handling for offer list and creation
- wires offer data from API to list and detail pages
2021-10-06 20:01:25 +05:30
Peter Zimon
611fbf5926
Added static URL to offers detail screen
2021-10-05 15:03:39 +02:00
Peter Zimon
24d28f3d79
Added static duration to Offers edit
2021-10-05 14:34:19 +02:00
Peter Zimon
84c9123bfd
Added mock content for offers list help
2021-10-04 16:17:32 +02:00
Peter Zimon
5343b9f6b5
Added unit to offer value
2021-10-04 15:21:28 +02:00
Peter Zimon
96ec92a47b
Update offer details structure
...
- Added static UI to offer details page
- Deleted offer modal
2021-10-04 15:00:41 +02:00
Peter Zimon
390b2b136f
Added base files for Offers structure
...
- Moving Offers outside settings to main menu
- Moving Integrations and Staff to settings
2021-10-04 13:01:12 +02:00