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

362 commits

Author SHA1 Message Date
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
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
Gao Sun
a206b7bd6b
chore: remove unneccesary include 2021-08-10 12:54:19 +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
4eb8d93d56
chore: yarn -> pnpm 2021-07-29 17:46:28 +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
13b516dccb
refactor: unify dev script 2021-07-26 22:04:32 +08:00
Gao Sun
6c00d40aeb
refactor: use yarn workspace 2021-07-26 10:54:13 +08:00
Gao Sun
f8ae9f8f3a
chore: migrate ui workflow 2021-07-26 01:03:54 +08:00
Gao Sun
96474fed87
chore: upgrade eslint config 2021-07-26 00:18:45 +08:00
Gao Sun
48dc40e139
chore: update README 2021-07-25 22:44:07 +08:00
Gao Sun
bbdde8b68e
chore(ui): add tsc in lint-staged script 2021-07-25 22:39:45 +08:00
Gao Sun
9752dacf85
chore: unify dep and version 2021-07-25 22:36:22 +08:00
Gao Sun
a4fe321233
chore: add lint-staged precommit hook 2021-07-25 22:27:51 +08:00
Gao Sun
e64fff0a35
refactor: using monorepo 2021-07-25 21:58:27 +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
7bd68b5747
chore: bump config versions 2021-07-25 17:41:07 +08:00
Gao Sun
941cbae453
chore: require tsc 2021-07-25 17:41:07 +08:00
Gao Sun
f726e49e50
refactor: re-org code and add font vars 2021-07-25 17:41:07 +08:00
Gao Sun
ec4261d57c
chore: add CI 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
0bc126f29b
chore: update README 2021-07-25 17:41:07 +08:00
Gao Sun
6169cdbd6d
chore: update commit hooks 2021-07-25 17:41:07 +08:00
Gao Sun
04e2d22cf8
feat: initial commit 2021-07-25 17:41:07 +08:00