Renovate Bot
790057bfa8
Update dependency react-scripts to v3.4.2
2020-08-12 12:04:49 +00:00
Renovate Bot
90161206e4
Update dependency @testing-library/react to v10.4.8
2020-08-07 17:05:18 +00:00
Rish
ce7cf575ed
v0.8.16
2020-08-07 21:51:29 +05:30
Rish
19d39babc8
Fixed lint
...
no issue
2020-08-05 14:28:20 +05:30
Rish
95ec778920
Fixed tests
...
no issue
- Updated tests for account plan and profile pages
2020-08-05 13:33:49 +05:30
Rish
1e2fe6be48
Updated default selected plan for paid/free members
...
refs https://github.com/TryGhost/members.js/issues/77
When changing plan from the account page, there should always be a default selected plan:
- for free members the first plan,
- for paid members the current plan
2020-08-05 13:14:39 +05:30
Rish
e0ac0652db
Updated discount value logic for yearly plan
...
refs https://github.com/TryGhost/members.js/issues/77
- Updated discount value for yearly plan to be only applied if monthly plan is visible
- Doesn't make sense to show discount if no monthly plan is visible
2020-08-05 13:01:01 +05:30
Rish
308297b238
Updated account profile to redirect to home on save
...
refs https://github.com/TryGhost/members.js/issues/77
When clicking on "Save" on account profile, the user should be redirected to the account home page in case of successful save.
2020-08-05 12:57:58 +05:30
Rish
7de783a252
Updated default page to always open from trigger button
...
refs https://github.com/TryGhost/members.js/issues/77
- Portal button should always show the Subscribe/Account Home screen based on logged-in status
- Resets state to expected page on every open toggle
2020-08-05 12:56:46 +05:30
Renovate Bot
bb7dba6fea
Update dependency @testing-library/jest-dom to v5.11.2
2020-07-31 16:04:55 +00:00
Rish
b33b95c5e7
v0.8.15
2020-07-30 20:35:55 +05:30
Peter Zimon
4f465aa127
Refined error styles
2020-07-30 15:26:32 +02:00
Rish
3249226876
Fixed tests and form validation errors data
...
refs https://github.com/TryGhost/members.js/issues/78
- Fixed error object post validation to not include keys for fields without error
- Fixed tests for Signup/Signin to use correct member context
2020-07-30 16:20:15 +05:30
Peter Zimon
f356fe621f
Updated trigger button position
2020-07-30 12:24:12 +02:00
Peter Zimon
06471449f1
Added transitions to top buttons
2020-07-30 12:24:12 +02:00
Peter Zimon
c99c4da8fd
Set button min-width
2020-07-30 12:24:12 +02:00
Rish
290a7493f2
Updated error handling for on blur
...
refs https://github.com/TryGhost/members.js/issues/78
- Updates error handling to only trigger error for specific field on blur instead of all fields
2020-07-30 15:49:56 +05:30
Peter Zimon
64f80ed1b0
Moved logout to account home page
...
no refs.
- moved logout back to account home as that's the only place it's used
- removed "Settings" button from tests
2020-07-30 11:20:47 +02:00
Peter Zimon
848c0d8ec7
Moved logout to top left
...
no refs.
- logout button was too prominent so I moved it to the top left as an icon (todo: show tooptip on hover)
2020-07-29 18:06:48 +02:00
Peter Zimon
2ad2098bba
Unify free + paid account home pages
...
no refs.
- used similar design patterns for free and paid home pages
2020-07-29 16:54:20 +02:00
Peter Zimon
bafdac7bd2
Refined logo position
2020-07-29 16:10:48 +02:00
Peter Zimon
3eaa30e1f3
Refined background color + plan label
2020-07-29 16:04:47 +02:00
Peter Zimon
a37e682f6b
Applied custom preview style + fixed account
...
no refs.
- applied custom style for popup container and background for Admin preview to make the UX more focused
- fixed dummy paid member as the preview content of the account home page
2020-07-29 15:51:55 +02:00
Peter Zimon
9efede024a
Added discount to Account/Plan page
...
no refs.
- moved discount calculation to util
- added discount to account/plan page to make it consistent with signup
2020-07-29 12:35:19 +02:00
Peter Zimon
6af7ab674a
Restructured links page layout
...
no refs.
- used table for link page structur
2020-07-29 12:11:07 +02:00
Peter Zimon
a1a51b5704
Fix trigger icon style bug
2020-07-28 17:15:04 +02:00
Peter Zimon
e877dd5e37
Updated trigger button design
...
no refs.
- added separate trigger button styles file
- restructured and updated styles
2020-07-28 17:02:17 +02:00
Rish
f47cacd299
Fixed lint
...
no issue
- Fixed useless-escape in validator email regex
2020-07-28 18:37:06 +05:30
Rish
c2d52681ed
Added error handling for plan checkout
...
refs https://github.com/TryGhost/members.js/issues/78
- Adds error handling for plan checkout when trying to checkout existing plan
2020-07-28 18:19:03 +05:30
Rish
3430cbf3bb
Added error handling for input fields
...
refs https://github.com/TryGhost/members.js/issues/78
- Adds error handling framework for input fields in forms - Signup/Signin/Account Profile
- Shows required and invalid email errors for input fields
2020-07-28 18:19:03 +05:30
Peter Zimon
32149a5d48
Added new default button icons
2020-07-28 13:34:32 +02:00
Rish
4b29d0ce15
Fixed email subscription label on account home
...
no issue
- Hardcoded label was being used on account home for newsletter subscriptions status
- Updated to use label based on subscribed status, same as profile page
2020-07-24 21:04:45 +05:30
Rish
a51052c320
v0.8.14
2020-07-24 15:39:58 +05:30
Peter Zimon
e8279c132a
Cleaned up CSS property order
2020-07-24 11:30:20 +02:00
Peter Zimon
7e7277544e
Refined site logo spacing
2020-07-24 11:16:20 +02:00
Peter Zimon
e8ea5fef83
Added CSS variable colors
2020-07-24 11:06:56 +02:00
Peter Zimon
5484d5e2d8
Cleaned up style attributes
2020-07-24 10:46:13 +02:00
Peter Zimon
e1640740f4
Added semantic HTML to pages
2020-07-24 10:37:39 +02:00
Peter Zimon
be016409d0
Cleaned up all tachyons styles
2020-07-24 10:22:09 +02:00
Peter Zimon
9e001fa8a9
Cleaned up HTML attribute orders
2020-07-24 10:03:48 +02:00
Peter Zimon
b035a0ae57
Added appearance animation
...
no refs.
- restructured iframe hierarchy
- added appearance animation
2020-07-23 19:01:15 +02:00
Rish
6fe329bdb0
v0.8.13
2020-07-23 20:55:48 +05:30
Rish
c2ee482293
Updated publication image in popup header to use icon
...
closes https://github.com/TryGhost/members.js/issues/72
- Portal previously user publication logo as header image on logged out pages
- Replaces `logo` setting with publication `icon` for header image
2020-07-23 17:12:57 +05:30
Peter Zimon
14998061bd
Fixed signin heading spacing
2020-07-23 12:33:27 +02:00
Peter Zimon
a95262a963
Fixed input field focus style bug
2020-07-23 12:15:30 +02:00
Peter Zimon
1aa9652970
Fixed signin page test
2020-07-23 12:05:55 +02:00
Peter Zimon
849ecae000
Updated signup, signin, magic link pages designs
...
no refs.
- added envelope to magic link page
- removed label and divider on signup page
- refined close icon color
2020-07-23 11:57:07 +02:00
Peter Zimon
ce47f3ba48
Fix account home test
2020-07-23 11:39:48 +02:00
Peter Zimon
4dcdfb7cad
Updated paid and free account design
...
no refs.
- updated design of account page to use global list styles for paid members
- removed "Contact support" from free members
2020-07-23 11:33:41 +02:00
Peter Zimon
c3cb46da02
Account page refinements
...
no refs.
- removed back button from detail screens
- refined layout
- made switch smaller
2020-07-22 17:42:42 +02:00
Peter Zimon
d649605f22
Refined popup width
2020-07-22 17:15:33 +02:00
Peter Zimon
aaf37d046c
Refined plan pricing section design
2020-07-22 17:11:14 +02:00
Rish
2de8c376f3
v0.8.12
2020-07-22 16:22:21 +05:30
Rish
2578856c8d
Updated portal button icon handling
...
no issue
- Added default icon svgs for button icon
- Updated rendering for default button icon
2020-07-22 16:09:59 +05:30
Peter Zimon
0486f04c7d
Added breakline in free plan description
2020-07-22 10:50:24 +02:00
Peter Zimon
31407ba6a3
Fixed plan detail spacings
2020-07-22 10:47:39 +02:00
Peter Zimon
933fbfb079
Refined checkmark size
2020-07-22 10:45:22 +02:00
Peter Zimon
f25d5b2e20
Fixed switch UI bugs
...
no refs.
- fixed switch basic styles
- applied brandcolor to switch ON style
- fixed account page layout bug
2020-07-22 10:28:12 +02:00
Peter Zimon
741a1d1942
Added checkmark styles to plan selector
2020-07-22 10:13:23 +02:00
Peter Zimon
b2bfca4d0b
Aligned plan section to center
2020-07-22 10:00:13 +02:00
Rish
8c98bf753e
v0.8.11
2020-07-22 13:11:25 +05:30
Peter Zimon
9969276d37
Plan selection refinements
2020-07-21 17:06:48 +02:00
Peter Zimon
4173a921ae
Added basic plan selection styles
...
no refs.
2020-07-21 17:03:51 +02:00
Peter Zimon
29abe4688f
Basic styles for magic link page
2020-07-21 16:03:35 +02:00
Peter Zimon
2094a0950a
Basic styling for signin page
...
no refs.
2020-07-21 15:58:47 +02:00
Peter Zimon
263f00bdd2
Basic signup page styling
...
no refs.
- applied basic styling to signup page
2020-07-21 15:43:01 +02:00
Rish
b86ea31079
Removed extra commented code
...
no issue
- Removes commented out code
2020-07-21 17:05:21 +05:30
Rish
7b5ee1ec9d
Fixed lint
2020-07-21 17:03:57 +05:30
Rish
0e30b63f62
Refactored app setup to more modular structure
...
no issue
- Adds new mode check util for dev, preview and test, cleaned up manual checks
- Extracts Pages setup to its own file allowing common use
- Extracts action handling to its own file for neater structure
- Breaks up main App.js into proper methods for data fetching across usecases
- Adds better handling for App context through state
- Fixed trigger button test
2020-07-21 16:43:13 +05:30
Peter Zimon
47e7b86637
Applied brandcolor to account icon
2020-07-21 11:45:19 +02:00
Peter Zimon
2449991847
Added icon to 'Back' button
2020-07-21 11:26:39 +02:00
Peter Zimon
e7459437cb
Added brand color CSS variable
...
no refs.
- added brand color CSS variable to iframe styles so that it's possible to use on UI elements
2020-07-21 11:06:11 +02:00
Peter Zimon
94093a2041
Refined paid account styles
2020-07-21 10:40:39 +02:00
Peter Zimon
73ee017b12
Removed paddings in plans page
...
no refs.
2020-07-20 18:03:34 +02:00
Peter Zimon
9f01f70777
Applied basic styles to account profile
...
no refs.
2020-07-20 17:57:56 +02:00
Peter Zimon
45c6dd3b8b
Updated paid account styles
...
no refs.
- added basic styling to paid account settings styles
2020-07-20 17:33:10 +02:00
Peter Zimon
e45663dcb0
Added free account home screen styles
...
no refs.
- updated inline styles to CSS classes for free account home screen
2020-07-20 16:21:14 +02:00
Peter Zimon
cfe6829538
Changed style namespace
...
no refs.
- changed style namespace from `ghp` to `gh-portal`
2020-07-20 16:05:27 +02:00
Peter Zimon
eb8ad7b493
Added account home CSS styles
...
no refs.
- added styles for free account home screen
2020-07-20 16:02:58 +02:00
Peter Zimon
81ea9427f2
Updated switch and button styles
...
no refs.
- applied namespace to switch and button styles
2020-07-20 15:34:48 +02:00
Peter Zimon
5021689e16
Cleaned up popup modal styles
...
no refs.
- moved a couple of styles that are inside the iframe to CSS classes
2020-07-20 15:32:00 +02:00
Peter Zimon
2b49f6d08a
Distributed CSS in JS styles to components
...
no refs.
- moved switch and action button styles to their respective components to tidy up the style structure
2020-07-20 14:52:47 +02:00
Peter Zimon
d0b9ff40f3
Added global style for main action button
...
no refs.
2020-07-17 14:52:55 +02:00
Peter Zimon
a52afa8c2a
Updated basic styles for Account home page
...
no refs.
- applied layout, typography, color basics
2020-07-17 14:36:56 +02:00
Rish
d8cd5d1860
v0.8.10
2020-07-16 12:48:06 +05:30
Rish
d240b85319
Fixed empty member for logged in state
...
no issue
- Fetching member for preview or dev mode was overwtiting member as null for prod
- Fixes by returning default member state for non preview/dev mode
2020-07-16 12:47:19 +05:30
Rish
4eec6f31ec
Fixed tests
...
no issue
- Fixed signup test with correct plan value
2020-07-16 12:11:01 +05:30
Rish
398d851e7b
v0.8.9
2020-07-16 12:09:10 +05:30
Rish
3b8b2c3f2a
Updated development mode to handle account pages
...
no issue
- Allows development mode to open account pages with dummy member for testing
2020-07-16 12:08:24 +05:30
Rish
9ccbef5db1
Fixed overflow for portal button
...
refs https://github.com/TryGhost/members.js/issues/66
- Portal button showed scrollbars in some OS/browsers combination
- Hides overflow for portal button as we don't show scroll for any case
2020-07-16 12:07:35 +05:30
Rish
322096db5a
Fixed default plan selection for signup page
...
closes https://github.com/TryGhost/members.js/issues/68
Signup screen can have any combination of available plans out of 3 currently allowed - free, monthly, yearly. This fix
- Always sets a default plan on screen based on which plans are available
- Uses `Free` as default if all plans are available, falls back to first plan in list otherwise
2020-07-16 11:57:19 +05:30
Renovate Bot
792b698d87
Update dependency @testing-library/jest-dom to v5.11.1
2020-07-15 15:05:12 +00:00
Renovate Bot
629f910615
Update dependency @testing-library/react to v10.4.7
2020-07-15 14:05:01 +00:00
Renovate Bot
bb6de1c31d
Update dependency @testing-library/react to v10.4.6
2020-07-13 19:04:57 +00:00
Rish
4c43a1bc9e
Fixed member state for portal preview page
...
closes https://github.com/TryGhost/members.js/issues/67
- Portal preview state was incorrectly adding logged-in member state
- Updates member state to be used only for account pages
2020-07-13 17:48:34 +05:30
Rish
9da9c3a21e
v0.8.8
2020-07-09 11:09:28 +05:30
Rish
e721d9242b
Handled trailing slash for site url
...
no issue
- Site url might be added with trailing slash, which causes site apis to be called with double slash
- Removes trailing slash from siteUrl if present
2020-07-09 11:08:52 +05:30
Renovate Bot
db6e02b3fa
Update dependency @testing-library/react to v10.4.5
2020-07-08 19:14:19 +00:00
Rish
797f784296
v0.8.7
2020-07-08 20:54:41 +05:30
Rish
a6ab7fd626
Fixed null checks for accent color
...
no issue
- Fixes null checks for accent color
2020-07-08 20:54:10 +05:30