Commit Graph

291 Commits

Author SHA1 Message Date
CrescentLeaf
93dad0b896 client: 自动进行重新验证 2025-11-09 16:42:44 +08:00
CrescentLeaf
8969fb7cb6 ui: 笼统的错误提示 2025-11-09 16:42:44 +08:00
CrescentLeaf
82c7c3772e ui: 当未登录时不会提示部分数据拉取错误 2025-11-09 16:42:43 +08:00
CrescentLeaf
df217b167e 加载消息和初次打开加载消息的页面置底优化? 2025-11-09 16:42:43 +08:00
CrescentLeaf
2f85aef136 chore: 删除调试代码 2025-11-09 16:42:43 +08:00
CrescentLeaf
86ace28066 富文本消息显示大重构!!!
* 将所有的 custom element 以正确的方式重新编写
* 可以正确解析 Markdown 文本, 图片, 斜体文本元素且不会杂糅了
* 通过 DOM 操作使得所有的文本聚合在一起, 并且取消了消息自带的填充边距, 删除了原本消息内无法正常工作的 "无边框显示模式"
* 添加新的 custom-element: chat-text 和 chat-text-container
2025-11-09 16:06:24 +08:00
CrescentLeaf
b46449a6e4 fix: chat-video 没有更新 2025-11-09 16:03:29 +08:00
CrescentLeaf
19b2fce904 util: escapeHtml 2025-11-09 16:01:53 +08:00
CrescentLeaf
a7df2c689a ui: 移除对媒体文件的显示圆角, 并修正大小 (块级元素) 2025-11-09 16:01:38 +08:00
CrescentLeaf
6ce8acdb2e build: 取消丢弃 console 2025-11-09 12:46:38 +08:00
Tianpao
c1074d8a2c opti: 更小的前端打包体积 2025-11-08 17:50:20 +08:00
CrescentLeaf
68886573a8 feat: 在对话信息页面收藏/取消收藏 2025-11-01 10:22:31 +08:00
CrescentLeaf
fabd325976 feat: 查看对话/用户的头像 2025-11-01 10:06:35 +08:00
CrescentLeaf
02485de52c ui: 调整消息媒体的大小 2025-11-01 01:20:30 +08:00
CrescentLeaf
8b3b32422f refactor: 使用表单进行文件上传!
* 可以上传大文件啦
* 最大限制 2GB
* 后端方法重置
2025-11-01 01:12:50 +08:00
CrescentLeaf
dffa773acc feat: 可点击通知跳转对话 2025-11-01 01:11:44 +08:00
CrescentLeaf
51c6d1f0a6 feat(wip): serviceworker
* 用于缓存等
2025-11-01 01:08:52 +08:00
CrescentLeaf
937af27698 feat: 删除收藏的对话 2025-10-26 23:04:12 +08:00
CrescentLeaf
5469ff6826 若factor: addContact -> s 2025-10-26 23:02:56 +08:00
CrescentLeaf
f8e6fcac46 chore: 客户端的 deno.jsonc: patch -> links
* 与此同时, 会导致旧版本 Deno 不认
2025-10-26 22:07:49 +08:00
CrescentLeaf
b1e618e07c feat: 修改密码 (UI) 2025-10-26 21:18:31 +08:00
CrescentLeaf
62ee2ef01f feat(wip): 帐号设定 2025-10-26 15:16:29 +08:00
CrescentLeaf
04125a1495 feat(wip): 重设密码 2025-10-26 15:16:20 +08:00
CrescentLeaf
110a90ed7a feat: 重连服务器提示 2025-10-26 15:13:40 +08:00
CrescentLeaf
4e34e70a11 feat: 手动刷新对话页面 2025-10-26 14:24:06 +08:00
CrescentLeaf
2d2bc7be83 ui: 请求加入对话的组件状态跟随群组设定 2025-10-26 14:23:56 +08:00
CrescentLeaf
ab8895b008 fix: 退出登录失败 2025-10-26 14:04:07 +08:00
CrescentLeaf
d5e349ee88 feat: 通知 2025-10-25 01:23:41 +08:00
CrescentLeaf
2d78e39ca1 fix: 添加了新的字段代替 chat id
* 谁又能想到 chat id 的可变性和依赖性恰恰埋下了祸患呢
2025-10-24 22:21:28 +08:00
CrescentLeaf
afd9193dea ui: 暂时隐藏未制作的功能 2025-10-24 22:01:17 +08:00
CrescentLeaf
bc7b932c5c feat: 修改对话 ID 对话名称 对话头像
* 仅群组
2025-10-24 22:00:22 +08:00
CrescentLeaf
e18024b851 chore: 移除调试代码 2025-10-24 21:24:36 +08:00
CrescentLeaf
1dfe702c58 refactor: 对对话文件的真实地址获取重构
* 顺带引入了 tws://file?hash= 协议, 以后会填坑
2025-10-24 21:22:41 +08:00
CrescentLeaf
04a63ced87 ui: 修改 chat-file 的卡片样式 2025-10-24 21:21:33 +08:00
CrescentLeaf
50e3e21634 ui: 对富文本的纯文件消息进行显示优化
* 唉太难弄了, 那边距可太恐怖了
2025-10-24 21:21:12 +08:00
CrescentLeaf
5e5436b02c chore: make lint happy 2025-10-24 20:31:49 +08:00
CrescentLeaf
72016c5da1 refactor: avatar_file_hash instead of avatar 2025-10-24 20:29:51 +08:00
CrescentLeaf
bef6e88bf7 chore: make lint happy 2025-10-24 20:23:05 +08:00
CrescentLeaf
3789e476f7 chore: make lint happy 2025-10-24 20:22:18 +08:00
CrescentLeaf
ba71d66db8 feat: 加入对话请求 2025-10-19 18:23:46 +08:00
CrescentLeaf
af55143292 只有不是对话成员时才不会加载消息呢 2025-10-19 15:18:16 +08:00
CrescentLeaf
5034eb1da5 添加是否为成员和是否为管理员的字段 2025-10-19 15:11:40 +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
687bc7a9aa 加长 timeout 时间 2025-10-19 14:52:45 +08:00
CrescentLeaf
506790aefa remove: caused_by 字段 2025-10-19 11:27:24 +08:00
CrescentLeaf
ab1ef2c30b 修改配置失败时配置回退 2025-10-08 15:14:22 +08:00
CrescentLeaf
23ad29fb2d feat: 添加 caused_by 字段以便客户端知道是什么情况 2025-10-08 15:13:11 +08:00