makecindy / makecindy/cindy

建议优化 Enter / Ctrl+Enter 的信息导入交互,降低误按 Enter 的输入成本

Open
#1,188 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**客户端版本**: 0.1.23
**反馈类型**: feature

---

## 使用场景
用户正常输入信息时,不小心按下 Enter,信息会进入“待定区”,导致当前输入流程被打断。之后如果想继续把这部分信息导入对话,只能用鼠标点击较小的导入按钮;一旦误操作,恢复成本较高,严重影响连续输入效率,也容易让人产生沮丧感。

## 诉求
希望通过可配置的键盘快捷键,让信息导入流程更符合不同用户的输入习惯,并让进入“待定区”的信息可以快速恢复到当前对话。

## 建议方案
1. 增加一个设置选项,允许用户选择信息导入快捷键:
- Enter 直接导入;或
- Ctrl+Enter 导入。
2. 当当前对话框为空、但存在“待定区”信息时,支持直接按 Ctrl+Enter 将待定信息导入当前对话。
3. 保留现有鼠标导入按钮作为备用操作。

## 期望行为
用户即使误按 Enter 使信息进入待定区,也能通过键盘快捷键快速将内容引导回当前对话,而不必依赖鼠标点击小按钮。整体输入流程应更连续、更可恢复,并显著降低误操作带来的时间成本。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by locating the conversation input keyboard handling, the pending-information area, and the settings entry points; then trace how the existing mouse import action restores pending content. Done means the shortcut choice works, Ctrl+Enter restores pending content when the input is empty, and the mouse button still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.