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

87 commits

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