Commit Graph

42 Commits

Author SHA1 Message Date
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
CrescentLeaf
65ff48dabc Nya 2025-04-19 15:32:51 +08:00
CrescentLeaf
1a2cfc424a style: 添加注释, 解构其他组件属性添加默认值 2025-04-18 23:25:47 +08:00
CrescentLeaf
aba1202892 fix: 消息组件的若干问题 2025-04-18 23:25:05 +08:00
CrescentLeaf
c03649d705 chore: 重构旧前端 2025-04-13 23:30:05 +08:00