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