Commit Graph

533 Commits

Author SHA1 Message Date
Peter Zimon
5c425fec9c Refined input field animation styles 2020-10-14 14:55:02 +02:00
Peter Zimon
548403dc03 Maximised length of portal button text
no refs.
2020-10-14 14:43:48 +02:00
Peter Zimon
5b7b77a855 Refined account plan page footer padding 2020-10-14 11:32:08 +02:00
Rish
aa6bb75e13 Updated readme usage section
no issue

Updates usage section to correctly highlight directly adding script or enabling via Ghost config setups
2020-10-14 14:24:24 +05:30
Rish
e837446063 v0.10.12 2020-10-13 22:46:57 +05:30
Rish
d0c15e30fc Fixed site fixtures for tests
no issue

- Default site fixtures for tests often break them as tests expect all 3 plans to be present at the moment, change here updates the tests to use custom site fixture with all 3 plans to avoid breaking with any changes for dev testing
2020-10-13 22:17:30 +05:30
Peter Zimon
91414f764d Added halo around signed in trigger button
no refs.
- added an outline on the Portal trigger button for logged in state so that it pops out better on any background with Gravatars
2020-10-13 17:19:06 +02:00
Peter Zimon
e0103647e6 Adjusted drop shadow of Portal trigger button
no refs.
- update Portal trigger button's drop shadow so that it stands out a bit more from the background
2020-10-13 17:19:06 +02:00
Rish
e1c99346c7 Added logic for local switch update for visual flow
no issue

- Currently, the newsletter switch works on the value update from the API which can have slight delay causing sluggish feeling on using the switch
- Adds logic to locally update the switch state before resetting to whatever value comes from the update so the behavior feels instant
2020-10-13 18:22:26 +05:30
Rish
ac162cf1ea Added redirect to account home for complimentary member
no issue

- Complimentary members should be redirected to account home when attempted to open the account plan page via portal link
2020-10-13 18:22:26 +05:30
Rish
da7aee7003 Added loader icon for edit billing update
no issue

- Adds loading indicator for Billing update button while it waits to create and load stripe session
2020-10-13 18:22:26 +05:30
Peter Zimon
b037d98fb8 Removed auto-invert color from primary buttons
no refs.
2020-10-13 14:43:22 +02:00
Peter Zimon
b8a57d6ddf Updated animation timings
no refs.
- removed double trigger of in-popup notifications
- adjusted timing and easing for both in-popup and global notifications
2020-10-13 14:22:05 +02:00
Peter Zimon
e5175555b9 Updated dynamic signup and signin popup width
no refs.
- set popupwidth based on available plans inlcuding if self signup and/or stripe is enabled
2020-10-13 13:00:11 +02:00
Rish
e591770e5e Removed validation check on input blur
no issue

- Removes validation check for fields on focus away to make the form behavior more friendly
2020-10-13 11:29:48 +05:30
Rish
ad488d73ed Cleaned up portal link on popup close
no issue

- On closing portal popup, the hash link was not getting reset which then prevented the popup to be opened again
- Clears portal hash link on popup close
2020-10-13 11:26:01 +05:30
Rish
031bca982a v0.10.11 2020-10-02 22:03:43 +05:30
Rish
048cdbd315 Updated discount calculation round-off
no issue

- Updated yearly plan discount calculation based on rounding down to nearest integer
2020-10-02 20:35:00 +05:30
Peter Zimon
e9df5b5584 Updated billing info notification copy 2020-10-02 17:01:02 +02:00
Peter Zimon
71a8e7355b Updated triggerbutton height 2020-10-02 16:59:01 +02:00
Rish
167cbba36d v0.10.10 2020-10-02 20:02:17 +05:30
Rish
d9cb6597c5 Added back button to account plan and profiles for direct links
no issue

- We had previously removed the Back button for account profile/plan pages when opened directly via Portal link
- This updates the behavior to show the back button which takes back to Account Home as the previous behavior seemed incomplete to users
2020-10-02 19:58:51 +05:30
Rish
74a7232d0c Fixed hash change for links
no issue

- Hash handler was not updating Portal state if it pointed to a Portal link, which caused the need for a full refresh to reflect new link triggers
- Updates hash handler to use handle both preview and link states
2020-10-02 19:57:43 +05:30
Rish
bcf2b5872b v0.10.9 2020-10-02 19:37:55 +05:30
Rish
21fc8ab2b4 Updated billing info popup message
no issue

- Updates stripe billing info update/cancel message in popup notification
2020-10-02 19:35:58 +05:30
Peter Zimon
4b3973c105 Updated mobile size inputs and buttons 2020-10-02 15:50:33 +02:00
Peter Zimon
35366964b7 Updated cancel confirmation copy 2020-10-02 15:40:21 +02:00
Peter Zimon
89c7698f79 Added name and email input attributes 2020-10-02 15:35:11 +02:00
Peter Zimon
7721027783 Updated copy for newsletter setting 2020-10-02 15:27:37 +02:00
Peter Zimon
6c1041cedb Fix back button spacing 2020-10-02 15:20:08 +02:00
Peter Zimon
fe79d42239 Updated link color in popup notifications 2020-10-02 15:15:08 +02:00
Peter Zimon
bc17f41860 Updated name error copy 2020-10-02 14:56:14 +02:00
Peter Zimon
231bafb826 Updated email error copy 2020-10-02 14:51:26 +02:00
Rish
57e83ebe6c v0.10.8 2020-10-02 18:17:32 +05:30
Rish
22a1a5a5fd Fixed loader on account profile update
no issue

- Loader was missing because of `isRunning` state not added for profile update action
2020-10-02 18:00:29 +05:30
Rish
c58fd0c8de Fixed back button for plan confirmation page
no issue

- Back button was removed for confirmation page when opened via Portal link, as we checked for `lastPage` available only
2020-10-02 18:00:01 +05:30
Rish
c4b0aa9b12 v0.10.7 2020-10-02 16:41:20 +05:30
Rish
659340ec3e Fixed back button visible on link pages
no issue

- When account plan/profile pages are opened via Portal Link, the back button is non-functional as we don't have a last page to go to, fix hides the back button in such cases
2020-10-02 16:38:11 +05:30
Rish
f9ab9835e8 v0.10.6 2020-10-02 15:58:50 +05:30
Rish
465793a518 Fixed account plan page for logged out state
no issue

- Account plan page did not handle redirect to signup when no member is logged in
2020-10-02 15:57:58 +05:30
Rish
96c72aa3c9 v0.10.5 2020-10-02 15:45:44 +05:30
Rish
f91aeec3c8 Fixed members form missing data-members-name
refs #12249
refs ce14d8113a

This was incorrectly assuming the presence of the data-members-name
element in the document. By guarding against it and defaulting to
undefined, we fallback to the existing behaviour when the element is not
present.
2020-10-01 22:46:45 +05:30
Rish
39a40034ac Fixed tests
no issue

- Added yearly back to fixtures as tests rely on them
- Long term fix is to directly override fixtures with expected value for tests to not rely on value in file
2020-10-01 17:56:15 +05:30
Rish
884c56f793 Added enter to submit on forms
no issue

- Adds enter to submit on Signin/Signup/AccountProfile pages when focused on an input field
2020-10-01 17:54:39 +05:30
Peter Zimon
15d4a83b1e Updated portal title when there's no logo 2020-10-01 14:00:26 +02:00
Peter Zimon
cf4736d2df Portal notifications style (#103)
- Updated notification style for a less opinionated design so that it works better with any accent color
- Changed full width notificaiton style to smaller to avoid covering navigation
2020-10-01 13:59:32 +02:00
Rish
b414e3b7e4 Fixed empty accent color not set in preview mode
no issue

Current logic ignored empty accent color value coming from the preview url which did not unset the accent color when removed from preview. The fix allows for empty accent color in preview so that it can be reset to default.
2020-10-01 12:18:05 +05:30
Rish
9263a84c09 Updated data attributes script to read member name in form
no issue

- We recently updated Ghost to allow theme developers to pass member's name via `data-members-name` attribute
- The script covers the usecase for any themes using the attribute to fill member's name during the signup process
2020-10-01 12:18:05 +05:30
Peter Zimon
686ad537c7 Updated primary button height 2020-09-30 14:36:14 +02:00
Peter Zimon
3e26b63ec9 Updated focused input border color 2020-09-29 17:09:25 +02:00