Skip to content

Commit 9845ebe

Browse files
authored
Feature/单聊群聊 (#95)
* feat: 初步完成联系人列表相关逻辑及会话列表逻辑 * feat: 提取输入工具栏为单独组件,添加事件总线 * feat: 完善添加好友,消息已读未读,添加联系人,初步处理创建群组 * feat: 完善创建群聊 * fix: 移除群成员, 添加群成员,发消息,会话选中有误, 右击头像和右击名称一致, 自己不能添加自己为好友 * fix: 修复群成员艾特,群邀请成员禁用, 群已读,新好友申请 * fix: 修复消息未读数 * fix: 处理新消息发送及 ws 新好友 * fix: 优化鉴权请求时机,无 token时清理用户信息缓存 * fix: 新消息已读标记 * fix: 修复未登录页面报错 * fix: 修复会话列表重复加载 * fix: 修复逻辑队列错误 * fix: 修复未读数逻辑问题 * fix: 修复发起聊天时,会话未创建 * fix: 修改会话 pageSize * fix: 修复新消息时会话列表计数显示 * fix: 会话列表第一个会话标记已读
1 parent a8c7cd1 commit 9845ebe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+4539
-1751
lines changed

.vscode/settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib"
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"cSpell.words": ["mallchat", "vueuse", "wechat", "weixin"]
34
}

index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
2-
<html lang="zh-Hans">
2+
<html lang="zh-Hans" class="dark">
3+
<!-- <html lang="zh-Hans"> -->
34
<head>
45
<meta charset="UTF-8" />
56
<meta name="renderer" content="webkit" />

package.json

+24-23
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,36 @@
2121
"prepare": "husky install"
2222
},
2323
"dependencies": {
24-
"@alova/scene-vue": "^1.1.4",
24+
"@alova/scene-vue": "^1.1.7",
2525
"@element-plus/icons-vue": "^2.1.0",
26-
"@imengyu/vue3-context-menu": "^1.3.0",
27-
"alova": "^2.9.1",
26+
"@imengyu/vue3-context-menu": "^1.3.3",
27+
"alova": "^2.10.0",
2828
"dayjs": "^1.11.9",
29-
"element-plus": "^2.3.7",
29+
"element-plus": "^2.3.9",
3030
"lodash": "^4.17.21",
31-
"pinia": "^2.1.4",
32-
"pinia-plugin-persistedstate": "^3.1.0",
33-
"qrcode.vue": "^3.4.0",
31+
"mitt": "^3.0.1",
32+
"pinia": "^2.1.6",
33+
"pinia-plugin-persistedstate": "^3.2.0",
34+
"qrcode.vue": "^3.4.1",
3435
"vue": "^3.3.4",
35-
"vue-router": "^4.2.3"
36+
"vue-router": "^4.2.4"
3637
},
3738
"devDependencies": {
38-
"@commitlint/cli": "^17.6.6",
39-
"@commitlint/config-conventional": "^17.6.6",
40-
"@iconify-json/ep": "^1.1.11",
41-
"@rushstack/eslint-patch": "^1.3.2",
42-
"@types/lodash": "^4.14.195",
43-
"@types/node": "^18.16.19",
39+
"@commitlint/cli": "^17.7.1",
40+
"@commitlint/config-conventional": "^17.7.0",
41+
"@iconify-json/ep": "^1.1.12",
42+
"@rushstack/eslint-patch": "^1.3.3",
43+
"@types/lodash": "^4.14.197",
44+
"@types/node": "^18.17.5",
4445
"@vitejs/plugin-vue": "^4.2.3",
4546
"@vitejs/plugin-vue-jsx": "^3.0.1",
4647
"@vue/eslint-config-prettier": "^7.1.0",
4748
"@vue/eslint-config-typescript": "^11.0.3",
4849
"@vue/tsconfig": "^0.1.3",
49-
"@vueuse/core": "^10.2.1",
50+
"@vueuse/core": "^10.3.0",
5051
"autoprefixer": "^10.4.14",
51-
"eslint": "^8.44.0",
52-
"eslint-plugin-vue": "^9.15.1",
52+
"eslint": "^8.47.0",
53+
"eslint-plugin-vue": "^9.17.0",
5354
"husky": "^8.0.3",
5455
"lint-staged": "^13.2.3",
5556
"npm-run-all": "^4.1.5",
@@ -58,21 +59,21 @@
5859
"prettier": "^2.8.8",
5960
"rimraf": "^5.0.1",
6061
"rollup-plugin-visualizer": "^5.9.2",
61-
"sass": "^1.63.6",
62-
"stylelint": "^15.10.1",
63-
"stylelint-config-recess-order": "^4.2.0",
64-
"stylelint-config-recommended-vue": "^1.4.0",
62+
"sass": "^1.65.1",
63+
"stylelint": "^15.10.2",
64+
"stylelint-config-recess-order": "^4.3.0",
65+
"stylelint-config-recommended-vue": "^1.5.0",
6566
"stylelint-config-standard": "^33.0.0",
6667
"stylelint-config-standard-scss": "^9.0.0",
6768
"stylelint-prettier": "^3.0.0",
6869
"typescript": "~5.1.6",
6970
"unplugin-auto-import": "^0.15.3",
7071
"unplugin-icons": "^0.15.3",
7172
"unplugin-vue-components": "^0.24.1",
72-
"vite": "4.4.0",
73+
"vite": "4.4.9",
7374
"vite-plugin-compression": "^0.5.1",
7475
"vite-plugin-imagemin": "^0.6.1",
75-
"vue-tsc": "^1.8.4",
76+
"vue-tsc": "^1.8.8",
7677
"xgplayer": "^2.32.3"
7778
},
7879
"resolutions": {

0 commit comments

Comments
 (0)