Commit Graph

559 Commits

Author SHA1 Message Date
Tristan Yang 0b718aae86 chore: remove unused file 2022-06-29 10:53:53 +08:00
Tristan Yang 84ff7a619f fix: server logo at first enter 2022-06-28 11:59:32 +08:00
Tristan Yang 7f2b39ec36 build: voce.chat 2022-06-28 11:22:53 +08:00
HD ccfee28e13 fix: file size calculation error
MDN: The Blob interface's size property returns the size of the Blob or File in bytes
2022-06-28 10:35:11 +08:00
HD 6bf64e38fc refactor: remove getNonNullValues, replace with _.ominBy and _.isNull (lodash)
ref: https://stackoverflow.com/a/70554734/11408375
2022-06-28 10:31:19 +08:00
HD ab5f9e6c07 refactor: simplify judgment conditions 2022-06-28 10:17:45 +08:00
HD d01cb5b2a8 refactor: remove useless judgment logic 2022-06-28 10:17:00 +08:00
HD 8b5a1212cd refactor: typo IconUnkown -> IconUnknown 2022-06-28 10:15:21 +08:00
HD 30a49921e1 Merge remote-tracking branch 'upstream/main' into refactor/typescript
# Conflicts:
#	src/app/services/server.ts
#	src/common/component/GoogleLoginButton.tsx
#	src/common/utils.tsx
2022-06-28 10:10:56 +08:00
HD 2a3535ea13 refactor: add typescript definition 2022-06-28 10:08:36 +08:00
Tristan Yang aa7c740bcf fix: remove from channel 2022-06-27 23:09:30 +08:00
Tristan Yang 7e5a70881d Merge branch 'main' into tristan/development 2022-06-27 16:13:22 +08:00
Tristan Yang 1da6fb6450 Merge branch 'main' of https://github.com/Privoce/vocechat-web 2022-06-27 11:05:17 +08:00
Tristan Yang 585f8a3661 chore: rename everything 2022-06-27 11:01:05 +08:00
Tristan Yang f05bba85ef chore: rename everything 2022-06-27 10:37:03 +08:00
Tristan Yang 4618afc2ed refactor: server StoredServer interface 2022-06-27 09:24:29 +08:00
Tristan Yang 212284cd9b refactor: auth API with TS 2022-06-24 22:20:58 +08:00
Tristan Yang 4ca90c23c0 refactor: server with TS 2022-06-24 12:32:14 +08:00
Tristan Yang 69b4e7aac2 chore: merge from haodong code 2022-06-24 10:32:04 +08:00
Tristan Yang 59593881b2 Merge branch 'refactor/typescript' of https://github.com/hdsuperman/rustchat-web into refactor/typescript 2022-06-24 10:25:04 +08:00
HD e0bbbf4f30 refactor: add typescript definition and fix some type error 2022-06-23 22:58:13 +08:00
Tristan Yang a8ffc197dc feat: remove local magic token after login 2022-06-23 22:03:49 +08:00
Tristan Yang e53ebd63a7 fix: login 410 error tip 2022-06-23 21:58:26 +08:00
Tristan Yang 0310d764ac fix: isEqual 2022-06-23 15:55:59 +08:00
Tristan Yang 0f7072cc8c Merge branch 'tristan/development' 2022-06-22 22:22:11 +08:00
Tristan Yang cce4778c3a fix: magic link login while invite only 2022-06-22 22:21:30 +08:00
HD b66919114d refactor: add typescript definition 2022-06-22 17:36:05 +08:00
HD 0b612d8c8e refactor: add typescript definition and fix type error(null -> undefined) 2022-06-22 17:35:30 +08:00
HD 768100a0db chore: typo, conactsData -> contactsData, dsecription -> description,
remove console.log
2022-06-22 16:29:21 +08:00
Tristan Yang 3e23c72b6d refactor: social login buttons 2022-06-22 12:04:14 +08:00
Tristan Yang 42f15b8d60 Merge pull request #8 from Privoce/tristan/development
fix: add magic token check in register
2022-06-21 23:01:17 +08:00
Tristan Yang b3b6cd5d6f fix: add magic token check in register 2022-06-21 23:00:08 +08:00
Tristan Yang fe379d51a4 chore: merge from main branch 2022-06-21 16:48:29 +08:00
Tristan Yang 066f797b26 refactor: register procession 2022-06-21 16:10:13 +08:00
HD 2ee90bf19b refactor: add typescript support to project 2022-06-21 15:10:17 +08:00
HD bd799ebea8 refactor: add typescript support to project 2022-06-21 15:08:35 +08:00
Tristan Yang aca0afee90 refactor: reg page 2022-06-20 22:25:28 +08:00
HD 88ec2b742a refactor: add typescript support for emoji-mart 2022-06-20 19:25:36 +08:00
HD 90e562cb9e refactor: add typescript support to project 2022-06-20 17:49:36 +08:00
HD c2c051d94c refactor: add typescript support to project 2022-06-20 17:44:42 +08:00
Tristan Yang b938b6b3aa refactor: magic link auth 2022-06-20 17:41:58 +08:00
HD 45419bbcf4 refactor: add typescript support for react hook(useAppDispatch, useAppSelector) 2022-06-20 10:54:23 +08:00
HD e67379ece4 refactor: add typescript support to project 2022-06-18 00:54:41 +08:00
Tristan Yang b25907f7fc refactor: useInviteLink 2022-06-17 22:18:54 +08:00
HD 7ca0099cb0 refactor: move babel dependencies to devDependencies 2022-06-17 11:19:06 +08:00
HD 515ee90db8 feat: add dependencies for typescript env 2022-06-17 00:36:13 +08:00
HD a8a54ed884 feat: setup unit test config 2022-06-17 00:32:44 +08:00
HD 3260347844 refactor: change .js file to .ts 2022-06-17 00:32:05 +08:00
HD 9c57fabeba feat: add typescript support for Window variable 2022-06-17 00:30:42 +08:00
HD e35eca7a1c feat: add eslint support for typescript files and fix no unused vars
error when add support for TypeScript features (we must disable the
base rule as it can report incorrect errors, use instead of
@typescript-eslint/no-unused-vars)

ref: https://github.com/typescript-eslint/typescript-eslint
/blob/main/packages/eslint-plugin/docs/rules/no-unused-vars.md
2022-06-17 00:30:05 +08:00