Commit Graph

1194 Commits

Author SHA1 Message Date
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
Rishabh
cc7c812af8 v1.12.4 2021-10-20 20:22:53 +05:30
Rishabh
ac9a631fe3 Updated copy for offer renewal info on offer screen
refs https://github.com/TryGhost/Team/issues/1162

- updates renewal info based on offer duration and cadence
2021-10-20 20:21:57 +05:30
Daniel Lockyer
a83bcf9869 Added codecov.io coverage uploader to CI
refs linear.app/tryghost/issue/CORE-74/improve-the-test-situation

- this commit adds the codecov GitHub Action into CI so we can upload
  coverage reports
- the coverage files need to be in XML for them to work with
  codecov, so this commit also adds cobertura (XML) as a reporter
2021-10-20 14:00:42 +02:00
Renovate Bot
85ffb985fc Update dependency @testing-library/user-event to v13.5.0 2021-10-20 12:00:28 +00:00
Rishabh
aef59ebf2b Ignored offer urls for paid members
refs https://github.com/TryGhost/Team/issues/1138

- paid members shouldn't see the offer detail UI as there is no clear path to upgrade for them from offer detail page at the moment
2021-10-19 13:22:52 +05:30
Rishabh
315cde6c46 v1.12.3 2021-10-19 00:20:55 +05:30
Rishabh
f3a861379a Updated default cadence to yearly for signups
closes https://github.com/TryGhost/Team/issues/1143

The most common pattern for signup pages when monthly and yearly plans are available is to have "yearly" as a default. Portal had default as monthly earlier, and is now changed to yearly
2021-10-18 23:57:26 +05:30