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

259 commits

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