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

49 commits

Author SHA1 Message Date
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
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
2196b217fd
feat(console): init app create form 2022-03-08 12:18:35 +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
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
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
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
7ae7912642
refactor: adopt new ESLint rule set for FP (#111) 2021-09-07 20:24:27 +08:00
Gao Sun
67cef28f27
test(ui): fix react-i18next warning in jest (#105) 2021-09-01 17:53:12 +08:00
Gao Sun
bb040cbeee
chore: enforce default export name on React files (#101) 2021-08-30 22:28:08 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config (#98) 2021-08-30 11:30:54 +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
b457d95a9e refactor: conform RESTful convention (#77)
* refactor: conform RESTful convention

* refactor: update tests
2021-08-11 22:13:08 +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
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
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
f726e49e50
refactor: re-org code and add font vars 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
04e2d22cf8
feat: initial commit 2021-07-25 17:41:07 +08:00