Commit Graph

1051 Commits

Author SHA1 Message Date
Rishabh
c302998b20 v1.14.0 2022-01-17 23:25:30 +05:30
Rishabh Garg
7cf843d3c7 Added description and benefits for free tier (#210)
refs https://github.com/TryGhost/Team/issues/1037

Free tier is now setup the same way as other tiers, to allow custom description/benefits. This change - 

- adds custom description and benefits UI for free tier when tiers beta is enabled
- updates fixtures structure
- fixes react overlay error for fast refresh

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2022-01-17 23:24:34 +05:30
Rishabh
542e585f89 v1.13.2 2022-01-14 20:01:40 +05:30
Rishabh
2e02824a85 Refined offer label UI on account home page
closes https://github.com/TryGhost/Team/issues/1195
2022-01-14 19:39:58 +05:30
Rishabh
bd291b71bf v1.13.1 2022-01-14 19:27:32 +05:30
Rishabh
b659996082 Fixed archived offers incorrectly showing offer page
refs https://github.com/TryGhost/Team/issues/1269

- accessing an archived offer url was incorrectly showing the offer page, as we were not checking for the status of offer
- the archived offer redemption was working correctly as it was blocked on API, this change updates the ui to hide offer screen for archived as well
2022-01-06 19:25:14 +05:30
Rishabh
e47a24f362 v1.13.0 2022-01-06 18:41:28 +05:30
John O'Nolan
4206cb0cfb 2022 2022-01-06 11:08:16 +00:00
Peter Zimon
0cc37afc66 Removed separator line hack from signup footer 2022-01-05 16:38:59 +01:00
Rishabh
d6f0cb7010 Fixed tests
no refs

- fixes default value used for member creation fixture
2022-01-05 20:29:29 +05:30
Peter Zimon
cac9cc7ed4 Changed base modal width 2022-01-05 15:07:30 +01:00
Peter Zimon
1a25cac7ad Updated discount in account home page 2022-01-05 15:03:53 +01:00
Rishabh
86a8abdf30 Refined member account details to show any applied discounts
refs https://github.com/TryGhost/Team/issues/1195

- shows any applied discounts on subscription on account profile page
2022-01-04 20:12:06 +05:30
Renovate Bot
cdd1c429df Lock file maintenance 2022-01-03 04:20:55 +00:00
Renovate Bot
d984701d47 Update dependency rewire to v6 2021-12-21 04:10:19 +00:00
Renovate Bot
af05c9ddaf Update sentry-javascript monorepo to v6.16.1 2021-12-13 04:34:21 +00:00
Renovate Bot
5535efb93f Update sentry-javascript monorepo to v6.16.0 2021-12-08 23:19:06 +00:00
Renovate Bot
c3e0e5de28 Update dependency @testing-library/jest-dom to v5.16.1 2021-12-07 15:32:59 +00:00
Renovate Bot
5508409dc7 Update dependency @testing-library/jest-dom to v5.16.0 2021-12-06 04:05:18 +00:00
Renovate Bot
b3158f368d Update dependency eslint-plugin-ghost to v2.11.0 2021-12-02 22:50:13 +00:00
Fabien egg O'Carroll
cf41cdebfb v1.12.9 2021-12-01 20:47:51 +02:00
Fabien egg O'Carroll
709b5b2af6 Removed logic to set default urls for checkout
refs https://github.com/TryGhost/Team/issues/1067

Checkout success/cancel URLs are handled by the server, and should only
be passed if we particularly want a custom one!
2021-12-01 20:11:16 +02:00
Renovate Bot
b26c0aefce Update dependency eslint-plugin-ghost to v2.9.0 2021-11-30 19:52:01 +00:00
Renovate Bot
d53ee46ac9 Update dependency eslint-plugin-ghost to v2.8.0 2021-11-26 22:56:49 +00:00
Renovate Bot
642049c610 Update dependency @testing-library/jest-dom to v5.15.1 2021-11-24 18:07:33 +00:00
Rishabh
dc15417e48 v1.12.8 2021-11-22 18:20:07 +05:30
Rishabh
f4fdda94e5 🐛 Fixed incorrect price shown for offer page with fixed discount
no refs

the fixed discount is only applied to offer if the offer currency matches with original price currency. The bug happened due to case difference between the offer and price currencies which should be compared case insensitive
2021-11-22 18:19:00 +05:30
Renovate Bot
3ad4e9c4c9 Update sentry-javascript monorepo to v6.15.0 2021-11-17 12:53:34 +00:00
Renovate Bot
94a7ee5672 Update sentry-javascript monorepo to v6.14.3 2021-11-12 23:34:29 +00:00
Renovate Bot
4ebc7b5265 Update sentry-javascript monorepo to v6.14.1 2021-11-08 04:10:23 +00:00
Peter Zimon
df411f266f v1.12.7 2021-11-05 09:30:23 +01:00
Peter Zimon
351e34d74c Fixed trigger button opacity bug
Fixed trigger button bug of not being displayed in Portal settings with
certain themes (e.g. Edition) because of setting opacity to 1 with
inline CSS. Added condition to only set this property in preview mode.
2021-11-05 09:27:12 +01:00
Renovate Bot
7aac4fcd4c Update sentry-javascript monorepo to v6.14.0 2021-11-04 21:51:37 +00:00
Renovate Bot
1fab694d14 Update dependency @testing-library/jest-dom to v5.15.0 2021-11-03 17:38:42 +00:00
Rishabh
b2827b3d9f Added loading screen while opening direct Stripe checkout
refs https://github.com/TryGhost/Team/issues/1184

When Portal tries to open Stripe checkout directly without any popup UI, since the time taken by checkout session to open can be few seconds it can cause invisible delay on the screen for user which is confusing. This change adds a loading popup while Stripe checkout session is loaded
2021-11-02 19:35:40 +05:30
Rishabh
399bbc0977 Updated fixtures for site used in tests
no refs
2021-11-02 19:35:40 +05:30
Rishabh
1dab76a274 Cleaned up mode utils 2021-11-02 19:35:40 +05:30
renovate[bot]
0dfd0b6b6b Update dependency chalk to v4.1.2 (#168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 11:16:05 +05:30
Heath Raftery
e419c3f868 Updated check for showing upgrade CTA in account welcome page (#182)
Co-authored-by: Heath Raftery <heath@newie.ventures>

- removes upgrade CTA if there are no paid plans available in portal to upgrade

Context:

When first configuring Portal, it is reasonable and straight-forward to connect a Stripe account as instructed, but then disable the paid tiers to delay presenting paid memberships until the site is mature enough to warrant paid memberships.

This results in a very functional Portal, which prompts for, processes and accepts free membership. After logging into a free account however, the Portal displays a call-to-action paragraph encouraging the user to upgrade to a paid account. Obviously this is confusing for the user, given that there are no paid options.

The result is no change for sites that have paid memberships, or do not have Stripe configured. But if the only membership plan is free, then the cta text is not added to the page, just as it would not be if Stripe was not configured or the subscription was complimentary or cancelled.
2021-11-02 11:13:40 +05:30
Rishabh
0e3d918319 Updated readme
no refs

- updates local development section to add new mode
2021-11-02 10:56:10 +05:30
Rishabh
f56269933e Updated default port used in dev mode
refs https://developer.apple.com/forums/thread/682332

Mac OS Monterey by default listens on ports 5000 and 7000 for new AirPlay functionality. Since portal dev mode also runs on port 5000 and gets blocked due to this, the default port is now updated to use 5368 instead.

Note: Its still possible to choose a different port while starting portal in dev mode by running `yarn start:dev --port=xxxx`
2021-11-02 10:15:35 +05:30
Renovate Bot
23700703aa Update dependency eslint-plugin-ghost to v2.7.0 2021-10-25 05:19:54 +00:00
Rishabh
3967656284 v1.12.6 2021-10-22 07:56:01 +05:30
Rishabh
1a2c00d914 Updated duration in months for offer in preview mode
no refs
2021-10-22 01:57:13 +05:30
Rishabh
d818ca5c4b Updated maxlength attribute on field
no refs
2021-10-21 23:08:53 +05:30
Rishabh
52826b2324 Updated fixtures for tests
no refs
2021-10-21 23:05:04 +05:30
Rishabh
909b81e7e4 Updated tier label when multiple tiers is disabled
refs https://github.com/TryGhost/Team/issues/1162
2021-10-21 23:02:04 +05:30
Peter Zimon
dd6c9220af Offer screen refinements 2021-10-21 19:00:39 +02:00
Rishabh
dd90a8fe8b v1.12.5 2021-10-21 00:51:39 +05:30
Rishabh
d85755d91b Handled offer urls redirect to checkout when portal button is hidden
refs https://github.com/TryGhost/Team/issues/1162

- if portal button is hidden/disabled by site owner, portal offer urls redirect straight to checkout instead of opening portal offer detail screen
2021-10-21 00:50:58 +05:30