Commit Graph

1213 Commits

Author SHA1 Message Date
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
Rishabh
4ef7587bad v1.22.3 2022-04-28 18:18:11 +05:30
Rishabh
92ba966345 Updated copy
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 18:17:05 +05:30
Rishabh
1dc0535c10 Added newsletter pref page for single site newsletters
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 18:15:41 +05:30
Rishabh
657dabd4eb v1.22.2 2022-04-28 17:37:19 +05:30
Rishabh
7ca28de358 Added default unsubscribe for single newsletter unsubscribe
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 17:31:34 +05:30
Djordje Vlaisavljevic
2ae8a5e14e Updated design
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:58:21 +02:00
Djordje Vlaisavljevic
f4e4da04c5 Updated design
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:50:20 +02:00
Djordje Vlaisavljevic
91fba6bf53 Added manage account preferences button
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:38:55 +02:00
Djordje Vlaisavljevic
e488699e9f Added close button
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:31:57 +02:00
Djordje Vlaisavljevic
4eed600111 Fixed linting issue
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:21:20 +02:00
Djordje Vlaisavljevic
4342da366f Updated design for unubscribe modal
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:20:29 +02:00
Djordje Vlaisavljevic
d4db34b069 Updated copy
refs https://github.com/TryGhost/Team/issues/1440
2022-04-28 09:31:22 +02:00
Djordje Vlaisavljevic
92811915dd Updated design for unsubscribe page
refs https://github.com/TryGhost/Team/issues/1495
2022-04-27 20:27:19 +02:00
Rishabh
82bd498ce9 v1.22.1 2022-04-27 20:59:06 +05:30
Rishabh
adcf65a821 Added unsubscribe page for email unsubscribe links
refs https://github.com/TryGhost/Team/issues/1495

With the addition of multiple newsletters, members can now view and mange their newsletter preferences via Portal when on the site.
This change allows members to manage their newsletter subscription via unsubscribe link on emails.

- adds new Unsubscribe page in portal to manage member's unsubscribe link handling
- adds 2 new endpoints to fetch/update member's newsletters via UUID
2022-04-27 20:56:20 +05:30
Rishabh
926df30ccd Refined newsletter management for logged-in members
refs https://github.com/TryGhost/Team/issues/1559

- extracts newsletter management in a common component for use across pages
2022-04-27 20:56:20 +05:30
Peter Zimon
2ab6093d9e Updated preview background color 2022-04-27 17:15:12 +02:00
Djordje Vlaisavljevic
47abf4061c Commented out tierName
refs https://github.com/TryGhost/Team/issues/1559
2022-04-27 16:09:13 +02:00
Djordje Vlaisavljevic
17000293b1 Updated CTA heading
refs https://github.com/TryGhost/Team/issues/1559
2022-04-27 15:59:52 +02:00
Djordje Vlaisavljevic
46f915ddfc Updated CTA heading typography
refs https://github.com/TryGhost/Team/issues/1490
2022-04-26 23:26:48 +02:00
Djordje Vlaisavljevic
5e48105f16 Changed toggle alignment
refs https://github.com/TryGhost/Team/issues/1490
2022-04-26 23:21:58 +02:00
Djordje Vlaisavljevic
dfe390d8b7 Updated CTA heading typography
refs https://github.com/TryGhost/Team/issues/1490
2022-04-26 23:09:57 +02:00
Djordje Vlaisavljevic
13416b8322 Changed alignment of toggles
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 22:58:14 +02:00
Djordje Vlaisavljevic
c2444a2879 Added description for Email preferences
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 22:01:33 +02:00
Djordje Vlaisavljevic
40d2d970e4 Add right margin to portal list
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 21:52:35 +02:00
Djordje Vlaisavljevic
f4cb7ac04b Changed word-break property for descriptions
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 21:49:10 +02:00
Peter Zimon
303e7286a2 Fixed current plan button z-index bug 2022-04-25 22:50:16 +02:00