Commit Graph

914 Commits

Author SHA1 Message Date
Rishabh
d2a3542bfb Fixed missing price data on member subscription
no refs

- update missing price data for member using existing plan data
2021-07-01 23:20:08 +05:30
Peter Zimon
38fba7936d Fixed single product benefit for mobile 2021-07-01 10:55:17 +02:00
Rishabh
be39f4c481 v1.7.1 2021-06-30 16:57:49 +05:30
Peter Zimon
63ea290da6 Updated product card width 2021-06-30 13:05:30 +02:00
Peter Zimon
48a52e942f Refined benefits 2021-06-30 12:43:40 +02:00
Rishabh
c0e69ea29b Fixed discount benefit for yearly plans
no refs

- adds missing `site` data for calculating yearly plan benefit with discount
2021-06-30 15:14:59 +05:30
Rishabh
fc6bb509ae v1.7.0 2021-06-29 21:46:58 +05:30
Rishabh
bda6f36a3c Refined multiple product flows
closes https://github.com/TryGhost/Team/issues/835

- updates change flow to consider portal_plans setting
- updates confirm subscription screen to show product name
- removed discount benefit on yearly if only one plan
2021-06-29 21:26:58 +05:30
Peter Zimon
db12a9976f Refined signup footer for multiple products 2021-06-29 16:30:55 +02:00
Peter Zimon
0dd1637bdb Refined single product single price design 2021-06-29 15:53:21 +02:00
Peter Zimon
0d82697542 Refined change plan 2021-06-29 15:17:54 +02:00
Rishabh
e636542aa7 Refined desktop UI for change plan flow with multiple products
refs https://github.com/TryGhost/Team/issues/824

- updates desktop flow to match the mobile flow
2021-06-29 17:24:11 +05:30
Rishabh
d34d9c2489 Refined multiple products change plan flow
refs https://github.com/TryGhost/Team/issues/824

- updates the change plan flow for multiple products flag
- adds new plan components for change plan flow
- updates helpers
- updates fixtures
2021-06-29 17:12:53 +05:30
Peter Zimon
cdfbd18dbb Refined upgrade flow 2021-06-29 12:01:34 +02:00
Peter Zimon
594b951fb6 Refined mobile styles 2021-06-29 11:42:18 +02:00
Rishabh
fcf3dfce6a Refined upgrade flow for multiple products
refs https://github.com/TryGhost/Team/issues/823

- upgrade flow for multiple product reuses the UI from mobile signup page
- cleanup of helpers and components
2021-06-29 14:31:14 +05:30
Peter Zimon
d4f56d96a3 Refined singple product mobile sizes 2021-06-29 10:33:34 +02:00
Peter Zimon
e75a55bbea Single product benefits refinements 2021-06-29 10:22:03 +02:00
Rishabh
96a6f5d993 Updated benefits display for single product behind flag
refs https://github.com/TryGhost/Team/issues/796

- un-hides benefits on the mobile size for single product UI behind flag on signup
2021-06-29 12:30:49 +05:30
Rishabh
c3ead6703f Fixed default portal products in preview
no refs

- `portal_products` is used to determine the feature flag behavior for multiple products, so defaults to null if not passed
2021-06-29 12:18:23 +05:30
Rishabh
112a18bc0b Updated single product with feature flag signup UI
refs https://github.com/TryGhost/Team/issues/796

- adds new helper for explicit feature flag for multiple products
- updated single product signup ui to include benefits
- added new component for single product ui
2021-06-29 12:02:13 +05:30
Renovate Bot
77a8bf4c6f Lock file maintenance 2021-06-28 16:35:34 +00:00
Peter Zimon
8d4035a818 Single product benefits refinements 2021-06-28 16:03:51 +02:00
Rishabh
5d4e5aa4c8 Added hasBenefits helper to manage UI
no refs
2021-06-28 18:43:12 +05:30
Rishabh
d43998eb47 Added benefits to plans section
no refs
2021-06-28 16:22:10 +05:30
Rishabh
f8798952ac Updated benefits text to use name instead of title
no refs

- the benefits text is stored as `name` instead of `title`
2021-06-28 12:53:11 +05:30
Rishabh
43030eb5e3 v1.6.10 2021-06-28 11:08:19 +05:30
Rishabh
cfdd8c93ca Updated portal products check for only multiple products
no refs
2021-06-28 11:07:23 +05:30
Renovate Bot
b60ac8d952 Update dependency eslint-plugin-ghost to v2.4.0 2021-06-28 02:42:17 +00:00
Rishabh
0c8483b8d5 v1.6.9 2021-06-25 13:09:59 +05:30
Rishabh
aabb02fc5f Filtered empty monthly/yearly prices in product
no refs

- in a rare scenario when monthly/yearly price comes as empty object, which happens if the price is missing in DB, this adds a guard to ignore the product than cause an error
2021-06-25 13:08:06 +05:30
Rishabh
d8f121e7b0 v1.6.8 2021-06-25 12:06:26 +05:30
Rishabh
0dcf06da99 Restricted Sentry event capturing to portal events
no refs

- updates Sentry's `beforeSend` method to restrict and send events originated by portal
2021-06-25 12:05:38 +05:30
Rishabh
60c4ba5888 v1.6.7 2021-06-25 09:44:00 +05:30
Rishabh
4ae361f99a Updated Sentry release tag to include full version
no refs

Updates sentry release tag to include full Portal version from env variable
2021-06-25 09:42:06 +05:30
Renovate Bot
f8d6e78de7 Update dependency @testing-library/react to v12 2021-06-24 19:34:18 +00:00
Rishabh
50f69af9d5 Bumped node version for test workflow to 14
no refs
2021-06-24 22:20:29 +05:30
Rishabh
422dd12c14 v1.6.6 2021-06-24 21:48:04 +05:30
Rishabh
38202c1472 Added guard for missing contentDocument
no refs

- in a rare edge case, its possible that `contentDocument` is not available due to component unmount, guards against erroring in such scenarios
2021-06-24 21:47:31 +05:30
Rishabh
87148b789c v1.6.5 2021-06-24 21:08:52 +05:30
Rishabh
447d3571e8 Cleaned up benefits section for products
no refs
2021-06-24 21:08:00 +05:30
Rishabh
05999e0c81 Filtered portal script url for Sentry error reporting
no refs

By default, Sentry will pick up any uncaught error triggered from the site, which adds a lot of noise as we only want to listen to Portal specific errors. This change adds portal's unpkg script as the only allowed url for Sentry error reporting.
2021-06-24 21:01:23 +05:30
Peter Zimon
42eb39df0b Updated benefits for mobile sizes 2021-06-24 14:29:36 +02:00
Peter Zimon
435e9059bc Show benefits only if they exist 2021-06-24 14:16:35 +02:00
Peter Zimon
12599c282a Updated mobile sizes for benefits 2021-06-24 14:10:37 +02:00
Peter Zimon
ab60eed6fe Refined list of available products (upgrade) 2021-06-24 14:10:37 +02:00
Rishabh
f2aab7a5bb v1.6.4 2021-06-24 16:54:00 +05:30
Rishabh
aa9818ed83 Fixed price check for complimentary member
no refs
2021-06-24 16:53:24 +05:30
Rishabh
b2bcad3338 v1.6.3 2021-06-24 13:55:45 +05:30
Rishabh
4fdcd9c4d0 Fixed product filtering for available products
no refs
2021-06-24 13:55:02 +05:30