Commit Graph

1240 Commits

Author SHA1 Message Date
Rishabh
bf12fb935d Fixed tests 2022-06-01 02:05:53 +05:30
Peter Zimon
e320af30ae Changed signup button text for single-tier-only case 2022-05-30 10:38:53 +02:00
Matt Hanley
f1c5647997 v2.1.7 2022-05-27 16:26:45 +01:00
Matt Hanley
704906e9b6 Updated firstpromoter after settings rename (#249)
refs https://github.com/TryGhost/Ghost/pull/14801

- `firstpromoter_id` is now `firstpromoter_account`
2022-05-27 16:24:21 +01:00
Rishabh
445e8f9536 v2.1.6 2022-05-24 20:27:54 +05:30
Rishabh
cd76b9fb6d Removed empty customer email from checkout session payload
- removes customerEmail sent as empty string when missing in some cases, which causes Stripe error in checkout session creation
2022-05-24 20:14:51 +05:30
Rishabh
25f9c852b2 v2.1.5 2022-05-24 14:24:05 +05:30
Rishabh
bd79d49b8a 🐛 Fixed label for email newsletter pref UI for single newsletter 2022-05-24 14:21:50 +05:30
Rishabh
e2579a9118 v2.1.4 2022-05-23 18:28:24 +05:30
Rishabh
f529ad3df6 🐛 Fixed missing benefits from signup page
- tiers api structure changed how benefits data is returned
- transformation of tier benefits was missing a return
2022-05-23 18:24:46 +05:30
Rishabh
950cb73c1d v2.1.3 2022-05-19 09:24:08 +05:30
Rishabh
c96149198d Fixed direct signup links not opening stripe checkout session
- state data is not available in actions when signing up directly via signup or offer query on page load
- adds tier and cadence data directly to the action to bypass state data need when available
2022-05-19 09:23:16 +05:30
Rishabh
6216ff1971 v2.1.2 2022-05-18 08:54:12 +05:30
Rishabh
6c776af10b Fixed newsletter selection on offer page
- newsletter selection is moved inline instead of new page for offer signups
2022-05-18 08:35:47 +05:30
Rishabh
8ca7192d35 v2.1.1 2022-05-17 23:32:25 +05:30
Rishabh
8108448f70 Updated handling for default noreply support address
- with content api, site support address can have value of default `noreply`
- adds the default site domain for support address in case of missing domain
2022-05-17 23:20:45 +05:30
Rishabh
799570fbd0 Removed www from support address email
refs https://github.com/TryGhost/Team/issues/397

- the logic for default support address domain was not removing `www`, causing address to be formed as `noreply@www.example.com` instead of `noreply@example.com`
- removes `www` from the domain for support email address
2022-05-17 22:33:33 +05:30
Rishabh
ba142e714b v2.1.0 2022-05-17 14:05:50 +05:30
Rishabh Garg
b306b0747d Handled updated tiers API data structure (#247)
refs https://github.com/TryGhost/Team/issues/1575

- updated to work with new tiers api data structure which removes stripe id references
2022-05-17 14:03:51 +05:30
Djordje Vlaisavljevic
7699424cee Updated unsubscribe success message design
refs https://github.com/TryGhost/Team/issues/1495
2022-05-16 16:52:21 +02:00
Rishabh
c32c86047d Added account/newsletters link for member email preference
- adds new `/account/newsletters` portal link for member's to see their email preference
- redirects to signin if member is not logged in
- updates newsletter page for logged out members
2022-05-16 18:29:42 +05:30
Rishabh
43a6b8c1ed Added notification for default unsubscribed newsletter
refs https://github.com/TryGhost/Team/issues/1495
2022-05-16 16:38:19 +05:30
Peter Zimon
2e9735c5c4 Fixed footer spacings for multiple tiers signup 2022-05-13 12:48:23 +02:00
Peter Zimon
63bd92b6f2 Fixed bottom margin of signup message 2022-05-13 12:45:00 +02:00
Rishabh
159ed13ab7 v2.0.2 2022-05-12 23:31:06 +05:30
Rishabh
b3d2dbc9e9 Wired choose plan back button on newsletter page 2022-05-12 23:29:09 +05:30
Rishabh
2e1567ac67 v2.0.1 2022-05-12 23:22:33 +05:30
Rishabh
eff1abc948 Updated offer detail endpoint to use content api
refs https://github.com/TryGhost/Team/issues/1599

- offer details are now available directly on content api
2022-05-12 21:28:11 +05:30
Rishabh
7e383a97f6 Serialized missing settings from portal site data
refs https://github.com/TryGhost/Team/issues/1599

- old settings `allow_self_signup` and `is_stripe_configured` and `member_signup_access` are now removed in site data, and are replaced by new settings.
- this change maps the new settings to old settings so Portal behavior remains the same
- long term, we'll update usages in Portal to rely on new settings only
2022-05-12 20:59:58 +05:30
Rishabh
f7d3d56cb3 Updated serialisation for new site endpoint data
refs https://github.com/TryGhost/Team/issues/1599
2022-05-12 20:47:24 +05:30
Rishabh
5eb1131816 Removed old members site endpoint usage
refs https://github.com/TryGhost/Team/issues/1599
2022-05-12 20:46:52 +05:30
Rishabh
8bee963e53 Fixed lint and warnings 2022-05-12 20:38:03 +05:30
Rishabh
d2d3e3ba08 Updated site initialisation to use content api
closes https://github.com/TryGhost/Team/issues/1599

- portal uses content API to fetch data now instead of old members site endpoint
2022-05-12 20:31:47 +05:30
Rishabh
7e264b2fcd v2.0.0 2022-05-12 20:26:34 +05:30
Djordje Vlaisavljevic
980fbd98ac Updated design for newsletter selection page
refs https://github.com/TryGhost/Team/issues/1559
2022-05-11 20:33:31 +02:00
Djordje Vlaisavljevic
6dfb87fadb Added class to signup section
refs https://github.com/TryGhost/Team/issues/1559
2022-05-11 20:32:54 +02:00
Djordje Vlaisavljevic
c61860742d Changed back button label
refs https://github.com/TryGhost/Team/issues/1559
2022-05-11 20:31:46 +02:00
Djordje Vlaisavljevic
77272bcc9a Updated unsubscribe design
refs https://github.com/TryGhost/Team/issues/1495
2022-05-10 22:44:03 +02:00
Djordje Vlaisavljevic
334c2c290a Updated checkmark notification design
refs https://github.com/TryGhost/Team/issues/1440
2022-05-10 11:30:19 +02:00
Djordje Vlaisavljevic
fe961b0630 Added checkmark circle icon
refs https://github.com/TryGhost/Team/issues/1440
2022-05-10 11:29:46 +02:00
Djordje Vlaisavljevic
966146e8fa Removed alternative checkmark icon
refs https://github.com/TryGhost/Team/issues/1440
2022-05-10 11:29:35 +02:00
Rishabh
7ac062ae68 Added transition classnames for success icon 2022-05-09 16:08:37 +05:30
Djordje Vlaisavljevic
a1be413924 Updated icon design
refs https://github.com/TryGhost/Team/issues/1440
2022-05-09 11:52:50 +02:00
Djordje Vlaisavljevic
f5f5c56267 Added checkmark-circle icon
refs https://github.com/TryGhost/Team/issues/1440
2022-05-09 11:52:10 +02:00
Rishabh
e9a282ee43 Refined newsletter preference update UI
refs https://github.com/TryGhost/Team/issues/1559
2022-05-06 18:59:05 +05:30
Rishabh
160c61e66f Handled auto unsubscribe email newsletter
refs TryGhost/Team#1495

For single newsletters, the unsubscribe link on emails auto unsubscribed member from the newsletter. In case of multiple newsletters, we were missing the newsletter information on unsubscribe URL that will allow us to auto unsubscribe member from that specific newsletter as they intended, while allowing them option to manage other newsletter preferences.
This change handles the newsletter param in unsubscribe link and auto unsubscribes the member from that newsletter.
2022-05-05 12:26:39 +05:30
Rishabh
7e4ec97c0a v1.22.4 2022-05-05 12:24:50 +05:30
Djordje Vlaisavljevic
f3f1d833ff Updated button label to make it clearer
refs https://github.com/TryGhost/Team/issues/1559
2022-05-04 18:26:24 +02:00
Djordje Vlaisavljevic
90e505d469 Updated unsubscribe design and cleaned up code
refs https://github.com/TryGhost/Team/issues/1495
2022-05-04 18:25:00 +02:00
Renovate Bot
692911185c Update sentry-javascript monorepo to v6.19.7 2022-04-29 16:32:58 +00:00