0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
Commit graph

149 commits

Author SHA1 Message Date
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