James Morris
627b35aee4
Improved the error modals for audience feedback and newsletter unsubscribe
...
- Main goal to improve modal when audience feedback fails
- Felt right to also improve the newsletter unsubscribe issue, too
- Makes this more pleasing to read and look at, nothing fancy
refs https://github.com/TryGhost/Team/issues/2081
2022-10-24 12:11:30 +01:00
Fabien "egg" O'Carroll
0f03b5eddb
Released Portal v2.16.0
2022-10-24 15:12:02 +07:00
Fabien "egg" O'Carroll
4f54cbc37a
Supported payment URL in Portal
...
refs https://github.com/TryGhost/Team/issues/2078
As part of decoupling Stripe from the members feature, we are going to be using
payment URLs rather than Stripe sepcific session ids and publick keys.
This prepares Portal to work with the new system, whilst retainign the existing
functionality
2022-10-19 11:06:10 +07:00
Rishabh
fdff8814b1
Bumped portal package.json to latest version
...
refs d381ff87b8
- portal was bumped to 2.15 but the version in package json didn't get auto-updated
2022-10-14 22:15:02 +05:30
renovate[bot]
ab598dd7ea
Update dependency minimist to v1.2.7
2022-10-12 10:16:31 +07:00
Simon Backx
c670209c82
Added audience feedback handling to Portal ( #15590 )
...
fixes https://github.com/TryGhost/Team/issues/2048
Changes so Portal can handle feedback links and use the members API to store a vote.
2022-10-11 17:14:43 +02:00
renovate[bot]
3b62e8c52f
Update sentry-javascript monorepo to v7.15.0
2022-10-11 09:24:03 +07:00
renovate[bot]
84549838a4
Update sentry-javascript monorepo to v7.14.2
2022-10-07 08:41:20 +07:00
Daniel Lockyer
be46f8e9a8
Removed eslint-plugin-ghost
from Portal package.json
...
- we don't need it here anymore because it's brought in through the
top-level repo package.json
2022-10-07 08:36:23 +07:00
Daniel Lockyer
12aaaa6d6e
Removed Portal's .editorconfig file
...
- this should no longer be needed because we have a top-level
.editorconfig file
2022-10-06 11:23:39 +07:00
Simon Backx
eac8fbfdfd
Released Portal v2.14.0
2022-10-05 12:44:18 +02:00
Simon Backx
e7378520a0
🔒 Prevented member creation when logging in ( #15526 )
...
fixes https://github.com/TryGhost/Ghost/issues/14508
This change requires the frontend to send an explicit `emailType` when sending a magic link. We default to `subscribe` (`signin` for invite only sites) for now to remain compatible with the existing behaviour.
**Problem:**
When a member tries to login and that member doesn't exist, we created a new member in the past.
- This caused the creation of duplicate accounts when members were guessing the email address they used.
- This caused the creation of new accounts when using an old impersonation token, login link or email change link that was sent before member deletion.
**Fixed:**
- Trying to login with an email address that doesn't exist will throw an error now.
- Added new and separate rate limiting to login (to prevent user enumeration). This rate limiting has a higher default limit of 8. I think it needs a higher default limit (because it is rate limited on every call instead of per email address. And it should be configurable independent from administrator rate limiting. It also needs a lower lifetime value because it is never reset.
- Updated error responses in the `sendMagicLink` endpoint to use the default error encoding middleware.
- The type (`signin`, `signup`, `updateEmail` or `subscribe`) is now stored in the magic link. This is used to prevent signups with a sign in token.
**Notes:**
- Between tests, we truncate the database, but this is not enough for the rate limits to be truly reset. I had to add a method to the spam prevention service to reset all the instances between tests. Not resetting them caused random failures because every login in every test was hitting those spam prevention middlewares and somehow left a trace of that in those instances (even when the brute table is reset). Maybe those instances were doing some in memory caching.
2022-10-05 12:42:42 +02:00
Daniel Lockyer
609fcb17c0
Removed main
from yarn ship
...
- we might not necessarily be pushing to `main`, for example, if we're
doing a patch release
2022-10-05 16:47:39 +07:00
Daniel Lockyer
8b7a573a1d
Released Portal v2.13.2
2022-10-05 16:03:46 +07:00
Daniel Lockyer
e60fc167e4
Improved yarn ship
for Portal
...
refs https://github.com/TryGhost/Toolbox/issues/426
- with the existing `ship` command, it publishes to npm before pushing
to GitHub
- I fear we're likely to run into a scenario where the HEAD of `main` is
behind, so the git push fails, and then rebasing the HEAD will break
the tags that we created
- in this scenario, I think it's better to hard reset back, git pull and
then try again
- in that case, we need to publish to npm after GitHub
- this commit should implement that
2022-10-05 15:48:10 +07:00
Daniel Lockyer
700a62e048
Added quotes to version-tag-prefix
...
- without this, the following line does not apply for some reason
2022-10-05 15:27:20 +07:00
Daniel Lockyer
a26886ed65
Updated Portal README and repository link
...
refs https://github.com/TryGhost/Toolbox/issues/426
- these needed updating now Portal is in the monorepo
2022-10-05 15:22:17 +07:00
Daniel Lockyer
2a40f72f36
Added yarn test:unit
to Portal
...
refs https://github.com/TryGhost/Toolbox/issues/426
- this ensures we provide a `test:unit` command for CI
- this probably needs changing in the future - not sure yet
2022-10-05 15:17:01 +07:00
Daniel Lockyer
22c85df66f
Added .yarnrc config for Portal
...
refs https://github.com/TryGhost/Toolbox/issues/426
- this ensures the git tag and commit message are in the expected format
2022-10-05 15:15:14 +07:00
Daniel Lockyer
314281cf08
Removed extraneous logging from Portal dev script
...
refs https://github.com/TryGhost/Toolbox/issues/426
- now Portal is in the monorepo, the dev script doesn't need to wipe the
console output nor print instructions as that should be handled with
setting environment variables
2022-10-05 15:13:34 +07:00
Daniel Lockyer
181f12d2de
Cleaned up extra files in Portal package
...
refs https://github.com/TryGhost/Toolbox/issues/426
- these files are no longer needed now the code is in the Ghost monorepo
2022-10-05 15:06:36 +07:00
renovate[bot]
a5adffbcb5
Update Test & linting packages
2022-10-05 11:23:47 +07:00
Daniel Lockyer
b73a657435
Updated react-scripts and eslint-plugin-ghost dependencies
...
refs https://github.com/TryGhost/Toolbox/issues/426
- this commit bumps both dependencies because it resolves various issues
I've encountered when moving Portal to the Ghost monorepo
2022-10-05 11:20:29 +07:00
Daniel Lockyer
8daa06a3b8
Fixed various linting issues
...
- these changes were needed ahead of the upcoming bump to react-scripts,
which bumps eslint to v8, and therefore we can update
eslint-plugin-ghost, which introduces some new linting rules
2022-10-05 11:11:03 +07:00
Daniel Lockyer
264e6d41a7
Updated CI Ubuntu version to latest
...
- 18.04 is deprecated and getting phased out so we should switch to the latest version
2022-10-05 10:58:24 +07:00
Daniel Lockyer
20d9256105
Updated CI Node version to 16
...
refs https://github.com/TryGhost/Toolbox/issues/163
- Node 16 is our recommended version so we should test using that
2022-10-05 10:56:39 +07:00
renovate[bot]
9608f834c3
Update sentry-javascript monorepo to v7.14.1
2022-10-04 15:59:31 +00:00
renovate[bot]
997d6896a1
Update sentry-javascript monorepo to v7.14.0
2022-09-29 19:50:44 +00:00
Rishabh
3314dafa78
v2.13.1
2022-09-28 00:17:31 +05:30
Rishabh
10e65f7fe8
Fixed incorrect import handling for data attributes
...
refs c3c503632b
2022-09-28 00:16:47 +05:30
Rishabh
d558a185de
v2.13.0
2022-09-27 23:43:00 +05:30
Rishabh
c3c503632b
Added attribution history to api requests via data attributes
...
- we added attribution data from localstorage to api requests made via Portal UI, but was missed for requests directly from theme via data-attributes
- includes url history data for free or paid signups via theme to mark correct attribution
2022-09-27 23:42:09 +05:30
renovate[bot]
c980865d3c
Update dependency source-map-explorer to v2.5.3
2022-09-27 08:33:14 +07:00
renovate[bot]
5bec8eb2f4
Update dependency copy-webpack-plugin to v11
2022-09-20 17:48:43 +01:00
renovate[bot]
2814ea4774
Update dependency webpack-cli to v4
2022-09-20 17:35:16 +01:00
renovate[bot]
ff09129dfc
Lock file maintenance
2022-09-20 15:37:59 +01:00
renovate[bot]
69a346ccd7
Update sentry-javascript monorepo to v7
2022-09-20 15:34:52 +01:00
Renovate Bot
4fb6913a8e
Update dependency react-error-overlay to v6.0.11
2022-09-20 15:33:59 +01:00
renovate[bot]
965c4afcca
Update actions/checkout action to v3
2022-09-20 15:33:21 +01:00
Renovate Bot
1135b0073a
Update actions/setup-node action to v3
2022-09-20 14:43:22 +01:00
Renovate Bot
96e2c7d7c5
Update codecov/codecov-action action to v3
2022-09-20 14:42:59 +01:00
Ronald Langeveld
17b1141c0f
v2.12.0
2022-09-09 13:44:07 +02:00
Ronald Langeveld
c397cb92f3
V2.11.2
2022-09-09 13:08:06 +02:00
Ronald Langeveld
30284909e9
Added members-autoredirect data attribute selector. ( #261 )
...
closes https://github.com/TryGhost/Team/issues/1800
- Added data attribute selector for custom login / signup forms to optionally prevent redirects coming from the magic link.
2022-09-06 14:39:18 +02:00
Rishabh
08cdddfb92
v2.11.1
2022-09-02 23:24:42 +05:30
Rishabh
7944e4c11d
Allowed dismissing portal popup with Esc for signup page
...
closes https://github.com/TryGhost/Team/issues/1034
- pressing esc to dismiss popup didn't work for signup page as it was focused on input field
- allows esc to dismiss popup if the focused input field is empty
2022-09-02 23:11:18 +05:30
renovate[bot]
7293d008c4
Lock file maintenance
2022-08-29 05:21:04 +00:00
Rishabh
c5da3c0870
v2.11.0
2022-08-19 22:01:19 +05:30
Djordje Vlaisavljevic
3d87b02c55
Fixed error with free trial pill not showing on upgrade screen
...
refs https://github.com/TryGhost/Team/issues/1728
2022-08-19 18:13:35 +02:00
Rishabh
9bac4e680c
v2.10.0
2022-08-19 21:01:28 +05:30
Rishabh
d6aae23e86
Wired expiry values for complimentary subscriptions
...
refs https://github.com/TryGhost/Team/issues/1727
- adds expiry date for comp subs with expiry value
2022-08-19 20:57:23 +05:30
Rishabh
aa1c90f60b
Added flag for allowing comp member upgrade
...
refs https://github.com/TryGhost/Team/issues/1728
2022-08-19 20:57:23 +05:30
Rishabh
12bec6011b
Fixed lint
2022-08-19 20:57:23 +05:30
Rishabh
8fba983e6d
Allowed complimentary members to upgrade
...
refs https://github.com/TryGhost/Team/issues/1728
- allows comped members to go through the upgrade flow and become a paid member
2022-08-19 20:57:23 +05:30
Djordje Vlaisavljevic
427a5b1057
Removed the feature flag and the related logic
...
refs https://github.com/TryGhost/Team/issues/1724
2022-08-19 17:14:44 +02:00
Rishabh
2c636d16eb
Cleaned up trial days display
2022-08-19 19:03:08 +05:30
Djordje Vlaisavljevic
d5dedd4765
Updated subscription info for users on free trial
...
refs https://github.com/TryGhost/Team/issues/1724
2022-08-19 14:40:35 +02:00
Djordje Vlaisavljevic
a6666eb8fd
Updated the test
...
refs https://github.com/TryGhost/Team/issues/1724
2022-08-19 14:32:57 +02:00
Djordje Vlaisavljevic
006b3adc3b
Updated how discounts appear when there are no tiers with trial
...
refs https://github.com/TryGhost/Team/issues/1724
2022-08-19 14:20:50 +02:00
Djordje Vlaisavljevic
4671975156
Updated the way free trial terms are shown
...
refs https://github.com/TryGhost/Team/issues/1726
2022-08-19 13:36:24 +02:00
Rishabh
b069f967e4
Added free trial message for offers
...
- adds free trial info at the bottom of offer pages that have free trial
2022-08-19 12:33:29 +05:30
Rishabh
f58011a276
Fixed product card CTA for free trials
...
- product card was only showing free trial cta if there were more than one, which was incorrect
2022-08-19 12:32:24 +05:30
Rishabh
971a0dc06c
v2.9.0
2022-08-18 22:50:52 +05:30
Djordje Vlaisavljevic
d7dcef9f3a
Free trial signup design ( #258 )
...
* Added static HTML for free trial notification
refs https://github.com/TryGhost/Team/issues/1724
* Updated tier card design
refs https://github.com/TryGhost/Team/issues/1724
* Updated tier card design
refs https://github.com/TryGhost/Team/issues/1805
* Updated card design for free trial offers
refs https://github.com/TryGhost/Team/issues/1810
* Added trial days explanation
refs https://github.com/TryGhost/Team/issues/1810
* Switched class to className
refs https://github.com/TryGhost/Team/issues/1805
* Updated test
* Turned off the free trial feature flag
* Turned on the flag
Co-authored-by: Rishabh <zrishabhgarg@gmail.com>
2022-08-18 17:55:56 +02:00
Simon Backx
54480438a6
Added urlHistory on sign in and checkout ( #256 )
...
refs https://github.com/TryGhost/Team/issues/1797
refs https://github.com/TryGhost/Team/issues/1798
Context: we've added a new attribution script here: https://github.com/TryGhost/Ghost/pull/15242
Backend implementation: https://github.com/TryGhost/Ghost/pull/15243
- The member attribution script stores the history in the ghost-history localStorage value
- We need to pass this to the backend when signing in or checking out with Stripe
- Removed `getAnalyticsMetadata`, as this is no longer used in the backend (removed flag and implementation)
To merge after https://github.com/TryGhost/Ghost/pull/15243 (backend implementation)
2022-08-18 17:39:24 +02:00
Simon Backx
8cb4387d2a
v2.8.0
2022-08-15 11:28:05 +02:00
Simon Backx
f283425866
Added unsubscribe flow for comments ( #255 )
...
refs https://github.com/TryGhost/Team/issues/1790
- Added `comments` query param to unsubscribe from comments
- Fixed unsubscribe all not updating comments button in unsubscribe flow
2022-08-15 11:26:57 +02:00
Djordje Vlaisavljevic
424e98a81b
Updated spacing
...
refs https://github.com/TryGhost/Team/issues/1726
2022-08-11 18:37:30 +02:00
Djordje Vlaisavljevic
34f805fcb4
Added a breakpoint for tier price
...
refs https://github.com/TryGhost/Team/issues/1726
2022-08-11 17:22:48 +02:00
Djordje Vlaisavljevic
cb35a2b532
Updated tier offer terms design
...
refs https://github.com/TryGhost/Team/issues/1726
2022-08-11 17:14:07 +02:00
Djordje Vlaisavljevic
a496c4fd19
Fixed offer title and offer terms overlap
...
refs https://github.com/TryGhost/Team/issues/1726
2022-08-11 14:17:57 +02:00
Rishabh
4d670e0fe7
v2.7.0
2022-08-11 12:06:52 +05:30
Rishabh
b392995b85
Wired offer page for free trials
...
refs https://github.com/TryGhost/Team/issues/1726
- wires offer details UI for offer that includes free trial days on a tier
2022-08-10 15:54:03 +05:30
Djordje Vlaisavljevic
6408bebb1c
Added static HTML for free trial offer variant
...
refs https://github.com/TryGhost/Team/issues/1726
2022-08-10 10:22:54 +02:00
Renovate Bot
3a48caf4e4
Update dependency chokidar to v3.5.3
2022-08-09 23:23:14 +05:30
Renovate Bot
e999bf2e6e
Update dependency minimist to v1.2.6 [SECURITY]
2022-08-09 23:19:09 +05:30
Rishabh
0c6abdd319
v2.6.0
2022-08-09 19:24:18 +05:30
Djordje Vlaisavljevic
2c837fa1a4
Commented out unnecessary code
...
refs https://github.com/TryGhost/Team/issues/1757
2022-08-08 15:00:59 +02:00
Djordje Vlaisavljevic
05e515ce2c
Updated free trial design on account home
...
refs https://github.com/TryGhost/Team/issues/1757
2022-08-08 14:56:06 +02:00
Rishabh
2e8fa05bd9
Refined free trial UI on account home
...
refs https://github.com/TryGhost/Team/issues/1757
2022-08-08 17:21:50 +05:30
James Morris
821ec840b3
Reverted back a copy change that was made in error
...
refs https://github.com/TryGhost/Team/issues/1744
2022-08-08 11:33:38 +01:00
Rishabh
39d03c66d2
Added free trial info in plan details
...
refs https://github.com/TryGhost/Team/issues/1757
- adds free trial info for a member subscription when active
2022-08-08 15:55:41 +05:30
Rishabh
394ba3cffb
v2.5.0
2022-08-05 18:17:41 +05:30
Rishabh
096aa65e58
Fixed comments enabled check
...
- `comments_enabled` value is a string, one of `off`, `paid` or `all`, updates helper check to use that
2022-08-05 18:09:45 +05:30
Rishabh
6cfa05ee58
Fixed unable to manage comment notifications with single newsletter
...
closes https://github.com/TryGhost/Team/issues/1677
- for single newsletter sites we did not show email preference screen which allows managing comment notifications
- replaces newsletter toggle to use email preference screen when comments is enabled
2022-08-05 17:44:13 +05:30
Rishabh
2310fa2416
Updated signup cta for tiers with free trial
...
refs https://github.com/TryGhost/Team/issues/1724
- updates cta for tiers which include a free trial period
2022-08-05 17:35:08 +05:30
Rishabh
3ff111291c
v2.4.0
2022-08-04 20:35:37 +05:30
James Morris
b1481cd0df
Small copy update for the comments notification
...
refs https://github.com/TryGhost/Team/issues/1744
2022-08-03 17:18:07 +01:00
Djordje Vlaisavljevic
58485a8d97
Added static HTML template for free trial tier card variant
...
refs https://github.com/TryGhost/Team/issues/1724
2022-08-02 14:13:55 +02:00
renovate[bot]
5c0c214d77
Lock file maintenance
2022-08-01 04:06:21 +00:00
James Morris
fa58f633af
Replaced the comments notification copy
...
refs https://github.com/TryGhost/Team/issues/1691
2022-07-19 15:56:07 +01:00
Simon Backx
360962ae3a
v2.3.0
2022-07-12 13:56:40 +02:00
Simon Backx
24041d2f70
Added UI to unsubscribe from comment emails ( #253 )
...
refs https://github.com/TryGhost/Team/issues/1664
2022-07-12 13:53:44 +02:00
Rishabh
36743dc28d
v2.2.2
2022-07-04 12:38:05 +02:00
Rishabh
4981a72c9f
Handled missing support address on site
...
- the handling for non-existent support address for a site was missing, causing portal to not load in scenarios where support address is shown in UI
2022-07-04 12:36:19 +02:00
renovate[bot]
16d76feb3b
Lock file maintenance
2022-06-27 05:02:26 +00:00
Renovate Bot
586bdee48f
Lock file maintenance
2022-06-13 04:54:15 +00:00
Rishabh
518752fad4
v2.2.1
2022-06-01 21:13:14 +05:30
Rishabh
495b21b8e3
Handled custom error messages for signup
...
refs https://github.com/TryGhost/Team/issues/1526
2022-06-01 19:42:26 +05:30
Rishabh
ab2215ef05
v2.2.0
2022-06-01 13:41:39 +05:30
Rishabh
f8776b4fef
Updated tests for tier label
2022-06-01 13:10:46 +05:30
Rishabh
bf12fb935d
Fixed tests
2022-06-01 02:05:53 +05:30
Peter Zimon
e320af30ae
Changed signup button text for single-tier-only case
2022-05-30 10:38:53 +02:00
Matt Hanley
f1c5647997
v2.1.7
2022-05-27 16:26:45 +01:00
Matt Hanley
704906e9b6
Updated firstpromoter after settings rename ( #249 )
...
refs https://github.com/TryGhost/Ghost/pull/14801
- `firstpromoter_id` is now `firstpromoter_account`
2022-05-27 16:24:21 +01:00
Rishabh
445e8f9536
v2.1.6
2022-05-24 20:27:54 +05:30
Rishabh
cd76b9fb6d
Removed empty customer email from checkout session payload
...
- removes customerEmail sent as empty string when missing in some cases, which causes Stripe error in checkout session creation
2022-05-24 20:14:51 +05:30
Rishabh
25f9c852b2
v2.1.5
2022-05-24 14:24:05 +05:30
Rishabh
bd79d49b8a
🐛 Fixed label for email newsletter pref UI for single newsletter
2022-05-24 14:21:50 +05:30
Rishabh
e2579a9118
v2.1.4
2022-05-23 18:28:24 +05:30
Rishabh
f529ad3df6
🐛 Fixed missing benefits from signup page
...
- tiers api structure changed how benefits data is returned
- transformation of tier benefits was missing a return
2022-05-23 18:24:46 +05:30
Rishabh
950cb73c1d
v2.1.3
2022-05-19 09:24:08 +05:30
Rishabh
c96149198d
Fixed direct signup links not opening stripe checkout session
...
- state data is not available in actions when signing up directly via signup or offer query on page load
- adds tier and cadence data directly to the action to bypass state data need when available
2022-05-19 09:23:16 +05:30
Rishabh
6216ff1971
v2.1.2
2022-05-18 08:54:12 +05:30
Rishabh
6c776af10b
Fixed newsletter selection on offer page
...
- newsletter selection is moved inline instead of new page for offer signups
2022-05-18 08:35:47 +05:30
Rishabh
8ca7192d35
v2.1.1
2022-05-17 23:32:25 +05:30
Rishabh
8108448f70
Updated handling for default noreply support address
...
- with content api, site support address can have value of default `noreply`
- adds the default site domain for support address in case of missing domain
2022-05-17 23:20:45 +05:30
Rishabh
799570fbd0
Removed www from support address email
...
refs https://github.com/TryGhost/Team/issues/397
- the logic for default support address domain was not removing `www`, causing address to be formed as `noreply@www.example.com` instead of `noreply@example.com`
- removes `www` from the domain for support email address
2022-05-17 22:33:33 +05:30
Rishabh
ba142e714b
v2.1.0
2022-05-17 14:05:50 +05:30
Rishabh Garg
b306b0747d
Handled updated tiers API data structure ( #247 )
...
refs https://github.com/TryGhost/Team/issues/1575
- updated to work with new tiers api data structure which removes stripe id references
2022-05-17 14:03:51 +05:30
Djordje Vlaisavljevic
7699424cee
Updated unsubscribe success message design
...
refs https://github.com/TryGhost/Team/issues/1495
2022-05-16 16:52:21 +02:00
Rishabh
c32c86047d
Added account/newsletters
link for member email preference
...
- adds new `/account/newsletters` portal link for member's to see their email preference
- redirects to signin if member is not logged in
- updates newsletter page for logged out members
2022-05-16 18:29:42 +05:30
Rishabh
43a6b8c1ed
Added notification for default unsubscribed newsletter
...
refs https://github.com/TryGhost/Team/issues/1495
2022-05-16 16:38:19 +05:30
Peter Zimon
2e9735c5c4
Fixed footer spacings for multiple tiers signup
2022-05-13 12:48:23 +02:00
Peter Zimon
63bd92b6f2
Fixed bottom margin of signup message
2022-05-13 12:45:00 +02:00
Rishabh
159ed13ab7
v2.0.2
2022-05-12 23:31:06 +05:30
Rishabh
b3d2dbc9e9
Wired choose plan back button on newsletter page
2022-05-12 23:29:09 +05:30
Rishabh
2e1567ac67
v2.0.1
2022-05-12 23:22:33 +05:30
Rishabh
eff1abc948
Updated offer detail endpoint to use content api
...
refs https://github.com/TryGhost/Team/issues/1599
- offer details are now available directly on content api
2022-05-12 21:28:11 +05:30
Rishabh
7e383a97f6
Serialized missing settings from portal site data
...
refs https://github.com/TryGhost/Team/issues/1599
- old settings `allow_self_signup` and `is_stripe_configured` and `member_signup_access` are now removed in site data, and are replaced by new settings.
- this change maps the new settings to old settings so Portal behavior remains the same
- long term, we'll update usages in Portal to rely on new settings only
2022-05-12 20:59:58 +05:30
Rishabh
f7d3d56cb3
Updated serialisation for new site endpoint data
...
refs https://github.com/TryGhost/Team/issues/1599
2022-05-12 20:47:24 +05:30
Rishabh
5eb1131816
Removed old members site endpoint usage
...
refs https://github.com/TryGhost/Team/issues/1599
2022-05-12 20:46:52 +05:30
Rishabh
8bee963e53
Fixed lint and warnings
2022-05-12 20:38:03 +05:30
Rishabh
d2d3e3ba08
Updated site initialisation to use content api
...
closes https://github.com/TryGhost/Team/issues/1599
- portal uses content API to fetch data now instead of old members site endpoint
2022-05-12 20:31:47 +05:30
Rishabh
7e264b2fcd
v2.0.0
2022-05-12 20:26:34 +05:30
Djordje Vlaisavljevic
980fbd98ac
Updated design for newsletter selection page
...
refs https://github.com/TryGhost/Team/issues/1559
2022-05-11 20:33:31 +02:00
Djordje Vlaisavljevic
6dfb87fadb
Added class to signup section
...
refs https://github.com/TryGhost/Team/issues/1559
2022-05-11 20:32:54 +02:00
Djordje Vlaisavljevic
c61860742d
Changed back button label
...
refs https://github.com/TryGhost/Team/issues/1559
2022-05-11 20:31:46 +02:00
Djordje Vlaisavljevic
77272bcc9a
Updated unsubscribe design
...
refs https://github.com/TryGhost/Team/issues/1495
2022-05-10 22:44:03 +02:00
Djordje Vlaisavljevic
334c2c290a
Updated checkmark notification design
...
refs https://github.com/TryGhost/Team/issues/1440
2022-05-10 11:30:19 +02:00
Djordje Vlaisavljevic
fe961b0630
Added checkmark circle icon
...
refs https://github.com/TryGhost/Team/issues/1440
2022-05-10 11:29:46 +02:00
Djordje Vlaisavljevic
966146e8fa
Removed alternative checkmark icon
...
refs https://github.com/TryGhost/Team/issues/1440
2022-05-10 11:29:35 +02:00
Rishabh
7ac062ae68
Added transition classnames for success icon
2022-05-09 16:08:37 +05:30
Djordje Vlaisavljevic
a1be413924
Updated icon design
...
refs https://github.com/TryGhost/Team/issues/1440
2022-05-09 11:52:50 +02:00
Djordje Vlaisavljevic
f5f5c56267
Added checkmark-circle icon
...
refs https://github.com/TryGhost/Team/issues/1440
2022-05-09 11:52:10 +02:00
Rishabh
e9a282ee43
Refined newsletter preference update UI
...
refs https://github.com/TryGhost/Team/issues/1559
2022-05-06 18:59:05 +05:30
Rishabh
160c61e66f
Handled auto unsubscribe email newsletter
...
refs TryGhost/Team#1495
For single newsletters, the unsubscribe link on emails auto unsubscribed member from the newsletter. In case of multiple newsletters, we were missing the newsletter information on unsubscribe URL that will allow us to auto unsubscribe member from that specific newsletter as they intended, while allowing them option to manage other newsletter preferences.
This change handles the newsletter param in unsubscribe link and auto unsubscribes the member from that newsletter.
2022-05-05 12:26:39 +05:30
Rishabh
7e4ec97c0a
v1.22.4
2022-05-05 12:24:50 +05:30
Djordje Vlaisavljevic
f3f1d833ff
Updated button label to make it clearer
...
refs https://github.com/TryGhost/Team/issues/1559
2022-05-04 18:26:24 +02:00
Djordje Vlaisavljevic
90e505d469
Updated unsubscribe design and cleaned up code
...
refs https://github.com/TryGhost/Team/issues/1495
2022-05-04 18:25:00 +02:00
Renovate Bot
692911185c
Update sentry-javascript monorepo to v6.19.7
2022-04-29 16:32:58 +00:00
Rishabh
4ef7587bad
v1.22.3
2022-04-28 18:18:11 +05:30
Rishabh
92ba966345
Updated copy
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 18:17:05 +05:30
Rishabh
1dc0535c10
Added newsletter pref page for single site newsletters
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 18:15:41 +05:30
Rishabh
657dabd4eb
v1.22.2
2022-04-28 17:37:19 +05:30
Rishabh
7ca28de358
Added default unsubscribe for single newsletter unsubscribe
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 17:31:34 +05:30
Djordje Vlaisavljevic
2ae8a5e14e
Updated design
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:58:21 +02:00
Djordje Vlaisavljevic
f4e4da04c5
Updated design
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:50:20 +02:00
Djordje Vlaisavljevic
91fba6bf53
Added manage account preferences button
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:38:55 +02:00
Djordje Vlaisavljevic
e488699e9f
Added close button
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:31:57 +02:00
Djordje Vlaisavljevic
4eed600111
Fixed linting issue
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:21:20 +02:00
Djordje Vlaisavljevic
4342da366f
Updated design for unubscribe modal
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-28 12:20:29 +02:00
Djordje Vlaisavljevic
d4db34b069
Updated copy
...
refs https://github.com/TryGhost/Team/issues/1440
2022-04-28 09:31:22 +02:00
Djordje Vlaisavljevic
92811915dd
Updated design for unsubscribe page
...
refs https://github.com/TryGhost/Team/issues/1495
2022-04-27 20:27:19 +02:00
Rishabh
82bd498ce9
v1.22.1
2022-04-27 20:59:06 +05:30
Rishabh
adcf65a821
Added unsubscribe page for email unsubscribe links
...
refs https://github.com/TryGhost/Team/issues/1495
With the addition of multiple newsletters, members can now view and mange their newsletter preferences via Portal when on the site.
This change allows members to manage their newsletter subscription via unsubscribe link on emails.
- adds new Unsubscribe page in portal to manage member's unsubscribe link handling
- adds 2 new endpoints to fetch/update member's newsletters via UUID
2022-04-27 20:56:20 +05:30
Rishabh
926df30ccd
Refined newsletter management for logged-in members
...
refs https://github.com/TryGhost/Team/issues/1559
- extracts newsletter management in a common component for use across pages
2022-04-27 20:56:20 +05:30
Peter Zimon
2ab6093d9e
Updated preview background color
2022-04-27 17:15:12 +02:00
Djordje Vlaisavljevic
47abf4061c
Commented out tierName
...
refs https://github.com/TryGhost/Team/issues/1559
2022-04-27 16:09:13 +02:00
Djordje Vlaisavljevic
17000293b1
Updated CTA heading
...
refs https://github.com/TryGhost/Team/issues/1559
2022-04-27 15:59:52 +02:00
Djordje Vlaisavljevic
46f915ddfc
Updated CTA heading typography
...
refs https://github.com/TryGhost/Team/issues/1490
2022-04-26 23:26:48 +02:00
Djordje Vlaisavljevic
5e48105f16
Changed toggle alignment
...
refs https://github.com/TryGhost/Team/issues/1490
2022-04-26 23:21:58 +02:00
Djordje Vlaisavljevic
dfe390d8b7
Updated CTA heading typography
...
refs https://github.com/TryGhost/Team/issues/1490
2022-04-26 23:09:57 +02:00
Djordje Vlaisavljevic
13416b8322
Changed alignment of toggles
...
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 22:58:14 +02:00
Djordje Vlaisavljevic
c2444a2879
Added description for Email preferences
...
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 22:01:33 +02:00
Djordje Vlaisavljevic
40d2d970e4
Add right margin to portal list
...
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 21:52:35 +02:00
Djordje Vlaisavljevic
f4cb7ac04b
Changed word-break property for descriptions
...
refs https://github.com/TryGhost/Team/issues/1482
2022-04-26 21:49:10 +02:00
Peter Zimon
303e7286a2
Fixed current plan button z-index bug
2022-04-25 22:50:16 +02:00
Rishabh
362e0d69c5
v1.22.0
2022-04-25 19:30:29 +05:30
Rishabh
37d9099d1a
Wired subscribed toggle to single site newsletter
...
refs https://github.com/TryGhost/Team/issues/1554
With multiple newsletters, the subscribed property on a member is replaced by newsletter(s) [] which defines member's subscription instead.
- wires existing subscribe toggle on account home to new newsletter backend
2022-04-25 18:12:08 +05:30
Rishabh
84739cca52
v1.21.1
2022-04-22 18:38:20 +05:30
Djordje Vlaisavljevic
74e5d629ba
Refined design for newsletter selection step of signup
...
refs https://github.com/TryGhost/Team/issues/1490
2022-04-21 22:03:38 +02:00
Djordje Vlaisavljevic
a95b1c002f
Added mock fixture for paid newsletters
...
refs https://github.com/TryGhost/Team/issues/1490
2022-04-21 22:02:58 +02:00
Djordje Vlaisavljevic
0e105fec06
Added lock icon
...
refs https://github.com/TryGhost/Team/issues/1490
2022-04-21 22:02:03 +02:00
Rishabh
d5c39b6d3c
Removed background window scroll with Portal popup
...
refs https://github.com/TryGhost/Team/issues/1543
In some cases, when the background of page has scroll, scrolling inside Portal popup also scrolls the background page which causes confusion. To avoid this, we set the body of site to overflow hidden when Portal popup is opened to freeze the background, and then reset it back to original state when portal popup is hidden.
2022-04-21 16:30:02 +05:30
Rishabh
e64684655b
Removed unused imports and logs
2022-04-21 15:19:24 +05:30
Rishabh
3cfc530b37
Updated newsletter selection flow for signup
...
refs https://github.com/TryGhost/Team/issues/1490
Updates newsletter selection flow on signup to render content inside the signup page, so we can keep the common header and popup modal for both pages.
2022-04-21 15:14:18 +05:30
Rishabh
405846ac6f
v1.21.0
2022-04-20 13:53:18 +05:30
Rishabh
7c6d9a07d4
Updated newsletters to follow sort order
...
- updates portal to respect newsletter ordering set in Admin
2022-04-19 15:12:16 +05:30
Djordje Vlaisavljevic
17414b23a2
Updated design for newsletter selection step of signup flow
...
refs https://github.com/TryGhost/Team/issues/1490
2022-04-18 17:36:08 +02:00
Rishabh
8b49095214
v1.20.1
2022-04-18 18:36:28 +05:30
Rishabh
e0e6f48fc8
Wired unsubscribe all button for newsletter preference page
2022-04-14 22:07:54 +05:30
Rishabh
252e6d4523
v1.20.0
2022-04-13 18:45:53 +05:30
Rishabh
54b64c2634
Added newsletter selection to offer signup
...
refs https://github.com/TryGhost/Team/issues/1490
Adds newsletter subscription selection page as intermediary before signing up to a site via offer url.
2022-04-13 18:44:05 +05:30
Rishabh
031aa5f2bc
Added newsletter selection for signup flows
...
refs https://github.com/TryGhost/Team/issues/1490
Adds newsletter subscription preference page as an intermediary step before signing up as paid or free member.
2022-04-13 18:43:23 +05:30
Rishabh
ffafed05d0
v1.19.1
2022-04-12 21:25:41 +05:30
Rishabh
0d5df582f8
Fixed missing signup button for free portal link
...
closes https://github.com/TryGhost/Team/issues/1511
2022-04-12 21:24:53 +05:30
Renovate Bot
2e36656d11
Update sentry-javascript monorepo to v6.19.6
2022-04-08 18:03:05 +00:00
Renovate Bot
9433ae548e
Update sentry-javascript monorepo to v6.19.4
2022-04-07 01:16:33 +00:00
Rishabh
ccac18ac09
v1.19.0
2022-04-05 22:44:48 +05:30
Rishabh
fdd1347268
Wired multiple newsletter preferences to API
...
refs https://github.com/TryGhost/Team/issues/1469
- wires newsletters data on email preference page to real data for view/edit
- allows members to control email preference to multiple newsletters
2022-04-05 22:43:20 +05:30
Renovate Bot
e0e8fd855d
Update sentry-javascript monorepo to v6.19.3
2022-03-31 20:21:23 +00:00
Renovate Bot
81e074cb9e
Update dependency @testing-library/user-event to v14
2022-03-30 15:13:43 +00:00
Rishabh
981c97d3bd
v1.18.5
2022-03-29 16:17:25 +05:30
Peter Zimon
a110f1469e
Various refinements
...
- Adjusted fading cover for sticky buttons
- Adjusted bottom margin of invite only popup
- Updated input font-size for mobile to prevent input focus zooming
2022-03-29 12:45:39 +02:00
Rishabh
975e970eba
v1.18.4
2022-03-29 16:14:20 +05:30
Rishabh
ae70d2a113
v1.18.3
2022-03-29 14:04:46 +05:30
Rishabh
9f335c36ff
Fixed key warning for newsletter preference section
2022-03-29 14:02:28 +05:30
Rishabh
83d0a90a93
Removed input auto-zoom for mobile
...
Adds meta tag for iframe head to control viewport in mobile devices
2022-03-29 14:02:09 +05:30
Rishabh
3ab9a67577
Added popup notification for newsletter preference toggle
...
refs https://github.com/TryGhost/Team/issues/1440
2022-03-29 13:49:25 +05:30
Rishabh
700530f5fd
v1.18.2
2022-03-29 12:12:58 +05:30
Rishabh
0251989c0a
Fixed loading indicator for upgrade plans
2022-03-29 12:12:03 +05:30
Peter Zimon
c339761a35
Removed input auto-zoom for mobile
2022-03-28 15:53:25 +02:00
Rishabh
26a33df012
v1.18.1
2022-03-28 17:44:54 +05:30
Peter Zimon
315b2aa257
Removed cadence from offers
2022-03-28 13:49:57 +02:00
Peter Zimon
0b4bec1ac8
Updated offer preview height
2022-03-28 13:42:55 +02:00
Peter Zimon
c20fbb5a71
Added default product descriptions
2022-03-28 13:38:05 +02:00
Peter Zimon
4af2a89f13
Fixed various mobile bugs
...
- Fixed titles not breaking on small size screens
- Fixed bottom margin of powered by badge on mobile
- Updated word-wrap of detail values in lists
2022-03-28 13:19:15 +02:00
Peter Zimon
bd25c0cc6e
Fixed mobile size bugs
2022-03-28 12:48:06 +02:00
Renovate Bot
928340c42b
Update sentry-javascript monorepo to v6.19.2
2022-03-26 00:23:16 +00:00
Rishabh
44cff4145c
Merged v1.17.3 into main
...
v1.17.3
2022-03-25 00:07:45 +05:30
Rishabh
34cb651202
Merged v1.17.2 into main
...
v1.17.2
# Conflicts:
# package.json
# src/components/common/PlansSection.js
2022-03-25 00:06:17 +05:30
Rishabh
5ff5346d1f
v1.17.3
2022-03-24 23:35:06 +05:30
Rishabh
8b02c85e3b
Fixed alignment issues on mobile
...
refs 30703842b5
Portal popup was left aligned on mobile devices due to an earlier fix for inner scroll issue which is not working correctly.
2022-03-24 23:34:11 +05:30
Rishabh
57773744c4
v1.17.2
2022-03-24 16:40:12 +05:30
Rishabh
920019da47
Fixed layout for prices with custom description
...
One of the early betas for multiple products allowed adding custom description for prices, which Portal had an extra check for when rendering. The price description is not a valid scenario anymore, and this change allows Portal to ignore description of prices so it shows consistent layout for single tier scenario.
2022-03-24 16:33:19 +05:30
Rishabh
e675a2032d
v1.18.0
2022-03-23 21:19:43 +05:30
Peter Zimon
3bec8f784e
Updated padding for change plan
2022-03-23 16:06:29 +01:00
Djordje Vlaisavljevic
d9a9f0e90c
Added newsletter descriptions
...
refs https://github.com/TryGhost/Team/issues/1440
2022-03-23 15:52:16 +01:00
Peter Zimon
76158d41af
Fixed bottom spacing for offers in Admin preview
2022-03-23 15:07:47 +01:00
Peter Zimon
a034405bc4
Fixed login link under cta on offers screen
2022-03-23 14:28:59 +01:00
Peter Zimon
9529587ef7
Updated current plan visuals
2022-03-23 14:28:59 +01:00
Rishabh
f03ef9538d
Added dummy newsletter preferences section for member account
...
refs https://github.com/TryGhost/Team/issues/1440
- adds static email preferences section in account home page
- adds new account email page for preferences
- adds new fixture for multiple newsletters
- adds basic helper for multiple newsletters
2022-03-23 18:12:00 +05:30
Peter Zimon
2c81e94f74
Fixed discount bug
...
- fixes bug so that negative discount values won't be showen on tier cards.
2022-03-23 13:36:40 +01:00
Rishabh Garg
afe49de9c2
Refined UI/UX for Portal flows ( #234 )
...
On the heels of multiple tiers going GA, this change brings a massive visual overhaul to Portal for almost all pages and flows, along with adding consistency between different multiple tier flows. It also overhauls the tests to match our new UI/UX for Portal.
Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2022-03-23 16:31:59 +05:30
Renovate Bot
20f12bc7d1
Update sentry-javascript monorepo to v6.19.1
2022-03-22 22:37:51 +00:00
Rishabh
2403ee4d36
v1.17.1
2022-03-21 10:25:42 +05:30
Rishabh
4ed5e7e0e1
Removed unused console logs
2022-03-21 10:24:40 +05:30
Rishabh
d6217aa99a
v1.17.0
2022-03-16 21:10:05 +05:30
Rishabh
d4407b9acd
Fixed empty subscription object for comped members
...
refs https://github.com/TryGhost/Team/issues/1428
Editing a comped member's name doesn't return the dummy subscription object in API response, causing unexpected crash in Portal when setting Plan label as it expect's a subscription for a paid member. This change gracefully handles the crash and instead shows empty information for plan label so member can continue using Portal as expected.
2022-03-16 21:08:47 +05:30
Peter Zimon
6b88631521
Additional fix to avoid double scrollbars
...
Refs.
9425e5843e
https://github.com/TryGhost/Casper/issues/850
Adding additional margin/padding to wrapper to avoid double scrollbars
in small viewports.
2022-03-16 09:48:02 +01:00
Peter Zimon
9425e5843e
Fixed double scrollbar bug
...
Ref: https://github.com/TryGhost/Casper/issues/850
Portal has a bug that the scrollbars for the popup wrapper are always
visible which results in double scrollbars for certian viewports.
This commit hides the wrapper's scrollbars, so only the site scrollbars
will be visible (if the content requires it).
2022-03-16 09:13:28 +01:00
Rishabh
c5154a43a7
Added paid member with selected tier fixture
2022-03-11 20:10:22 +05:30
Peter Zimon
389163c338
Fixed powered by positioning
2022-03-11 12:16:41 +01:00
Renovate Bot
6414411acd
Update sentry-javascript monorepo to v6.18.2
2022-03-10 05:46:43 +00:00
Peter Zimon
3587052487
Updated preview styles
2022-03-08 11:34:55 +01:00
Rishabh
5d251cffe5
v1.16.1
2022-03-08 14:37:38 +05:30
Rishabh
d82d86e600
Handled missing free tier for portal plans
...
refs https://github.com/TryGhost/Team/issues/1387
Free tier is only passed to portal when tiers flag is enabled.
2022-03-08 14:36:15 +05:30
Rishabh
d9f7e7ba16
v1.16.0
2022-03-08 11:30:45 +05:30
Rishabh
eccad13871
Fixed default first product selection failing
...
The first product selection failed in case of multiple products when viewing in preview, as the id was not updating correctly. This fixes the selected product for products section to ensure there is always valid product selected.
2022-03-08 10:26:17 +05:30