Peter Zimon
bd4fc4e867
Updated site title size and alignment
2020-09-11 14:08:24 +02:00
Peter Zimon
47ceb55c5e
Updated signup page for single plan case
...
no refs.
For when a signle plan is enabled in Portal settings:
- removed selected style from the plan on the signup page
- updated the width of the popup
2020-09-10 14:47:13 +02:00
Renovate Bot
9b23da05e2
Update dependency @testing-library/user-event to v12.1.4
2020-09-09 22:03:53 +00:00
Rish
dfa3160b6f
v0.8.24
2020-09-08 20:52:40 +05:30
Rish
e3a957deb6
Added members support address from site data
...
closes https://github.com/TryGhost/members.js/issues/90
- Uses new members support address from site data for "Contact Support" button
2020-09-08 20:51:43 +05:30
Renovate Bot
d32a19f66c
Update dependency @testing-library/react to v11
2020-09-08 18:59:36 +05:30
Rish
01cb5567ad
Fixed esc not working for newsletter switch
...
refs https://github.com/TryGhost/members.js/issues/95
- Newsletter switch was taking over the focus and Esc didn't work on click, fixes by preventing the default behavior of switch
2020-09-08 18:52:20 +05:30
Rish
21a7d61c85
Updated newsletter updated messaging
...
refs https://github.com/TryGhost/members.js/issues/95
- Updates the newsletter status update as part of existing label
2020-09-08 18:43:50 +05:30
Rish
baf15f577c
Fixed tests
...
no issue
- Fixed signup page test using updated label for button
2020-09-08 18:32:42 +05:30
Rish
62d572613f
Updated esc key handling on iframe
...
no issue
- Updates the key event on owner document from the node
2020-09-08 18:29:59 +05:30
Peter Zimon
c90a947d94
Hid free plan if free is the only enabled plan
...
no refs.
- hides free plan if that's the only enabled plan
- refined copy for sign up button when no plans are available (e.g. Stripe is not set up or free is the only plan)
2020-09-08 14:56:18 +02:00
Rish
593e139860
Refactored site plan handling on plans page
...
no issue
- Extracts the account plans structure formation to helper from account plans page to make it reusable
2020-09-08 17:55:47 +05:30
Rish
e33c91f638
Added newsletter subscription status update
...
refs https://github.com/TryGhost/members.js/issues/95
- Adds a small update notification about newsletter subscription status update on toggle
2020-09-08 17:55:47 +05:30
Rish
af160b19f1
Fixed custom trigger button event listener removal
...
no issue
- Fixes event listeners for custom trigger button not being removed on unmount and initial setup
2020-09-08 17:55:47 +05:30
Rish
2dee51ee80
Handled closing popup with Esc key
...
refs https://github.com/TryGhost/members.js/issues/95
- Hitting Esc key closes the Portal popup as long is its not inside any `<input>` field for entering data
2020-09-08 17:55:47 +05:30
Rish
cd85e839ef
Refactored account home page
...
no issue
- Cleans up the code structure used to render different sections for paid members on account home
- Adds new member helper method to check if the member is complimentary or not
2020-09-08 17:55:47 +05:30
Peter Zimon
a0fdb1d21f
Removed welcome message if Stripe is not set up
2020-09-08 13:51:31 +02:00
Peter Zimon
c28184263d
Removed plan and billing for complimentary
...
no refs.
- removed the ability to change plan and billing info section from account home for members with complimentary plan
- refined copy for plan section
2020-09-07 17:16:17 +02:00
Peter Zimon
7c8e3e6f80
Removed title tag from svgs
2020-09-04 16:47:35 +02:00
Peter Zimon
995bef0f57
Added default text if name is missing
2020-09-04 15:28:22 +02:00
Rish
c94be8cea7
v0.8.23
2020-09-04 17:20:50 +05:30
Rish
db9ca1322e
Updated usage script to include site attribute
...
no issue
- To correctly inject the members.js script to any theme, it needs to know the correct site URL to access Ghost APIs.
- `data-ghost` attribute is needed on the script to define the correct Site url
2020-09-04 17:19:37 +05:30
Rish
1c2890036b
Reset any "last page" state on closing popup
...
no issue
- We don't want to keep any old "last page" state for the popup once its closed, which is used to determine which page to to go back to with "Cancel"
- If no "last page" is found, going back closes the popup instead which is expected behavior
2020-09-04 13:07:08 +05:30
Peter Zimon
fc490f9ae5
Fixed outline for buttons
2020-09-04 08:42:07 +02:00
Rish
7d0f12395a
Added UI refinements for free member plan page
...
no refs
- Changed title to "Choose your subscription"
- The primary button label changed to "Continue"
2020-09-03 21:07:20 +05:30
Rish
5083094308
Updated cancel button to close modal when no back
...
no refs
- Cancel button previously was not closing the modal where no last page was found to go back to, fixed
2020-09-03 21:06:21 +05:30
Rish
3a01015618
v0.8.22
2020-09-03 17:15:24 +05:30
Rish
b563ab05a9
Fixed default plan for complimentary members
...
refs https://github.com/TryGhost/members.js/issues/77
- Fixes members on complimentary plan not having a default plan selected on account plan page
2020-09-03 17:13:38 +05:30
Rish
a8d2c03f9c
Fixed class attribute usage
...
no issue
- React expects class attribute on element to be defined as `className`
2020-09-03 17:11:42 +05:30
Rish
b2dae5fc44
Added fixture for complimentary member
...
no issue
- Adds a fixture for complimentary member for testing
2020-09-03 17:10:47 +05:30
Rish
4474a21a4d
Fixed incorrect usage of class
...
no refs
- React expects `class` on elements to be defined as `className`
2020-09-03 16:27:35 +05:30
Rish
23e0a76ea3
v0.8.21
2020-09-02 12:26:30 +05:30
Rish
4490586de8
Added new member fixture for preview mode
...
no issue
- Admin Preview mode has its own member fixture now to represent logged in member behavior
2020-09-02 12:25:36 +05:30
Peter Zimon
f2cc49c00a
Updated cancel/continue styles
2020-09-02 08:12:07 +02:00
Peter Zimon
eb5e64ad36
Removed oldschool divider line in header
2020-09-02 07:59:57 +02:00
Renovate Bot
76e6f9f28b
Update dependency @testing-library/user-event to v12
2020-09-02 00:15:52 +05:30
Rish
6e2ce8fad3
v0.8.20
2020-09-01 21:01:55 +05:30
Rish
819031e909
Fixed tests
...
no refs
2020-09-01 21:01:12 +05:30
Rish
8648bf111b
Restructured dev mode data to top
...
no refs
- Updates dev mode data structure to top of the page for easy access and changes
2020-09-01 21:01:12 +05:30
Rish
a39587c495
Updated cancel subscription flow
...
no refs
- Adds continue subscription option on account home
- Cleans up methods to render cancel continue behavior
2020-09-01 21:01:12 +05:30
Rish
cfc96aa603
Added subscription cancel/continue button
...
no issue
- Allows member to cancel or continue their subscription at period end
- Updates subscription cancellation setting in stripe
2020-09-01 21:01:12 +05:30
Rish
9b899d4c54
Added subscription cancel action handler
...
no issue
- Adds cancel/continue action handler for a subscription
2020-09-01 21:01:12 +05:30
Rish
7aa3a448f7
Fixed action reset timeout causing incorrect state
...
no issue
- Previously, a timeout after 5s for previous action was resetting the action state, but didn't take into account any consecutive action and reset state incorrectly
- Timeout is reset on every action so only the last action outside timelimit causes action state to reset
2020-09-01 21:01:12 +05:30
Renovate Bot
3a5a3527bb
Lock file maintenance
2020-09-01 12:48:13 +05:30
Rish
7a73869b75
Fixed tests
...
no issue
2020-08-27 21:40:43 +05:30
Peter Zimon
97ac0f01ec
Refined primary button
...
no refs.
- increased the default height of primary button
- added loading spinner to sign in and sign up button loading state
2020-08-27 17:58:36 +02:00
Peter Zimon
2e429e8c8c
Updated sign up/in button height
2020-08-27 17:08:49 +02:00
Rish
bd844c3568
v0.8.19
2020-08-26 00:52:17 +05:30
Rish
e50576b420
Updated cancel button behavior for account pages
...
no issue
- By default, Cancel button on Account plan/profile pages goes back to last open page like accountHome
- In case the page is opened directly via custom trigger button, there is no last open page so the popup didn't close
- Closes popup for back actions in case no last page is found
2020-08-26 00:50:55 +05:30
Rish
c721eda332
v0.8.18
2020-08-26 00:34:55 +05:30