Commit Graph

269 Commits

Author SHA1 Message Date
CrescentLeaf
e2c385b559 fix: token not stored after login 2025-09-08 21:22:22 +08:00
CrescentLeaf
4a942f1e77 chore: remove unused window exportion 2025-09-08 21:20:53 +08:00
CrescentLeaf
fb541849b4 fix: LocalDataStorage 2025-09-08 21:18:58 +08:00
CrescentLeaf
9e92fad8fa chore: colorful console.log :) 2025-09-08 20:19:36 +08:00
CrescentLeaf
3617292409 chore: add salt&key in config 2025-09-08 03:10:57 +08:00
CrescentLeaf
a3fc61494e feat: token 2025-09-08 03:10:45 +08:00
CrescentLeaf
fa62180667 feat: login & register 2025-09-08 03:10:36 +08:00
CrescentLeaf
e60c1cf1c4 feat: user password 2025-09-08 03:10:26 +08:00
CrescentLeaf
7e60e4a4be chore: add checkArgsEmpty 2025-09-08 03:09:56 +08:00
CrescentLeaf
f3a9cb8641 chore: add DataWrongError 2025-09-08 03:09:41 +08:00
CrescentLeaf
c577797e57 chore: add DataWrongError 2025-09-08 03:09:21 +08:00
CrescentLeaf
3a7e4970d4 ui: login & register 2025-09-08 03:09:05 +08:00
CrescentLeaf
0e14bb9a45 dep: add socket.io-client 2025-09-08 03:08:11 +08:00
CrescentLeaf
2869a77abd chore: add mising "id" 2025-09-07 22:30:45 +08:00
CrescentLeaf
913d1f395f chore: make lint UNHAPPY 2025-09-07 22:30:31 +08:00
CrescentLeaf
abf06c71af chore: useEventListener allow Ref<null> 2025-09-07 21:53:53 +08:00
CrescentLeaf
afeab61468 chore: make lint unhappy 2025-09-07 21:53:26 +08:00
CrescentLeaf
f06e93ef06 ui: add snackbar util 2025-09-07 20:07:06 +08:00
CrescentLeaf
71b368a5ac feat: 在服務端重新編譯前端 2025-09-07 18:21:49 +08:00
CrescentLeaf
1a69b521e6 chore: 2025-09-07 13:08:55 +08:00
CrescentLeaf
47233fbe58 chore: useEventListener -> TS 2025-09-07 13:04:13 +08:00
CrescentLeaf
5b5845db14 chore: ReactDOM <- react-dom/client 2025-09-07 13:00:45 +08:00
CrescentLeaf
c752f13d22 chore: make lint happy 2025-09-07 12:59:07 +08:00
CrescentLeaf
427393a747 chore: Debug with --watch 2025-09-07 12:53:08 +08:00
CrescentLeaf
d587b32a0a chore: 修改 VSCode 調試配置 2025-09-07 12:49:42 +08:00
CrescentLeaf
25320fe521 refactor: 推翻舊架構, 進入 Vite 盛世!
* 所有的 CDN 依賴已全部 npm 化
* Webpack? 一邊去! Vite 太好用啦!
* 將 Imports.ts 剔除
* 移除了大量的靜態文件
* 將 index.html 的部分代碼分離
* 修改 deno task
* 移除了動態編譯頁面的支持
* ./static 引用全部變更為 npm 包引用
2025-09-07 12:49:09 +08:00
CrescentLeaf
b6140063c7 chore: localfied react, react-dom and crypto-es 2025-09-06 23:28:50 +08:00
CrescentLeaf
22b8269c4b chore: ignore .d.ts compileing 2025-09-06 23:28:27 +08:00
CrescentLeaf
e4a0094b3e fix(?): SplitJS init after React Component inited 2025-09-06 23:27:22 +08:00
CrescentLeaf
d0c9465498 將部分依賴存放本地, 添加針對移動端的報錯提示, 修正 CryptoES 的導出以及 Utf8 的引用, 忽略編譯靜態庫文件 2025-09-06 22:09:33 +08:00
CrescentLeaf
3c02b55a9b fix: wrong typedef import path 2025-09-06 18:32:54 +08:00
CrescentLeaf
32369ec3bd fix: allow 'declare' modifier while compiling 2025-09-06 16:43:05 +08:00
CrescentLeaf
2d92fffb55 feat(wip): User & RecentChat in client 2025-09-06 16:40:49 +08:00
CrescentLeaf
e8f97d9131 ui: 微調輸入框的邊距 2025-09-06 16:40:32 +08:00
CrescentLeaf
8a1ff9ac23 chore: 使用 TS 重構部分 React 組件, 引入 Mdui 部分組件的類型定義 2025-09-06 16:40:17 +08:00
CrescentLeaf
7553c5b281 chore: apply rename: types -> typedef 2025-09-06 16:37:53 +08:00
CrescentLeaf
7c616a2dac chore: rename types -> typedef 2025-09-06 16:37:22 +08:00
CrescentLeaf
28a8eaf337 ui: 添加了面板間自由分割的支持 2025-09-06 14:52:34 +08:00
CrescentLeaf
60fcb19769 chore: 修改調試配置文件 2025-09-06 14:34:30 +08:00
CrescentLeaf
e50a90a770 feat(wip): 進一步完善 UserAPI 和基類函數 2025-09-06 14:34:14 +08:00
CrescentLeaf
adbe6b193b chore: 靜態儲存 Material Icons 2025-09-06 14:33:31 +08:00
CrescentLeaf
c5d1f11017 chore: 通過 ESM 引入外部脚本
* React, ReactDOM 和 CryptoES
* 集中在 Imports.ts 中
* 向每一個 JSX 添加 React 的 import
2025-09-06 14:32:56 +08:00
CrescentLeaf
b0c67da340 進一步完善 Server API 2025-09-06 01:53:09 +08:00
CrescentLeaf
c3c332017e ui: add LoginDialog 2025-09-06 01:52:38 +08:00
CrescentLeaf
9aba6ebc02 ui: public snackbar 2025-09-06 01:52:26 +08:00
CrescentLeaf
3e3609f25e chore: remove useless type declare 2025-09-06 01:52:14 +08:00
CrescentLeaf
d5e38a8167 feat: Client calling server API 2025-09-06 01:51:57 +08:00
CrescentLeaf
7d407d02ca ui: move ChatFragment implmention 2025-09-06 01:51:15 +08:00
CrescentLeaf
1cc0f57eb0 chore: remove useless .d.ts 2025-09-06 01:50:28 +08:00
CrescentLeaf
7c679aa0d2 feat(wip): 進一步完善 Client 與服務端的交互邏輯 2025-09-05 20:39:23 +08:00