聊天记录支持长按多选、勾选后批量删除
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户0001
**客户端版本**: 0.1.38
---
## 使用场景
对话越长,历史消息条数越多,其中有些已不需要(如误发的消息、冗长的中间产物)。目前删除消息只能一条一条操作,清理整段上下文非常繁琐。
## 诉求
在对话窗口内支持「长按某条消息 → 进入多选模式 → 勾选多条消息 → 批量删除」,删除前弹出确认,避免误删。
## 建议方案
1. 长按(或右键菜单)某条消息后进入多选模式,消息左侧出现勾选框;
2. 支持逐条勾选,配合「全选 / 清除选择」提高效率;
3. 点击「删除」后弹出确认卡片,明确显示将删除的消息条数,确认后才真正删除;
4. 多选模式下可随时退出(取消选择 / 空白处点击)。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by locating the chat message list and the existing single-message deletion action in the client. Trace how message selection and deletion currently work, then verify the requested long-press or context-menu entry, multi-selection controls, confirmation count, cancellation, and final batch deletion on the supported client platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, react-native, typescript
- Domain
- desktop, frontend, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100