Commit Graph

176 Commits

Author SHA1 Message Date
CrescentLeaf
ba71d66db8 feat: 加入对话请求 2025-10-19 18:23:46 +08:00
CrescentLeaf
af55143292 只有不是对话成员时才不会加载消息呢 2025-10-19 15:18:16 +08:00
CrescentLeaf
5e44a273fc 添加初始化对话默认字段 2025-10-19 15:10:35 +08:00
CrescentLeaf
484381c6e5 local const 得到的 chatInfo 而不是使用旧的 state 2025-10-19 15:10:23 +08:00
CrescentLeaf
349e0933c3 移除 caused_by 史山 2025-10-19 15:09:41 +08:00
CrescentLeaf
08556c9d40 非对话管理员不得更改设定 2025-10-19 15:09:12 +08:00
CrescentLeaf
ab1ef2c30b 修改配置失败时配置回退 2025-10-08 15:14:22 +08:00
CrescentLeaf
5b64c6adcf feat(wip): 入群需要审批 2025-10-08 15:12:46 +08:00
CrescentLeaf
dd42f5e54e fix: 不能正常显示系统消息 2025-10-08 15:00:31 +08:00
CrescentLeaf
9cb71af85b feat: get old value of preference when is was updated 2025-10-08 14:41:45 +08:00
CrescentLeaf
241ff714b8 fix: 对话页面 2025-10-08 12:25:33 +08:00
CrescentLeaf
db43de19c4 fix: 配置组件没有正确同步状态
* 问题出在我应该根据 State 决定组件状态而不是组件状态决定 State
* 踩坑了, 浪费我时间, 唉
2025-10-08 12:24:33 +08:00
CrescentLeaf
38c28c3fb6 我累了 2025-10-08 02:52:02 +08:00
CrescentLeaf
324962b0fc refactor: 配置存储类泛型化 2025-10-08 02:50:58 +08:00
CrescentLeaf
fabdd192dd rename: default(Value -> State)
* 我没有想到这是已有的属性定义
2025-10-07 23:07:27 +08:00
CrescentLeaf
8d7ddd46be chore: make Preferences' lint happy 2025-10-07 23:05:34 +08:00
CrescentLeaf
4b91bc9dbb feat(wip): 群组设定 2025-10-07 22:32:16 +08:00
CrescentLeaf
4eff829a30 feat: 配置页面组件 2025-10-07 22:31:34 +08:00
CrescentLeaf
85477fe46e feat: 添加刷新令牌支持
* 服务端: 添加对应的接口, 对原有令牌系统稍有修改, 添加了令牌类型
* 客户端: 自动刷新访问令牌, 登录时顺带获取刷新令牌
2025-10-06 17:13:23 +08:00
CrescentLeaf
dced175d7a chore: 统一为简体中文 2025-10-06 15:36:12 +08:00
CrescentLeaf
fb48c44655 ui: 移除 添加对话 输入框边距 2025-10-06 02:13:25 +08:00
CrescentLeaf
e1e42ea188 feat: 添加任意对话, 不局限于用户 2025-10-06 02:09:03 +08:00
CrescentLeaf
823eef76b0 feat: 所有对话列表中, 创建群组 2025-10-06 02:08:14 +08:00
CrescentLeaf
3b0b5ff032 feat: 创建群组对话框 2025-10-06 02:07:25 +08:00
CrescentLeaf
ffa8ac73de ui: 微调 RecentsListItem 文字位置 2025-10-04 21:29:41 +08:00
CrescentLeaf
ad4e873d2f ui: 用户资料中进入对话, 连带上层对话框关闭 2025-10-04 15:52:22 +08:00
CrescentLeaf
a77e22a3ea feat: 从对话详情打开用户详情 2025-10-04 15:49:19 +08:00
CrescentLeaf
1fa91279e2 fix: 阻止用户头像点击事件传播 2025-10-04 15:35:16 +08:00
CrescentLeaf
debdb93935 feat: 对话中打开用户的资料 2025-10-04 15:32:54 +08:00
CrescentLeaf
f04748aa5c feat: 在对话中打开对话详情对话框 2025-10-04 14:56:00 +08:00
CrescentLeaf
5ce97283f1 refactor: 抽离 openChatInfoDialog 2025-10-04 14:55:24 +08:00
CrescentLeaf
47bbf12176 ui: 移动端设备上, 最近列表不会呈现激活状态 2025-10-04 14:40:30 +08:00
CrescentLeaf
2cee988ada feat: 自动更新最近对话
* 接收新消息
* 定时 15s
2025-10-04 14:35:19 +08:00
CrescentLeaf
04989762d9 feat: 最近对话 2025-10-04 14:32:22 +08:00
CrescentLeaf
5474eac554 chore: 复制文字 先 trim 一遍 2025-10-04 11:42:03 +08:00
CrescentLeaf
a12a8830d4 ui: 改善 复制到剪贴薄 的用户体验
* 在 Via 浏览器上, writeText 本质上被重写了, 逻辑还是 execCommand copy
* 更换 copy 为 cut
2025-10-04 11:34:56 +08:00
CrescentLeaf
6c5f3aac85 ui: 修正由于 Menu 关闭没有同步状态导致的开关不正常 2025-10-04 11:07:55 +08:00
CrescentLeaf
376177d78e rename: (User -> My)ProfileDialog 2025-10-03 12:49:28 +08:00
CrescentLeaf
82c5aeaaa0 ui: 修正 文件卡片 文字折行失敗
* https://commandnotfound.cn/css-layout/101/644/CSS-控制长文本自动折行
* 也許是 width 相關導致word-wrap 沒效果?
* 玄學
2025-10-03 01:08:57 +08:00
CrescentLeaf
14c279cc80 ui: 點擊聊天文件不會再跳轉的同時並下載了, 只會進行下載 2025-10-02 23:38:43 +08:00
CrescentLeaf
67c6f11892 ui: 微調 置底 延遲時間 2025-10-02 23:35:08 +08:00
CrescentLeaf
edf35b7dd0 ui: 阻止 附件 點擊導致消息菜單彈出 2025-10-02 21:28:11 +08:00
CrescentLeaf
de886dcfcc ui: 修正 chat-file 為 超鏈接 2025-10-02 21:27:52 +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
2771503b6f fix: typo 2025-10-02 18:30:58 +08:00
CrescentLeaf
65458cf491 chore: make lint happy 2025-10-02 18:18:29 +08:00