Peter Zimon
6c1c2ee0f6
Updated portal icons
...
no refs.
2020-09-15 14:49:47 +02:00
Rish
51382bbee9
Updated account plan page to include confirmation screen
...
no issue
Adds confirmation screen on plan change/cancel on the plans screen
2020-09-15 18:17:14 +05:30
Peter Zimon
856f56f04e
Added signup spacing logic
...
no refs.
- added logic to handle spacing on signup screen based on Portal settings
2020-09-15 13:32:44 +02:00
Peter Zimon
533b3fcbbb
Added dynamic popup width
...
no refs.
- set popup width for signup and signin pages based on the number of plans
2020-09-15 12:22:13 +02:00
Peter Zimon
9a233e8210
Mobile size fixes
...
no refs.
- fixed account home margin
- fixed change plan bottom margin
2020-09-15 11:47:48 +02:00
Peter Zimon
6bf8451231
Removed debugger
2020-09-15 11:40:44 +02:00
Peter Zimon
6d45b0a295
Removed padding on account home + debugger cleanup
...
no refs.
2020-09-15 11:39:29 +02:00
Rish
3365e513d7
Refactored Account plan page into smaller components
...
no issue
2020-09-15 15:05:02 +05:30
Peter Zimon
8f9cef5a68
Fixed merge error
2020-09-15 15:05:02 +05:30
Peter Zimon
fab3e3ff3b
Added back button and rearranged logout
2020-09-15 15:05:02 +05:30
Peter Zimon
24a29773e2
Removed cancel/confirm button from change plan
2020-09-15 15:05:02 +05:30
Peter Zimon
878bc146c2
Updated placement of continue sub button
2020-09-15 15:05:02 +05:30
Rish
3111ff9dde
v0.8.25
2020-09-14 18:19:27 +05:30
Peter Zimon
36135588a6
Added responsive styles to logged out state
...
no refs.
- changed popup container to cover the whole screen on smaller screen sizes
- updated sizes on signup and signin screen for mobile devices
2020-09-11 18:20:01 +02:00
Peter Zimon
7ff541bf04
Updated z-index of iframes
2020-09-11 17:18:18 +02:00
Peter Zimon
740192f077
Restructure containers for responsive sizes
...
no refs.
Prepared the container system to responsive sizes.
- added inner scrollable container for all content
- made footer sticky
- set max height for each screen
2020-09-11 16:50:16 +02:00
Peter Zimon
9de17e2e2d
Updated site title line height and spacing
2020-09-11 14:15:06 +02:00
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