Commit Graph

893 Commits

Author SHA1 Message Date
Rishabh
33fe0ea960 v1.8.0 2021-07-30 10:30:45 +05:30
Rishabh
ac33b47e7f Handled 204 API response for logged out member session
refs https://github.com/TryGhost/Team/issues/560

The endpoint `/members/api/session/` is used by Portal for fetching member session while setting up and redirecting to Stripe Checkout flow. The status code returned by API for logged out member is changed from 4xx Unauthorized to 204 No Content, which is consistent with member API response.
2021-07-30 10:29:46 +05:30
Renovate Bot
7578a9cec4 Update dependency @testing-library/user-event to v13.2.1 2021-07-27 08:20:41 +00:00
Renovate Bot
5d86607a3d Lock file maintenance 2021-07-26 03:42:37 +00:00
Renovate Bot
c34cdc3268 Update sentry monorepo to v6.10.0 2021-07-26 02:16:29 +00:00
Rishabh
21e9df1f76 v1.7.7 2021-07-23 13:51:07 +05:30
Renovate Bot
43dad8bd96 Update Test & linting packages 2021-07-20 12:10:27 +00:00
Renovate Bot
4bd28329e0 Lock file maintenance 2021-07-19 02:21:18 +00:00
Renovate Bot
879bec2235 Update dependency eslint-plugin-ghost to v2.5.0 2021-07-16 16:53:12 +00:00
Renovate Bot
6619ec5e45 Update sentry monorepo to v6.9.0 2021-07-13 16:13:48 +00:00
Peter Zimon
8fd452a055 Refined product styles 2021-07-12 15:00:16 +02:00
Peter Zimon
7fb558f00a Cleanup dev vs. preview environment CSS
- Cleaned up `preview` and `dev` environment CSS classes so that they are only added to the corresponding cases.
2021-07-12 14:48:00 +02:00
Renovate Bot
5f31b8ec87 Lock file maintenance 2021-07-12 01:28:38 +00:00
Rishabh
220397c406 v1.7.6 2021-07-09 07:04:31 +05:30
Rishabh
8c4bc2164b Fixed incorrect context member for logged out members
refs 859043e22e

- fixes context member incorrectly picking dev member state in some edge cases due to missing custom site url
- fixes complimentary member check to handle no member logged in
2021-07-09 07:03:53 +05:30
Rishabh
115a39a814 v1.7.5 2021-07-09 06:34:32 +05:30
Rishabh
666fd36845 🐛 Fixed Portal links not working
refs 25389193f6

Fixes Portal link identification logic which was broken with updated regex for handling of new product specific plans
2021-07-09 06:32:08 +05:30
Rishabh
a114654e89 Reverted to bring back changes from 1.7.3
This reverts commit c2707d426a.
The changes for 1.7.3 were reverted as a temporary step due to a major bug in Portal link handling.
This commit brings back the changes followed by a patch for new release
2021-07-09 06:31:14 +05:30
Matt Hanley
f0b39dbe4b v1.7.4 2021-07-08 22:45:29 +01:00
Matt Hanley
c2707d426a Reverted changes from 1.7.3 2021-07-08 22:42:58 +01:00
Rishabh
6b21875f0b v1.7.3 2021-07-08 12:04:39 +05:30
renovate[bot]
2c53bde39d Update actions/setup-node action to v2 (#113)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-05 20:40:52 +05:30
Rishabh
25389193f6 Handled multiple products custom signup links
closes https://github.com/TryGhost/Team/issues/825

With multiple products, it's possible to link to any products from themes. The links area in Portal settings now handles signup links for multiple products. This change -

- updates portal to handle custom product monthly/yearly signup links - `signup/PRODUCT_ID/monthly` OR `signup/PRODUCT_ID/yearly`
2021-07-05 17:50:29 +05:30
Renovate Bot
6b1bf36cca Lock file maintenance 2021-07-05 03:07:17 +00:00
Renovate Bot
64c58cc89f Update sentry monorepo to v6.8.0 2021-07-05 01:43:18 +00:00
Rishabh
6a68039334 Updated handling for complimentary member
no refs

With multiple products, its possible to assign a member complimentary product without active subscription.

- updates complimentary member helper to check for `paid` without subscription
- updates account home page to consider complimentary member without subscription
2021-07-02 15:20:05 +05:30
Rishabh
30491bf27b Fixed plan selection method prop passing on plan page
no refs
2021-07-02 09:15:32 +05:30
Rishabh
5e68ced56f Handled empty email input in data attributes
no refs
2021-07-02 09:13:21 +05:30
Rishabh
6b755cfddf v1.7.2 2021-07-01 23:24:04 +05:30
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