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
Rish
4b28df8506
v0.8.6
2020-07-08 10:43:09 +05:30
Rish
01423f974b
Fixed page path set for links
...
no issue
- Fixes incorrect page path set for different links
2020-07-08 10:42:28 +05:30
Rish
ad5d05c023
v0.8.5
2020-07-08 10:38:50 +05:30
Rish
9eb1df17d1
Fixed link page urls with extra slash
...
no issue
- Fixes extra slash in link values on Link page for popup states
2020-07-08 10:37:59 +05:30
Rish
9ac11c562e
Added check for preview mode to allow mock pages
...
no issue
- By default, we have guards to allow pages based on logged in state
- For preview mode, we switch off this guard to allow signin/signup pages to open
2020-07-08 10:37:28 +05:30
Rish
df1952ba01
v0.8.4
2020-07-08 10:26:55 +05:30
Rish
2e0a3d87ad
Updated readme
...
no issue
- Updated readme to reflect correct custom data attribute
2020-07-08 10:26:14 +05:30
Rish
c1eb4e6540
Updated custom data attribute name and value
...
no issue
- Adds guard to open right page based on member logged in state from data attribute
- Updated data attribute name to `data-portal` and values same as link handling
2020-07-08 10:25:57 +05:30
Rish
2ed7ebb03d
Fixed path handling for direct page links
...
no issue
- Updates handling for direct links to open specific pages
- Added guard for member not logged in for account pages
2020-07-08 10:05:21 +05:30
Rish
439761e992
v0.8.3
2020-07-07 19:57:44 +05:30