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
Rishabh
7fe377d29a
Updated plan upgrade UI for multiple products
...
refs https://github.com/TryGhost/Team/issues/767
- updates plan upgrade page to use multiple products UI if available
- filters products based on active currency if logged in member
2021-06-24 13:23:57 +05:30
Rishabh
21d1c1b9e8
Cleaned site and product helper usage
...
no refs
- cleans up helpers for site and products to more consistent and predictable usage
2021-06-24 13:21:16 +05:30
Rishabh
c7a3fdc639
Added access control header for start mode
...
no refs
- since portal script is loaded with `crossorigin:anonymous` now, we need to pass in the access control headers for script to bypass cors check
2021-06-22 17:07:14 +05:30
renovate[bot]
5548cc9ab8
Pin dependencies ( #148 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 15:52:53 +05:30
renovate[bot]
e01ab51eeb
Update dependency chokidar to v3.5.2 ( #150 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 15:52:00 +05:30
Rishabh
2af648e84f
Fixed plan page tests
...
no refs
2021-06-22 12:40:16 +05:30
Rishabh
8d5f5febaa
Added access control headers in dev mode
...
no refs
- adds `access-control-allow-origin: *` headers for dev mode
- portal script will be loaded with `cross-origin=anonymous`, access control header is needed to allow script to load
- mimics unpkg which already adds `access-control-allow-origin: *`
2021-06-22 12:16:49 +05:30
Rishabh
0535fab865
✨ Added Sentry for error tracking
...
no refs
- adds sentry setup if Sentry DSN is available via Ghost config for better error tracking
2021-06-22 12:16:49 +05:30
Rishabh
4db821f9ee
Fixed lint
...
no refs
2021-06-21 19:46:12 +05:30
Peter Zimon
75d0b40be8
Added benefit fixtures (alpha)
2021-06-21 15:32:55 +02:00
Rishabh
40e86e0a77
Added default product selection handling
...
refs https://github.com/TryGhost/Team/issues/767
- updates product selection if first available product's id changes between renders
2021-06-21 18:47:40 +05:30
Rishabh
b7d644cc66
Updated available site prices based on products
...
refs https://github.com/TryGhost/Team/issues/768
- updates available prices data based on available products
- updates available products to check portal products (which is behind a flag)
2021-06-21 18:47:40 +05:30
Peter Zimon
134d6a756a
Refined spacing for desktop product card
2021-06-21 14:39:21 +02:00