Skip to content

feat: add Enter key behavior setting#64

Closed
acloudpeng wants to merge 1 commit into
DEEIX-AI:devfrom
acloudpeng:feat/enter-key-behavior
Closed

feat: add Enter key behavior setting#64
acloudpeng wants to merge 1 commit into
DEEIX-AI:devfrom
acloudpeng:feat/enter-key-behavior

Conversation

@acloudpeng

Copy link
Copy Markdown
Contributor

Summary

  • Rename the chat input shortcut setting to an explicit Enter key behavior setting
  • Add localized labels for Enter sending messages or inserting a new line
  • Keep the existing chat.send_on_enter setting values for backwards compatibility

Verification

  • pnpm lint

@chenyme

chenyme commented May 27, 2026

Copy link
Copy Markdown
Contributor

现有设置本质是发送快捷键配置(chat.send_on_enter),不是泛化的 Enter 键行为配置。

把文案改成“Enter 键行为”反而和现有数据模型、输入框处理逻辑不一致。

建议保留原来的“发送快捷键”语义,仅优化逻辑:切换时自动填充当前模式。

image

@acloudpeng

Copy link
Copy Markdown
Contributor Author

抱歉,我使用笔记本测试并且在对话框/管理后台没有找到这个设置,用户后台有这个设置但是不起作用,我先检查一下我的使用环境

@acloudpeng acloudpeng closed this May 27, 2026
@acloudpeng
acloudpeng deleted the feat/enter-key-behavior branch May 27, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants