simeng-li
8b434275bb
refactor(ui): refactor and fix some minor ui issues ( #1005 )
...
* fix(ui): fix loading layer z-index
fix loading layer z-index
* refactor(ui): social popup should show expanded conenctors only
social popup should show expanded conenctors only
* style(ui): short web page layout
short webpage layout
* refactor(ui): refactor some social paths
refactor some social paths
* style(ui): social link button redesign
social link button redesign
* refactor(ui): replace location.assign with location.replace
replace location.assign with location.replace
* refactor(ui): remove social sign-in callback
remove social sign-in callback
2022-05-31 17:38:16 +08:00
simeng-li
f4e380f0b1
feat(ui): app notification ( #999 )
...
* feat(ui): app notification
app notification
* feat(ui): remove session storage
remove session storage
2022-05-31 14:24:32 +08:00
simeng-li
d6411b46cc
refactor(ui): hook utils split ( #998 )
...
* refactor(ui): native sdk util
native sdk util
* refactor(ui): social connectors util
social connectors util
* refactor(ui): remove hooks utils
2022-05-31 11:59:43 +08:00
simeng-li
8530e249aa
feat(ui): add Notification component ( #994 )
...
add Notification component
2022-05-31 11:02:03 +08:00
simeng-li
b9131e9765
fix(ui): fix drawer overflow bug ( #984 )
...
fix drawer overflow bug
2022-05-30 13:58:27 +08:00
simeng-li
362c3a6e6e
fix(ui): fix callback link params for apple ( #985 )
...
fix callback link params for apple
2022-05-30 11:56:23 +08:00
simeng-li
d0d507ab79
refactor(ui): add social landing page ( #972 )
...
* refactor(ui): add social landing page
add social landing page
* fix(ui): add ui coverage
add ui converage job
* fix(ui): fix ci
fix ci
* test(ui): add ut cases for parseQueryParameters
add unit test case for util parseQueryParameter
* refactor(ui): pass whole connector into the invokeSocialSignInHandler
pass whole connector object into the invokeSocialSignInHandler
* fix(ui): cr fix
cr fix
2022-05-30 01:42:59 +00:00
Gao Sun
877bbc0d2c
fix: revert "chore(deps): update parcel monorepo to v2.6.0"
2022-05-29 14:19:09 +08:00
Gao Sun
a686b1707a
refactor: social connectors ( #975 )
...
* refactor: social connectors
* refactor(connectors): remove unused fixme comment
* fix(connectors): test
2022-05-29 05:59:00 +00:00
Gao Sun
8d17f9d73a
Merge pull request #973 from logto-io/gao-update-apple-connector
...
refactor(connector): remove apple js sdk
2022-05-28 22:08:50 +08:00
renovate[bot]
00b74d5e90
chore(deps): update parcel monorepo to v2.6.0 ( #971 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-27 22:02:11 +08:00
Gao Sun
52c745d41f
refactor(connector): remove apple js sdk
2022-05-27 19:06:06 +08:00
Gao Sun
7400ed8896
feat(connector): apple ( #966 )
...
* feat(connector): apple
* feat(connector): apple
* fix(connector): test
* refactor(connector): per review
* refactor(connector): update issue number
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-05-27 15:43:42 +08:00
simeng-li
e8ee5b1149
refactor(ui): refactor social sign-in code flow ( #969 )
...
* refactor(ui): refactor social signin callback flow
refactor social signin callback flow
* fix(ui): change file structure
change file structure
* refactor(ui): refactor social sign-in code flow
refactor social sign-in code flow
2022-05-27 04:46:49 +00:00
simeng-li
7015d81378
refactor(ui): refactor social signin callback flow ( #967 )
...
* refactor(ui): refactor social signin callback flow
refactor social signin callback flow
* fix(ui): change file structure
change file structure
2022-05-27 12:42:20 +08:00
simeng-li
ab7a35267a
refactor(ui): useSocial hooks refactor ( #956 )
...
* refactor(ui): useSocial hooks refactor
useSOcial hooks refactor
* fix(ui): remove unnecsessary loading on setting query
remove unnecessary loading
2022-05-26 18:15:41 +08:00
simeng-li
70d34c49c8
refactor(ui): social container refactor ( #955 )
...
* refactor(ui): social container refactor
social container refactor
* refactor(ui): extract socialSignInIconList
extract socialSignInIconList
2022-05-26 13:30:09 +08:00
simeng-li
da41369bfd
fix(ui): social bind account should back to sign-in page ( #952 )
...
social bind account should back to sign-in page
2022-05-26 10:06:25 +08:00
simeng-li
4abcda6820
feat(ui): add mobile terms of use iframe modal ( #947 )
...
add mobile terms of use iframe modal
2022-05-25 16:42:18 +08:00
simeng-li
d60748b20c
refactor(ui): refactor some component structure ( #943 )
...
* refactor(ui): refactor some component structure
refactor some component structure
* refactor(ui): relocate terms of use modal
relocate terms of use modal
2022-05-25 14:24:40 +08:00
simeng-li
48607219f5
style(ui): implement dynamic color theme ( #938 )
...
* style(ui): implement dynamic color theme
implement dynamic color theme
* fix(ui): avoid precision issue
avoid precision issue
* fix(ui): fix typo
* fix(ui): fix typo
fix typo
2022-05-25 09:58:54 +08:00
simeng-li
7a17d41acf
fix(ui): fix social bug ( #939 )
...
* fix(ui): fix social bug
fix social bug
* fix(ui): align social bind account api path
align social bind account api path
2022-05-24 20:48:12 +08:00
simeng-li
8060ec4941
refactor(ui): add preview social connectors filter ( #932 )
...
* refactor(ui): add preview social connectors filter
add preview social connectors filter
* fix(ui): typo fix
typo fix
2022-05-24 16:43:14 +08:00
simeng-li
cd18a7a046
refactor(ui): use postMessage on preview ( #929 )
...
* refactor(ui): use postMessage on preview
use postMessage on preview
* fix(ui): cr fix
cr fix
* fix(ui): cr fix
cr fix
* fix(ui): cr fix
cr fix
2022-05-24 11:38:20 +08:00
simeng-li
91eabcd9f7
style(ui): main flow style update ( #912 )
...
main flow style update
2022-05-23 10:32:33 +08:00
simeng-li
5e0c39e516
fix(ui): hide social signin method if connectors are empty ( #909 )
...
hide social signin method if connectors are empty
2022-05-20 15:58:02 +08:00
simeng-li
ad674c30ca
refactor(ui): refactor native supported social connectors jsbridge ( #907 )
...
* refactor(ui): refactor native supported social connectors jsbridge api schema
refactor native supported social connectors jsbridge api schema
* fix(ui): fix typo
fix typo
2022-05-20 04:43:57 +00:00
simeng-li
9859213e19
refactor(ui): refactor terms modal as a promisified function ( #897 )
...
refactor terms modal as a promisified function
2022-05-20 09:59:40 +08:00
simeng-li
243426882e
style(ui): web ui refinement ( #879 )
...
* style(ui): web ui refinement
web ui refinement
* style(ui): shadow update
shadow update
2022-05-19 14:21:38 +08:00
simeng-li
85e475d85e
refactor(ui): rename native supported connctors param name ( #888 )
...
rename native supported connctors param name
2022-05-19 14:21:21 +08:00
simeng-li
9fa13a24ae
feat(ui): add darkmode logo ( #880 )
...
* feat(ui): add darkmode logo
add darkmode logo
* fix(ui): cr fix
cr fix
2022-05-19 14:21:14 +08:00
Wang Sijie
a2cd983d97
fix(console): socialConnectors in preview data ( #862 )
...
* fix(console): socialConnectors in preview data
* fix: cr
2022-05-19 14:05:43 +08:00
simeng-li
e5fa1df1fa
style(ui): some desktop ui component style update ( #877 )
...
some desktop ui component style update
2022-05-19 09:50:03 +08:00
simeng-li
542d878231
fix(ui): fix undefined dark-primary-color bug ( #876 )
...
fix undefined dark-primary-color bug
2022-05-18 10:06:30 +00:00
simeng-li
0f2827ccb8
feat(ui): add global primary color settings ( #871 )
...
add global primary color settings
2022-05-18 15:10:14 +08:00
simeng-li
9c1e9ef7ed
fix(ui): fix count down bug ( #874 )
...
fix count down bug
2022-05-18 15:09:16 +08:00
simeng-li
1661c8121a
fix(ui): ui refinement ( #855 )
...
* fix(ui): ui refinement
ui refinement
* fix(ui): fix mobile page jumpping issue
fix mobile page jumpping issue
2022-05-18 10:03:37 +08:00
renovate[bot]
b5bdfcbc5b
chore(deps): update dependency @silverhand/jest-config to ^0.14.0 ( #869 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 13:33:53 +00:00
renovate[bot]
33baaa8c36
chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0 ( #797 )
...
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0
* chore(deps): upgrade stylelint to v14
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-17 13:20:17 +00:00
renovate[bot]
8a012a393d
chore(deps): update dependency @silverhand/ts-config to ^0.14.0 ( #859 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 11:04:12 +00:00
renovate[bot]
83dd78e847
chore(deps): update dependency @silverhand/ts-config-react to ^0.14.0 ( #863 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:48:33 +00:00
renovate[bot]
3316bbf429
chore(deps): update dependency @silverhand/eslint-config to ^0.14.0 ( #866 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:42:15 +00:00
renovate[bot]
66b57ad4d5
chore(deps): update dependency @silverhand/eslint-config to ^0.13.0 ( #858 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 18:07:13 +08:00
Gao Sun
f4526a9a3f
refactor: use @silverhand/jest-config
( #861 )
2022-05-17 17:32:41 +08:00
Wang Sijie
127664a62f
feat(core,console): social connector targets ( #851 )
...
* feat(core,console): social connector targets
* fix: add test
2022-05-17 17:09:42 +08:00
simeng-li
d8c62c14a6
fix(ui): relocate svg jest config ( #856 )
...
relocate svg jest config
2022-05-17 16:32:02 +08:00
simeng-li
ef19fb3d27
feat(ui): implement preview mode ( #852 )
...
* feat(ui): implement preview mode
implement preview mode
* fix(ui): remove unused dependency
remove unused dependency
2022-05-17 14:01:36 +08:00
simeng-li
58e07fbd79
refactor(ui): add svg transformer ( #849 )
...
* refactor(ui): introduce svgr transformer
use svgr transformer to translate svg files into react component direactly
* fix(ui): fix stroke color
fix stroke color
* fix(ui): remove unused classname
remove unused classname
2022-05-17 02:26:55 +00:00
simeng-li
88600c012c
fix(ui): add default success true for no response api ( #842 )
...
* fix(ui): add default success true for no response api
add default success true for no response api
* fix(ui): code name
code name
* fix(ui): fix test
fix test
2022-05-17 10:18:09 +08:00
Darcy Ye
cd4650508f
fix(UI): fix connector target and id used in UI ( #838 )
...
* fix(ui): fix ui connector type
* fix(ui): fix connector target and id usage
2022-05-16 13:56:34 +08:00
simeng-li
36922b343f
feat(ui): add social dropdown list for desktop ( #834 )
...
* feat(ui): add social dropdown list for desktop
add social dropdown list for desktop
* fix(ui): cr fix
cr fix
* fix(ui): remove useless code
remove useless code
2022-05-16 05:53:06 +00:00
simeng-li
be8b8628ba
fix(ui): add body background color ( #831 )
...
add body background color
2022-05-16 05:48:33 +00:00
simeng-li
e2217584a4
fix(ui): fix create account page reload issue ( #832 )
...
fix create account page reload issue
2022-05-16 05:47:09 +00:00
simeng-li
78d3bb6045
refactor(ui): add session guard to ui page ( #803 )
...
* refactor(ui): add session guard to ui page
add session guard to ui page
* test(core): fix ut
fix ut
* fix(core): fix typo
fix typo
2022-05-16 05:43:23 +00:00
simeng-li
5880d1965a
style(ui): rest components style update ( #818 )
...
* style(ui): rest components style update
desktop component style update
* fix(ui): fix un-exist classname
fix un-exist classname
* fix(ui): cr fix
cr fix
2022-05-16 02:33:25 +00:00
simeng-li
9e9e8cdb50
style(ui): button & confirm modal ( #817 )
...
* style(ui): button & confirm modal
button and confirm modal desktop styling
* fix(ui): fix typo
* fix(ui): fix image alt
fix image alt
2022-05-15 03:03:19 +00:00
simeng-li
1173ad1b8c
style(ui): add desktop styling ( #816 )
...
* style(ui): add desktop styling
add desktop styling
* fix(ui): fix typo
fix typo
2022-05-15 02:54:29 +00:00
simeng-li
0b2ad91357
style(ui): terms of use checkbox ui ( #815 )
...
terms of use checkbox ui
2022-05-15 02:46:08 +00:00
simeng-li
4e2e8990bb
style(ui): container style adjustment ( #814 )
...
* style(ui): container style adjustment
container style adjustment
* fix(ui): cr fix
cr fix
2022-05-15 10:37:12 +08:00
Charles Zhao
8ecf800f90
chore: use cross-env to make 'pnpm dev' compatible on windows
2022-05-14 21:09:31 +08:00
simeng-li
907a63b52a
refactor(ui): add ui social connector filters ( #822 )
...
* refactor(ui): add ui social connector filters
add ui social connector filters
* refactor(ui): add some comments
add some comments
2022-05-13 11:04:32 +00:00
Darcy Ye
7a922cbd33
feat(core): add socialConnectors details for get sign-in-settings ( #804 )
...
* feat(core,ui): add social connector info to get-settings api
* refactor(connectors): rename api
2022-05-13 07:59:07 +00:00
simeng-li
343d37cfec
style(ui): refactor page level styling for both mobile & desktop ( #795 )
...
* style(ui): refactor page level stylign for both mobile & desktop
refactor page level stylign for both mobile & desktop
* fix(ui): center align create account
cernter align create account
* fix(ui): ci fix
ci fix
* fix(ui): cr fix
cr fix
* feat(ui): content update
content update
2022-05-12 07:40:02 +00:00
Darcy Ye
8e1533a702
feat(core): update connector db schema ( #732 )
...
* feat(core): update connector db schema
* feat(core): eliminate code redundancy for UTs
* feat(core): delete insertConnector on conflict logic and fix UTs
* feat(core): fix UI according to new connector type implementation
* feat(core): removed unused getConnectorByTargetAndPlatform methods
* feat(core): deprecate the function that updateConnector by giving target and platform
* feat(core): keep SSOT on combination of connector and corresponding metadata
* feat(core): rename index name in db
2022-05-12 12:17:17 +08:00
Renovate Bot
5044eee783
chore(deps): update dependency @silverhand/ts-config-react to ^0.12.0
2022-05-11 12:43:28 +00:00
Renovate Bot
d36abe1ee5
chore(deps): update dependency @silverhand/ts-config to ^0.12.0
2022-05-11 12:26:08 +00:00
Renovate Bot
d5ef7ddbe3
chore(deps): update dependency @silverhand/eslint-config to ^0.12.0
2022-05-11 11:48:42 +00:00
simeng-li
13cd2c100e
fix(ui): fix typo ( #792 )
...
fix typo
2022-05-11 17:59:39 +08:00
simeng-li
48de9c072b
fix(ui): catch request exceptions with no response body ( #790 )
...
catch request exceptions with no response body
2022-05-11 17:59:24 +08:00
renovate[bot]
1872cfcc0f
chore(deps): update dependency @silverhand/eslint-config-react to ^0.11.0 ( #776 )
...
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.11.0
* chore: add comments
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:32:03 +00:00
renovate[bot]
87a9f8a2ae
chore(deps): update dependency @silverhand/eslint-config to ^0.11.0 ( #775 )
...
* chore(deps): update dependency @silverhand/eslint-config to ^0.11.0
* chore: add comments
* fix: lockfile
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:13:06 +00:00
simeng-li
5c02ec3bda
feat(ui): init destop styling foundation ( #787 )
...
* feat(ui): init destop styling foundation
init desktop styling
* fix(ui): cr fix
* style(ui): enable mobile and desktop global class
enable mobile and desktop global class
2022-05-11 03:30:35 +00:00
simeng-li
2161856bcd
fix(ui): fix social native interaction bug ( #772 )
...
* fix(ui): fix social native sdk data namespace
fix social native sdk data namespace
* refactor(ui): refactor nativeSDK callbackUrl
refactor nativeSDK callbackUrl
`
* refactor(ui): return result from api
return result from api
* fix(ui): should not show error message on social bind account
should not show error message on social bind account
2022-05-10 12:20:15 +08:00
Renovate Bot
43db7374c9
chore(deps): update dependency @silverhand/ts-config to ^0.11.0
2022-05-09 16:15:27 +00:00
Renovate Bot
3d0001ea5a
chore(deps): update dependency @silverhand/ts-config-react to ^0.11.0
2022-05-09 15:35:56 +00:00
simeng-li
6e27c1780d
refactor(ui): refactor ui style foundations ( #761 )
...
refactor ui style foundations
`
2022-05-09 15:42:48 +08:00
simeng-li
7e6a8d4156
refactor(ui): main flow ui refine part 2 ( #742 )
...
* refactor(ui): main flow ui refine
main flow ui refine
* fix(ui): cr fix
cr fix
* fix(ui): fix confirm password border styling
fix confirm password border styling
2022-05-09 15:26:45 +08:00
simeng-li
da3de542d2
refactor(ui): social sign-in api update ( #763 )
...
social sign-in api update
2022-05-09 15:17:42 +08:00
simeng-li
5db628b716
refactor(ui): refactor 404 page ( #727 )
...
* refactor(ui): refine page layout
refine page layout
* fix(ui): fix content element height issue
fix content elment height issue
* refactor(ui): refactor 404 page
refactor 404 page
* test(ui): add 404 test
add 404 page test
* refactor(ui): rename errorPage
rename ErrorPage
2022-05-07 10:29:19 +08:00
simeng-li
9e90a6197c
refactor(ui): refactor page layout and base style ( #726 )
...
* refactor(ui): refine page layout
refine page layout
* fix(ui): fix content element height issue
fix content elment height issue
2022-05-06 11:06:50 +08:00
Gao Sun
3b17324d18
fix: lint:report
script ( #730 )
2022-05-05 10:26:30 +00:00
simeng-li
26332f8644
refactor(ui): remove second attribute in unit scss function ( #721 )
...
remove second attribute in unit scss function
2022-05-05 14:23:08 +08:00
simeng-li
92e8ed199d
refactor(ui): main flow mobile design review fix part 1 ( #717 )
...
* fix(ui): use description.or for all non-social methods divider
use description.or for all non-social methods divider
* fix(ui): should not validate format in sign-in form
should not validate format in sign-in form
* refactor(ui): add clear-icon and refine component import path
add clear-icon and refin component import path
* fix(ui): remove passcode input error border
remove passcode input error border
* refactor(ui): hide error border of confirm passcode
hide error border of confirm passcode
* fix(ui): fix i18n key
fix i18n key
* refactor(ui): show clear icon for password in create-account form
show clear icon for password in create-account form
* fix(ui): update passwordless confirm modal confirm button text
update passwordless confirm modal confirm button text
* refactor(ui): divider style update
divider style update
* fix(ui): always show social links expand button
toggle social link
* fix(ui): extract mobile width style
extract mobile width style
* fix(ui): fix create account link
fix create account link
* fix(ui): cr fix
2022-05-05 13:44:22 +08:00
simeng-li
166fb709d3
refactor(ui): remove /404 path ( #709 )
...
* fix(ui): fix ci fail
* fix(ui): fix redundent code
fix redundent code
* refactor(ui): render not found contend directly instead of jump to 404
render not found contend directly instead of jump to 404
* fix(ui): fix infinit toast bug
fix inifinit toast bug
* refactor(ui): show error toast
show error toast
* fix(ui): cr fix
cr fix
2022-05-05 10:57:54 +08:00
simeng-li
34d798b645
fix(ui): fix ui i18n package error ( #713 )
...
fix ui i18n package error
2022-04-29 20:28:08 +08:00
simeng-li
da49812164
fix(ui): fix ci fail ( #708 )
...
* fix(ui): fix ci fail
* fix(ui): fix redundent code
fix redundent code
2022-04-29 16:32:25 +08:00
simeng-li
15dd1a767e
fix(ui): ui design review fix ( #697 )
...
* fix(ui): ui restyling
ui restyling
* fix(ui): fix styling and translation
fix styling and translation
* refactor(ui): add universal primary button color
add universal primary button color
2022-04-29 11:49:21 +08:00
simeng-li
e761be6756
refactor(ui): add debounced loading ( #692 )
...
* refactor(ui): add debounced loading
add debounced loading
* fix(ui): cr fix
cr fix
2022-04-29 11:48:21 +08:00
simeng-li
731ff1cbdc
feat(ui): not found page ( #691 )
...
add not found page
2022-04-29 11:35:51 +08:00
simeng-li
0a1c74ddb1
refactor(ui): refactor all social sign-in related error handling ( #686 )
...
* refactor(ui): social sign-in error handling
social sign-in error handling
* fix(ui): fix page style
fix page style
2022-04-29 11:28:38 +08:00
Charles Zhao
cd9ce73228
Merge pull request #702 from logto-io/charles-log-2171-refactor-sdk-integration-guide-with-mdx
...
refactor(console): sdk integration guide with mdx
2022-04-28 21:06:04 +08:00
Charles Zhao
ea91fbaa51
refactor(console): sdk integration guide with mdx
...
show response error toast
2022-04-28 20:59:08 +08:00
simeng-li
b601fb45ce
refactor(ui): implement errorHander in useApi hook ( #684 )
...
* refactor(ui): implement api error handler
implement api error handler
* refactor(ui): extend register account exist flow
extend register account exist flow
* feat(ui): username exsit error
username exsit error
* refactor(ui): redirect pack if no value found in passcode validation page
redirect pack if no value found in passcode validation page
2022-04-28 12:13:23 +08:00
simeng-li
b0138bdc0f
fix(ut): fix ut ( #683 )
...
fix ut
2022-04-28 10:06:47 +08:00
simeng-li
6e5f14792e
refactor(ui): update api lang header ( #680 )
...
update api lang header
2022-04-27 18:36:26 +08:00
simeng-li
5e251bdc08
feat(ui): add bind social account flow ( #671 )
...
* refactor(ui): passdown bindWithSocial query params
passdown bindWithSocial query params
* feat(ui): add bindSocialAccount to the sign-in request
add bindSocialAccount to the sign-in requeset
* fix(ui): cr fix
cr fix
2022-04-27 14:05:10 +08:00
simeng-li
ce4d6daad2
refactor(ui): extract useBindSocial hook ( #667 )
...
extract useBindSocial hook
2022-04-26 17:31:00 +08:00
simeng-li
12cf518c88
refactor(ui): refactor signin method link ( #669 )
...
refactor signin method link
2022-04-26 17:22:03 +08:00
simeng-li
c5b1fed805
feat(ui): add social sign-in binding page ( #664 )
...
* feat(ui): add social sign-in binding page
add social sing-in binding page
* feat(ui): temp redirect to the username sign-in page
temp redirect to the username sign-in page
* fix(ui): fix style missing bug
fix style missing bug
2022-04-26 14:32:45 +08:00
simeng-li
5e7744095a
feat(ui): render page using sign-in exp settings ( #655 )
...
* feat(ui): render page using sign-in exp settings
render page using sign-in exp settings
* fix(ui): remove unused classname
remove unused classname
* fix(ui): cr fix
cr fix
2022-04-26 08:00:19 +08:00
simeng-li
d2252cef09
refactor(ui): refactor ui form ( #651 )
...
* refactor(ui): refactor ui form
create useForm hook
* fix(ui): cr fix
cr fix
* fix(ui): cr fix
cr fix
2022-04-25 14:11:57 +08:00
simeng-li
3c8869150d
fix(ui): fix overlay ( #652 )
...
fix overlay
2022-04-24 20:33:35 +08:00
Gao Sun
2d7918a224
feat(jest-config): init package ( #644 )
...
* feat(jest-config): init package
* chore(deps): upgrade `@types/jest`
* fix(core): add jest-matcher dependency
add jest-matcher dependency
Co-authored-by: simeng-li <simeng@silverhand.io>
2022-04-24 18:02:18 +08:00
renovate[bot]
d79c1e94f8
chore(deps): update dependency @testing-library/react to v13 ( #631 )
2022-04-23 12:03:43 +08:00
renovate[bot]
7b485aebab
chore(deps): update dependency lint-staged to v12 ( #634 )
2022-04-22 16:46:39 +00:00
Gao Sun
c12c7ee03d
chore: add package script ( #607 )
2022-04-22 10:02:54 +00:00
renovate[bot]
2a03b68865
fix(deps): update dependency ky to ^0.30.0 ( #617 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:12:04 +00:00
simeng-li
666c5d8b8c
refactor(ui): replace termsOfUse Component with Container ( #610 )
...
* refactor(ui): refactor terms of use
refactor terms of use
* fix(ui): fix terms modal
fix terms mdoal
* refactor(ui): replace termsOfUse Component with Container
replace termsOfUse Component With Container
2022-04-22 14:01:43 +08:00
simeng-li
3d8c3af5bd
refactor(ui): refactor terms of use ( #603 )
...
* refactor(ui): refactor terms of use
refactor terms of use
* fix(ui): fix terms modal
fix terms mdoal
* fix(ui): cr fix
remove console.log
2022-04-22 13:53:30 +08:00
simeng-li
e4e3fd409e
refactor(ui): load branding info from settings ( #608 )
...
* refactor(ui): load branding info from settings
load branding info from settings
* fix(ui): cr fix typo
fix typo
2022-04-22 09:54:08 +08:00
simeng-li
10ca51cfa0
refactor(ui): nativeCallback renaming ( #605 )
...
nativeCallback renaming
2022-04-21 17:11:10 +08:00
simeng-li
51e6ac6d62
fix(ui): show response error toast ( #604 )
...
show response error toast
2022-04-21 16:46:36 +08:00
simeng-li
a04f472fe0
refactor(ui): update global page context ( #599 )
...
* refactor(ui): update global page context
add usePageContext hook
* fix(ui): cr fix
cr fix
2022-04-21 14:08:16 +08:00
simeng-li
2fa20363be
feat(ui): load lanuage settings from sign-in-experience settings ( #595 )
...
* feat(ui): load lanuage settings from sign-in-experience settings
load lanuage settings from sign-in-experience settings
* fix(ui): cr fix
cr fix
* fix(ui): throw error on getSignInExperienceSettings
throw error on getSignInExperienceSettings
* fix(ui): cr fix
cr fix
* fix(ui): cr fix
cr fix
2022-04-21 14:01:56 +08:00
simeng-li
93a93b4c8f
feat(ui): ui style foundation update ( #583 )
...
* feat(ui): ui style foundation update
ui style foundation update
* fix(ui): remove legacy style
remove legacy style
* refactor(ui): remove errorMessage shrink space logic
remove errorMessage shrink space logic
2022-04-20 15:07:16 +08:00
simeng-li
65059565e6
refactor(ui): refactor social login hooks ( #570 )
...
* feat(ui): adjust toast style
adjust toast style
* refactor(ui): refactor social hooks
refactor social hooks
* fix(ui): fix ci issue
fix ci issue
* fix(ui): cr fix
cr fix
* fix(ui): fix social sign-in flow
fix social sign-in flow
2022-04-19 16:32:33 +08:00
Charles Zhao
895208e0ee
fix: typos in phrases
2022-04-18 21:55:27 +08:00
simeng-li
a5235f6ad1
refactor(ui): api method renaming ( #563 )
...
api method renaming
2022-04-18 13:33:25 +08:00
IceHe.xyz
51f3b5c091
chore(console,ui): parcel build --no-cache ( #557 )
2022-04-15 16:31:49 +08:00
simeng-li
8918218cdd
feat(ui): add Primary SocialSignIn container and Popup ( #549 )
...
* feat(ui): add Primary SocialSignIn container and Popup
add Primary SocialSignIn container and Popup
* fix(ui): fix popup component bug
fix popup component bug
* feat(ui): add transition styles to Drawer
add transition styles to Drawer
* fix(ui): fix typo
fix typo
* fix(ui): fix bugs
fix bugs
* test(ui): ass simple test case for drawer
add simeple test case for drawer
* fix(ui): cr fix
2022-04-15 14:25:44 +08:00
simeng-li
99e425496f
feat(ui): load sign-in experience settings from server ( #542 )
...
* feat(ui): load sign-in experience from server
load sign-in experience settings from server
* feat(ui): return null if no setting find
return null if no setting found
* chore(ui): add todo
add todo
* fix(ui): remove console log
remove console log
* fix(ui): cr fix
cr fix
2022-04-14 11:39:48 +08:00
simeng-li
f0a961225d
refactor(core): phone method refactor ( #537 )
...
* refactor(core): rename signin method phone with sms
replace phone signin method with sms
* refactor(ui): rename api method
rename api method
* fix(ui): cr fix rename method
rename method
* fix(ui): update naming convention
update naming convention
2022-04-14 11:26:10 +08:00
simeng-li
7dba17b867
feat(ui): add social web login flow ( #531 )
...
* feat(ui): add social web login flow
add social web login flow
* fix(ui): cr fix
code review fix
* fix(ui): fix typo
fix typo
* refactor(ui): social api renaming
social api renaming
2022-04-12 15:03:38 +08:00
simeng-li
2b0a1a9190
fix(ui): fix svg radio box icon fill color ( #533 )
...
fix svg radio box icon fill color
2022-04-12 12:04:02 +08:00
simeng-li
aa9cc806bf
feat(ui): add social apis ( #518 )
...
add social apis
2022-04-09 12:20:21 +08:00
IceHe.xyz
5625b8838c
refactor(core): split mock.ts into __mocks__/*.ts ( #510 )
...
* chore(core,ui): coverage ignore src/__mocks__/
* chore(core): build excludes src/__mocks__/
* refactor(core): split mock.ts into __mocks__/*.ts
2022-04-08 09:47:09 +00:00
simeng-li
c927aeee93
feat(ui): impelment signin methods links component ( #504 )
...
implement signin methods link component
2022-04-08 15:21:40 +08:00
simeng-li
b78a9cf82e
feat(ui): add page level loading layer ( #513 )
...
* feat(ui): add page level loading layer
add page level loading layer
* fix(ui): cr fix remove loading status in api-hook
remove loading status in api-hook
2022-04-08 10:12:26 +08:00
Gao Sun
39833e4a42
fix: enable hmr in parcel projects ( #514 )
2022-04-07 17:47:40 +08:00
simeng-li
55a37d8baf
fix(bug): display request message for now ( #508 )
...
display request message for now
2022-04-07 15:48:02 +08:00
IceHe.xyz
9e25a097bb
test(core): guard branding of sign-in experience ( #494 )
...
* chore(core,ui): upgrade jest related dev dependencies to latest versions
* test(core): branding guard of sign-in experience
2022-04-07 11:56:21 +08:00
simeng-li
ff925372e5
refactor(ui): refactor i18n phrases in logto main flow ( #501 )
...
* refactor(ui): refactor i18n phrases in logto main flow
refactor i18n phrases in logto main flow
* fix(ui): cr fix
remove debug code
2022-04-06 15:38:53 +08:00
simeng-li
6f85098853
refactor(ui): update react rout version ( #492 )
...
update react route version
2022-04-06 15:01:12 +08:00
Gao Sun
4a904f2953
ci: upload eslint annotations ( #490 )
...
* ci: upload eslint annotations
* ci: update `upload-annotations.yml`
2022-04-06 06:06:34 +00:00
simeng-li
b098dd5f59
feat(ui): implement passcode page ( #487 )
...
* feat(ui): update pages
update page routing and render logics
* chore(ui): component renaming
component renaming
* feat(ui): implement passcode page
implement passcode page
* chore(ui): component renaming
component renaming
2022-04-02 13:07:39 +08:00
simeng-li
04d00fc11f
feat(ui): update pages ( #479 )
...
* feat(ui): update pages
update page routing and render logics
* chore(ui): component renaming
component renaming
2022-04-02 11:35:33 +08:00
Charles Zhao
48bd57c94e
chore: bump version of configs
2022-03-31 15:18:34 +08:00
simeng-li
6a61ea29f5
feat(ui): add passwordless container ( #469 )
...
* feat(ui): add passwordless container
add email & phone passwordless container
add secondary sign-in page
* feat(ui): uncomment code after rebase latest code
uncomment code after rebase latest code
2022-03-31 13:57:01 +08:00
simeng-li
67939ea2bb
feat(ui): add CreateAccount Container ( #457 )
...
* feat(ui): add CreateAccount Container
add CreatAccount Container
* fix(ui): fix regex
* fix(ui): remove useless test change
remove useless test update
2022-03-31 13:49:39 +08:00
simeng-li
0444efd844
feat(ui): add password less related api ( #459 )
...
* feat(ui): add password less related api
add password less related api
* test(ui): add api ut
add api ut
2022-03-30 15:04:27 +08:00
Charles Zhao
5cc177381f
refactor(console): match design mockups by adjusting fonts, paddings, etc
2022-03-29 17:01:45 +08:00
simeng-li
45a82f97c1
feat(ui): re-implement username signin page ( #447 )
...
* feat(ui): re-implement username signin page
re-implement username signin page
* fix(ui): username signin CR fix
username signin CR fix
2022-03-28 09:40:47 +08:00
simeng-li
b99c11e211
feat(ui): implement Confirm Modal ( #449 )
...
* feat(ui): implement Confirm Modal
add Confirm Modal
* fix(ui): remove lock file
remove lock filee
* fix(ui): confirmModal CR fix
confirmModal CR fix
2022-03-28 09:36:39 +08:00
simeng-li
2680ab7cea
feat(ui): add toast component ( #425 )
...
* feat(ui): add toast component
add toast component
* fix(ui): prevent eventListener bind multiple times
prevent eventListener bind multiple times
* fix(ui): toast cr
fix
toast cr fix
2022-03-23 11:50:33 +08:00
simeng-li
ee85a25d79
feat(ui): textual ui components ( #404 )
...
* feat(ui): error message & text link
error message & text link
* feat(ui): add tos, divider and text link components
tos, divider and text link components
* fix(ui): update the usage of error message
update the usage of error message
2022-03-18 15:34:38 +08:00
simeng-li
0feeee263a
feat(ui): add button components ( #400 )
...
* feat(ui): add button components
add button components
* fix(ui): add conncetor name i18n
add connector name i18n
* fix(ui): remove useless noop click function
remove useless noop click function
2022-03-17 16:42:03 +08:00
simeng-li
0d76b91271
feat(ui): add passcode input component ( #384 )
...
* feat(ui): add passcode input component
add passcode input component
* fix(ui): cr fix
code review fix
* refactor(ui): refactor style sheets
refactor style sheets
2022-03-16 16:04:27 +08:00
simeng-li
86030ab97c
feat(ui): implement phonenumber input field ( #372 )
...
* feat(ui): implement phonenumber input field
implement phonenumber input field
* fix(ui): phone input ui fix
phone input ui fix
* fix(ui): should not show error if not interacted
should not show error if not interacted
* fix(ui): fix styling
fix styling
* feat(ui): add typeMode for phone input
add typeMode for phone input
* chore(ui): update pnpm-lock
update pnpm-lock
2022-03-15 17:31:13 +08:00
Gao Sun
38df1ec8f4
chore: upgrade packages
2022-03-11 16:30:22 +08:00
simeng-li
e390110b8b
feat(ui): seperate password input with normal input ( #350 )
...
* feat(ui): seperate password input with normal input
seperate password input with normal input
* fix(ui): cr fix update input field icon event
update input field icon event
* fix(ui): remove console log
remove console log
2022-03-10 14:28:57 +08:00
simeng-li
6fcc682f4f
feat(ui): update input field ( #342 )
...
* feat(ui): update input field
update input field using latest design
* feat(ui): add error status border
add error status border
* fix(ui): cr fix
cr fix
* fix(ui): fix icon center bug
fix icon center bug
2022-03-09 15:35:45 +08:00
simeng-li
4a004cfbb8
feat(ui): add Branding component ( #335 )
...
* feat(ui): add branding component
add branding component
* fix(ui): restore old dark stying
restore old dard styling
* fix(ui): cr fix
code review fix
* fix(ui): cr fix
cr fix
2022-03-08 16:12:27 +08:00
Gao Sun
1399c9258e
chore: upgrade configs ( #339 )
2022-03-08 15:58:55 +08:00
Gao Sun
2196b217fd
feat(console): init app create form
2022-03-08 12:18:35 +08:00
Gao Sun
d035047ee8
feat(console): implement tooltip and integrate with copy ( #323 )
2022-03-07 10:54:05 +00:00
Gao Sun
365c63b2c7
feat(core): connect console ( #306 )
...
* feat(core): connect console
* fix(core): prod spa dist
* fix(core): test
* test(core): refactor spa proxy tests
2022-03-03 14:25:32 +08:00
Gao Sun
a74d2b0aa6
chore: upgrade configs
2022-02-28 22:51:29 +08:00
Gao Sun
f7925d9332
chore: upgrade configs and eslint ( #294 )
...
* chore: upgrade configs and eslint
* chore: update lockfile
* fix(ui): stylelint
2022-02-28 15:21:48 +08:00
Darcy Ye
4571af65ea
chore(core): fix ui router ( #263 )
2022-02-21 03:46:55 +00:00
Gao Sun
47ccb4da02
refactor(ui): integrate new ui ( #260 )
2022-02-20 14:12:07 +08:00
Darcy Ye
c99c6b55aa
feat(core): separate sessionRoutes by flow types ( #235 )
...
* feat(core): separate sessionRoute by use cases as well as flow types
* feat(core): fix API calls in UI accordingly
* feat(core): fix lint errors
2022-02-18 12:31:15 +08:00
Gao Sun
13f6b59ad4
chore: upgrade configs ( #243 )
2022-02-16 19:06:58 +08:00
Gao Sun
eb319a3b89
refactor: upgrade TypeScript ( #241 )
2022-02-16 15:17:43 +08:00
Charles Zhao
f30cae7377
chore: upgrade eslint-config to v0.6.1
2022-01-27 19:26:34 +08:00
Wang Sijie
5c428efa78
feat: user register ( #196 )
2022-01-26 13:21:45 +08:00
simeng-li
aafc258ad9
ci(codecov): add jest coverage report ( #167 )
...
* ci(codecov): add jest coverage report
add coverage report on core and ui project
add codecov uploader job
* ci: add report upload github workflow action
add report upload github workflow action
* ci: fix ci replace github test actions with test:report
fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00
IceHe.xyz
a66abbc251
Revert "chore: update silverhand/configs dependency and fix the scope of eslint-disable rule ( #157 )" ( #162 )
...
This reverts commit 7ff8550845
.
2021-12-29 03:56:55 +00:00
Darcy Ye
7ff8550845
chore: update silverhand/configs dependency and fix the scope of eslint-disable rule ( #157 )
...
* chore: fix the scope of eslint-disable rule
* chore: update silverhand/configs to v0.5.0 and fix linting error accordingly
* chore: fix linting error
2021-12-29 11:05:06 +08:00
simeng-li
3a80d99c9f
fix(ui): fix useApi request in useEffect dead loop bug ( #158 )
...
wrap the request method in userApi hook into a useCallback
2021-12-21 13:28:14 +08:00
Darcy Ye
dd7a385363
chore: update dependency of ESLint to version 8.1.0 or later ( #155 )
...
* chore: update eslint version to 8.1.0
* chore: update silverhand configs dependency
* chore: update silverhand configs dependency and fix code block according to linting rules
2021-12-20 14:20:23 +08:00
Wang Sijie
7d7b8112f6
refactor(core): use plural in endpoint ( #134 )
2021-11-18 11:26:51 +08:00
simeng-li
8861175520
chore(ui): add global-this polyfill to ky ( #131 )
...
ky uses globalThis which is not supported on older browsers.
add @ungap/global-this polyfill ontop of ky imports
2021-11-08 14:52:01 +08:00
Gao Sun
0b23a5a793
fix: use port 5001 for ui dev ( #125 )
2021-10-08 14:10:44 +08:00
simeng-li
4ea5f65982
fix(core): add redirectURI to the response body of register endpoint /user ( #119 )
...
* fix(ui): hide loading status
should hide loading status while a http error is thrown
* fix(ui): use api-hooks for consent request
integrate api-hooks for the consent page request
* fix(ui): add redirectURI to the response body of register endpoint
Fix the use registration flow, should redirect after a success registration callback
2021-09-24 17:00:26 +08:00
Gao Sun
5ccf903b4a
chore: upgrade configs ( #117 )
2021-09-16 16:54:32 +08:00
Gao Sun
2c93ef9237
chore: upgrade configs ( #114 )
2021-09-08 14:13:42 +08:00
Gao Sun
7ae7912642
refactor: adopt new ESLint rule set for FP ( #111 )
2021-09-07 20:24:27 +08:00
Gao Sun
211a5a1760
Merge pull request #104 from logto-io/gao-log-45
...
feat(core): detect language from querystring and header
2021-09-01 17:58:32 +08:00
Gao Sun
67cef28f27
test(ui): fix react-i18next warning in jest ( #105 )
2021-09-01 17:53:12 +08:00
Gao Sun
43456aae9b
feat(core): detect language from querystring and header
2021-09-01 17:08:28 +08:00
Gao Sun
806e99de61
refactor: replace plain assert
with a more strict version ( #103 )
2021-08-31 22:45:28 +08:00
Gao Sun
00c8211160
chore: upgrade configs ( #102 )
2021-08-31 21:03:13 +08:00
Gao Sun
bb040cbeee
chore: enforce default export name on React files ( #101 )
2021-08-30 22:28:08 +08:00
Gao Sun
4be1bd3cad
chore: lint-staged
for all packages ( #100 )
2021-08-30 22:26:58 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config ( #98 )
2021-08-30 11:30:54 +08:00
Gao Sun
154ddfac2b
fix: use lerna exec
and FORCE_COLOR=1
for colorful outputs ( #93 )
2021-08-27 12:47:34 +08:00
simeng-li
b1bf5eccf0
feat: (ui) Read and show error from API response ( #84 )
...
Implemet useApi hooks to handle client side request
read loading & error status from the useApi hook
2021-08-23 21:29:58 +08:00
Gao Sun
58b8ac3957
refactor: use composite run steps and remove eslint formatter
2021-08-20 18:16:00 +08:00
Gao Sun
b457d95a9e
refactor: conform RESTful convention ( #77 )
...
* refactor: conform RESTful convention
* refactor: update tests
2021-08-11 22:13:08 +08:00
Gao Sun
c58194dd6e
chore: add MPL-2.0 license ( #76 )
2021-08-11 22:12:36 +08:00
Gao Sun
c384e0da6f
Merge pull request #67 from logto-io/gao--add-pnpm-debug-to-gitignore
...
chore: add `.pnpm-debug.log*` to git ignore
2021-08-10 20:52:34 +08:00
Gao Sun
2c6a64892a
chore: add preinstall script to packages
2021-08-10 15:29:32 +08:00
Gao Sun
55e53aab6a
chore(ui): rename page title
2021-08-10 13:46:16 +08:00
Gao Sun
a206b7bd6b
chore: remove unneccesary include
2021-08-10 12:54:19 +08:00
Gao Sun
2f47ae28b7
chore(ui): add patch to matchMedia
2021-08-02 23:45:55 +08:00
Gao Sun
a245f5f1e6
feat(ui): set theme according to system configuration
2021-08-02 22:20:20 +08:00
Simeng Li
cebebec2bf
🚨 fix lint error
2021-08-02 21:58:36 +08:00
Simeng Li
816375e163
🚨 fix lint
2021-08-02 21:41:14 +08:00
Simeng Li
aa9677ea7a
👌 CR address
2021-08-02 21:34:00 +08:00
Simeng Li
4453c41478
revert test comment
2021-08-02 21:34:00 +08:00
Simeng Li
8830228aae
✨ Add register moweb page
2021-08-02 21:34:00 +08:00
Gao Sun
45828ad6c5
chore(ui): enable jest testing
2021-07-30 03:42:39 +08:00
Gao Sun
4eb8d93d56
chore: yarn -> pnpm
2021-07-29 17:46:28 +08:00
Gao Sun
590dd7d858
feat(phrases): add package and refactor error code
2021-07-28 01:13:51 +08:00
Gao Sun
cfed444266
feat(ui): add create account link
2021-07-26 23:56:38 +08:00
Gao Sun
0815d9cb7d
fix(sign-in): update style and locale
2021-07-26 22:39:49 +08:00
Gao Sun
94c5115bb0
feat(sign-in): replace id with username
2021-07-26 22:32:18 +08:00
Gao Sun
13b516dccb
refactor: unify dev script
2021-07-26 22:04:32 +08:00
Gao Sun
6c00d40aeb
refactor: use yarn workspace
2021-07-26 10:54:13 +08:00
Gao Sun
f8ae9f8f3a
chore: migrate ui workflow
2021-07-26 01:03:54 +08:00
Gao Sun
96474fed87
chore: upgrade eslint config
2021-07-26 00:18:45 +08:00
Gao Sun
48dc40e139
chore: update README
2021-07-25 22:44:07 +08:00
Gao Sun
bbdde8b68e
chore(ui): add tsc in lint-staged script
2021-07-25 22:39:45 +08:00
Gao Sun
9752dacf85
chore: unify dep and version
2021-07-25 22:36:22 +08:00
Gao Sun
a4fe321233
chore: add lint-staged precommit hook
2021-07-25 22:27:51 +08:00
Gao Sun
e64fff0a35
refactor: using monorepo
2021-07-25 21:58:27 +08:00
Gao Sun
6d030a4ad3
feat(sign-in): impl. api calls and redirects
2021-07-25 17:41:08 +08:00
Gao Sun
0dd5b8808d
feat(sign-in): add --font-control
2021-07-25 17:41:08 +08:00
Gao Sun
3ab6a018fe
feat(sign-in): add message box
2021-07-25 17:41:08 +08:00
Gao Sun
6fc29557ca
refactor: add disabled to input
2021-07-25 17:41:08 +08:00
Gao Sun
3ddc180d65
feat: init sign-in button
2021-07-25 17:41:08 +08:00
Gao Sun
6f88d1d1a5
feat: init input and i18n
2021-07-25 17:41:08 +08:00
Gao Sun
7bd68b5747
chore: bump config versions
2021-07-25 17:41:07 +08:00
Gao Sun
941cbae453
chore: require tsc
2021-07-25 17:41:07 +08:00
Gao Sun
f726e49e50
refactor: re-org code and add font vars
2021-07-25 17:41:07 +08:00
Gao Sun
ec4261d57c
chore: add CI
2021-07-25 17:41:07 +08:00
Gao Sun
f1db6b3cda
feat: add theme vars
2021-07-25 17:41:07 +08:00
Gao Sun
0bc126f29b
chore: update README
2021-07-25 17:41:07 +08:00
Gao Sun
6169cdbd6d
chore: update commit hooks
2021-07-25 17:41:07 +08:00
Gao Sun
04e2d22cf8
feat: initial commit
2021-07-25 17:41:07 +08:00