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

429 commits

Author SHA1 Message Date
silverhand-bot
2faf429e5b
release: v0.1.2-alpha.4 2022-07-03 08:33:26 +00:00
simeng-li
231c7a278c
style(ui): add short screen notification style (#1379)
add short screen notification style
2022-07-03 07:51:48 +00:00
simeng-li
8c4fea093d
refactor(ui): refactor ac signin exp (#1367)
* refactor(ui): refactor ac signin exp

refactor ac signin exp

* fix(ui): adjust style

adjust style

* fix(ui): cr fix

cr fix
2022-07-03 15:50:29 +08:00
silverhand-bot
e588ba204a
release: v0.1.2-alpha.3 2022-07-03 06:54:10 +00:00
silverhand-bot
2fa633a99b
release: v0.1.2-alpha.2 2022-07-02 09:11:16 +00:00
Charles Zhao
dc16aaf513
style(console): notification text in demo-app should not wrap on desktop 2022-07-02 15:06:16 +08:00
silverhand-bot
e234f64cec
release: v0.1.2-alpha.1 2022-07-02 04:24:46 +00:00
silverhand-bot
9396808fa4
release: v0.1.2-alpha.0 2022-07-02 02:29:37 +00:00
silverhand-bot
39890c1c29
release: v0.1.1-alpha.0 2022-07-01 19:18:23 +00:00
simeng-li
f6c5094a52
style(ui): update create account link style (#1349)
update create account link style
2022-07-01 21:08:16 +08:00
simeng-li
9942c1261c
style(ui): update checkbox icon (#1350)
update checkbox icon
2022-07-01 21:07:27 +08:00
simeng-li
084a2bcd03
refactor(core): update sign-in-settings api path (#1339)
update sign-in-settings api path
2022-07-01 17:14:38 +08:00
simeng-li
75636e2397
refactor(ui): ui content phrases update (#1337)
ui content phrases update
2022-07-01 17:14:15 +08:00
Charles Zhao
488f2cda86
chore: update favicon for console, demo-app and main-flow 2022-07-01 11:04:53 +08:00
simeng-li
a5e44cf478
style(ui): add dark mode social icon (#1265)
* style(ui): add dark mode social icon

add dark mode social icon

* style(ui): social landing icon

social landing icon

* fix(ui): dark connector icon cr update

dark connector icon cr update

* fix(ui): cr fix

cr fix
2022-07-01 10:07:43 +08:00
Wang Sijie
f72b21d160
feat(console,ui): generate dark mode color in console (#1231)
* feat(console,ui): generate dark mode color in console

* fix: cr fix

Co-authored-by: Gao Sun <gao@silverhand.io>

Co-authored-by: Gao Sun <gao@silverhand.io>
2022-06-29 07:56:05 +00:00
simeng-li
f765ccf8cd
refactor(ui): refactor ui terms of use flow (#1259)
* refactor(ui): refactor ui terms of use flow

refactor ui terms of use flow

* test(terms): add ut

add ut
2022-06-28 09:15:44 +08:00
simeng-li
b39ea63065
style(ui): update the social button style (#1253)
update the social button style
2022-06-27 13:52:54 +08:00
simeng-li
6865efff27
refactor(ui): refactor app notification logic (#1241)
refactor app notification logic
2022-06-27 13:22:17 +08:00
simeng-li
2a34684587
refactor(phrases): extract ui phrases (#1247)
* refactor(phrases): extract ui-phrases

extract ui phrases

* fix(phrase-ui): cr update

cr update
2022-06-27 03:55:28 +00:00
Darcy Ye
5fb74537a8
chore(core,connector-wechat-*): fix according to wechat naming convertion (#1251) 2022-06-27 00:41:15 +08:00
simeng-li
4b41d20c41
refactor(ui): remove all callbacl page search params validation (#1240)
remove all callback page search params validation
2022-06-26 15:18:59 +08:00
simeng-li
dbd9a713c5
refactor(ui): rename create account form name (#1244)
* refactor(ui): rename create account form name

rename create account form name

* test(ui): update ut

update ut
2022-06-25 22:10:21 +08:00
simeng-li
08776cd864
style(ui): button user select none (#1245)
button user select none
2022-06-25 22:09:57 +08:00
simeng-li
5784ae0627
style(ui): fix notification lenght (#1243)
fix notification length
2022-06-25 22:09:44 +08:00
simeng-li
e201065722
refactor(ui): add default logto ui (#1242)
add default logto ui
2022-06-25 22:09:31 +08:00
renovate[bot]
86cd3aa73a
chore(deps): update dependency ky to ^0.31.0 (#1223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-24 13:13:05 +08:00
Wang Sijie
9b6fd4c417
feat(console): add mobile web tab in preview (#1214) 2022-06-24 11:29:57 +08:00
Wang Sijie
2c413341d1
feat(console): sie form reorg (#1218) 2022-06-24 02:26:30 +00:00
Darcy Ye
98f808320b
feat(core,connectors): update Aliyun logo and add logo_dark to Apple, Github (#1194)
* feat(core,connectors): add logoDark to connector metadata

* feat(connectors): update Aliyun logo and add logoDark for Apple, Github
2022-06-23 11:12:29 +08:00
renovate[bot]
870555366c
chore(deps): update parcel monorepo to v2.6.2 (#1200)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 19:16:59 +08:00
renovate[bot]
3a6996bb4c
chore(deps): update parcel monorepo to v2.6.1 (#1149) 2022-06-20 16:12:48 +08:00
simeng-li
ea1df2d253
test(ui): add ut (#1136)
add ut
2022-06-20 09:45:03 +08:00
simeng-li
f640dad52f
feat(core): add sign-in-mode (#1132)
* feat(core): add sign-in-mode
add sign-in-mode

* fix(core): remove console.log

remove console.log

* fix(ui): hide secondary signin section
hide secondary signin section if is under register mode

* fix(core): ci fix

ci fix
2022-06-17 10:36:07 +08:00
simeng-li
20f7ad9863
fix(ui): input fields (#1125)
input fields auto input fix
2022-06-17 09:37:27 +08:00
Charles Zhao
0014a4696b
chore: remove only-allow pnpm from all sub-packages 2022-06-14 17:18:13 +08:00
simeng-li
f390bf6175
refactor(ui): adjust input field auto focus logic (#1099)
adjust input field auto focus logic
2022-06-13 16:21:53 +08:00
simeng-li
147775a8f4
feat(ui): add native sdk guard logic (#1096)
add native sdk guard logic
2022-06-13 10:54:26 +08:00
simeng-li
f3b8678a8c
feat(ui): display error message on social callback page (#1097)
* feat(ui): display error message on social callback page

display error message on social callback page

* refactor(ui): display server side error message direactly

display server side error message directly
2022-06-10 18:05:25 +08:00
Charles Zhao
c078cc19f0
Merge pull request #1098 from logto-io/charles-log-2782-admin-console-404-page
feat(console): add 404 page in admin console
2022-06-10 17:17:27 +08:00
Charles Zhao
0d047fbaf1
feat(console): add 404 page in admin console 2022-06-10 17:10:34 +08:00
simeng-li
6c39e1b795
style(ui): loading icon (#1093)
loading icon
2022-06-10 16:19:21 +08:00
simeng-li
dc7f9ccdb6
refactor(ui): some ui structure refactor (#1069)
some ui structure refactor
2022-06-09 02:41:24 +00:00
simeng-li
abf510eb8a
refactor(ui): refactor ui loading (#1067)
* refactor(ui): refactor ui loading

refactor ui loading

* refactor(ui): refactor use-social-landing

refactor use-social-landing

* fix(ui): remove useless style

remove useless style

* fix(ui): fix typo

fix typo
2022-06-09 10:27:53 +08:00
simeng-li
db1b6d247a
fix(ui): fix some of the bug bash issues (#1053)
* fix(ui): clear error message when passcode resend

clear error message when passcode resend;

* fix(ui): directly throw account not exist in social bind flow

directly throw account not exsit in social bind flow

* fix(ui): fix toast and loading light border

fix toast and loading light border

* fix(ui): add auto focus to input

add auto focus to input

* style(ui): adjust font & button size

adjust font & button size

* fix(ui): cr fix

cr fix
2022-06-07 08:50:24 +00:00
simeng-li
d203f2fa5c
style(ui): input auto fill style (#1055)
input auto fill style
2022-06-07 09:50:56 +08:00
Gao Sun
90ca76eeb5
feat(demo-app): show notification in main flow (#1038)
* feat(demo-app): show notification in main flow

* fix: add missing file
2022-06-02 08:05:27 +00:00
renovate[bot]
d1b9f9d28a
chore(deps): update dependency lint-staged to v13 (#1019)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-02 13:19:09 +08:00
simeng-li
ca5c8aaec1
fix(ui): add i18n formater for zh-CN list (#1009)
add i18n formater for zh-CN list
2022-06-01 16:00:24 +08:00
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