Commit Graph

104 Commits

Author SHA1 Message Date
CrescentLeaf
67c6f11892 ui: 微調 置底 延遲時間 2025-10-02 23:35:08 +08:00
CrescentLeaf
67f019713a ui: 修正 消息右鍵菜單
* 修正打開狀態
* 避免不必要的狀態變更
2025-10-02 20:54:39 +08:00
CrescentLeaf
2af396a2b8 chore: 修正一個不合理的 uri-list 轉換成功判斷 2025-10-02 20:51:07 +08:00
CrescentLeaf
20f12c97c1 ui: 微調 時間顯示 文字 2025-10-02 20:49:00 +08:00
CrescentLeaf
15c4bcd48e fix: 消息發送失敗時, 沒有取消 加載狀態 2025-10-02 18:49:19 +08:00
CrescentLeaf
020fd63c97 feat: 聊天文件 2025-10-02 18:37:25 +08:00
CrescentLeaf
dfeed305e1 feat: 支持對話視頻, wip: 文件 2025-10-02 11:14:07 +08:00
CrescentLeaf
f376de2b48 ui: 微調消息菜單
* 仿照電報邏輯
* 添加 JsonView
2025-10-01 11:51:28 +08:00
CrescentLeaf
f436f84696 feat(wip): 支持視頻和文件 2025-10-01 01:08:52 +08:00
CrescentLeaf
73e795e29f fix: Marked 不解析 \n, 手動解析以使換行符正常使用 2025-10-01 01:03:39 +08:00
CrescentLeaf
b3ffdf8469 feat: 消息菜单 2025-10-01 00:01:39 +08:00
CrescentLeaf
6c17a0e4eb feat: 显示消息时间 2025-10-01 00:01:27 +08:00
CrescentLeaf
706a340407 fix: 在沒有消息時, 發送消息並拉取導致的消息重複 2025-09-30 21:54:25 +08:00
CrescentLeaf
151dc31f2c chore: 規範化 client event listener 寫法 2025-09-25 17:14:37 +08:00
CrescentLeaf
4bcc6e4347 feat: 手動選擇文件 2025-09-25 00:42:31 +08:00
CrescentLeaf
9395104c20 ui: 在加載歷史消息時,自動回到加載前的消息位置
* 使用奇技淫巧
2025-09-25 00:31:40 +08:00
CrescentLeaf
4e38ad8e20 fix: 移動端未打開對話但提示對話不存在 2025-09-24 23:01:07 +08:00
CrescentLeaf
41362a591c feat: 粘貼文件, 多個同名文件共存發送 2025-09-24 22:57:12 +08:00
CrescentLeaf
954b5d3430 ui: 細節優化: 發送消息時, 轉圈 2025-09-24 21:44:52 +08:00
CrescentLeaf
d5fbc490ea feat: 支持發送文件
* 目前還只能拖拽到輸入框
2025-09-24 21:33:16 +08:00
CrescentLeaf
ae3b9c8226 ui: 修正 Tab 指示標顯示不正常 2025-09-24 18:15:04 +08:00
CrescentLeaf
faec599822 feat(wip): 富文本消息 (aka Markdown + 自定義解析) 2025-09-24 16:43:28 +08:00
CrescentLeaf
da1c7cd8cf fix: Markdown 沒有被渲染 2025-09-24 10:57:21 +08:00
CrescentLeaf
a0bf323ac9 feat(wip): Markdown 2025-09-24 09:23:31 +08:00
CrescentLeaf
a01a64116f feat(wip): markdown 解析 2025-09-23 23:28:54 +08:00
CrescentLeaf
14f5bbfec9 feat: 適配移動端界面 2025-09-23 17:44:10 +08:00
CrescentLeaf
0ef2859291 feat(wip): 上傳圖片等多媒體文件 2025-09-23 00:27:57 +08:00
CrescentLeaf
2de4d3548d feat: 視情況 自動滾動到最新消息 2025-09-22 23:06:01 +08:00
CrescentLeaf
fc197ea41a feat(ui): 拉到最頂部加載更多消息 2025-09-22 23:05:21 +08:00
CrescentLeaf
43385780f8 fix: 打開對話后不會自己滑動到底部 2025-09-22 19:39:53 +08:00
CrescentLeaf
cb947429fb feat: 收發消息 2025-09-21 16:11:58 +08:00
CrescentLeaf
b3d620a329 refactor: 重寫消息顯示相關邏輯 2025-09-21 16:11:13 +08:00
CrescentLeaf
082817d6cd feat(wip): 收發消息 2025-09-21 02:18:15 +08:00
CrescentLeaf
167b157134 refactor: 封裝 useAsyncEffect 2025-09-20 18:26:08 +08:00
CrescentLeaf
af9b0d7cf2 fix: 由於未知原因導致的 輸入框 逃竄到 Tab 的 change 事件, 造成 Tab Panel 顯示異常 2025-09-20 17:35:12 +08:00
CrescentLeaf
d473ff81bd feat(wip): 對話 2025-09-20 00:31:36 +08:00
CrescentLeaf
557234841d ui: ChatFragment 使用分面板的樣式 2025-09-14 00:18:56 +08:00
CrescentLeaf
ea17ab2ddd chore: rename ChatFragment. js -> ts 2025-09-14 00:12:50 +08:00
CrescentLeaf
8ebad65140 chore: import Avatar.jsx -> .tsx 2025-09-13 00:37:56 +08:00
CrescentLeaf
dfe8b27a12 feat(wip): 聊天頁面的消息列表, 自己索引消息 2025-09-08 23:17:59 +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
e8f97d9131 ui: 微調輸入框的邊距 2025-09-06 16:40:32 +08:00
CrescentLeaf
c5d1f11017 chore: 通過 ESM 引入外部脚本
* React, ReactDOM 和 CryptoES
* 集中在 Imports.ts 中
* 向每一個 JSX 添加 React 的 import
2025-09-06 14:32:56 +08:00
CrescentLeaf
7d407d02ca ui: move ChatFragment implmention 2025-09-06 01:51:15 +08:00
CrescentLeaf
7300c091fd ui: 修正消息發送框的位置, 修正側邊列表的顯示, 修正 MesageContainer 的 marginBottom 為 20px 2025-08-31 13:17:45 +08:00
CrescentLeaf
7a9a9d628a ui: MessageContainer 默認 marginBottom 2025-08-31 10:34:59 +08:00
CrescentLeaf
ca6aea2902 feat(wip): 前端, 以及編譯前端
TODO: 修復 webpack (in mian.ts)
2025-08-30 15:36:36 +08:00
CrescentLeaf
200a867171 移動文件 2025-07-16 22:52:58 +08:00
CrescentLeaf
b6275ec636 可爱捏 2025-05-09 21:39:50 +08:00
CrescentLeaf
f305225eb3 CSS 使人抓狂 2025-04-20 00:58:52 +08:00