Skip to content

ui(composer): Shift+Enter 发送, Enter 换行#63

Merged
SymbolStar merged 1 commit into
mainfrom
composer-shift-enter
Jun 5, 2026
Merged

ui(composer): Shift+Enter 发送, Enter 换行#63
SymbolStar merged 1 commit into
mainfrom
composer-shift-enter

Conversation

@SymbolStar

Copy link
Copy Markdown
Owner

Scott 要求把主 composer 的发送键从 Enter 改成 Shift+Enter,Enter 改成纯换行。\n\n改动:\n- web/app.js wireComposer keydown: 条件从 !shiftKey 翻成 shiftKey\n- web/index.html 两个 placeholder 文案对齐\n\n未动:\n- xiaof.js(搜索框,单行场景 Enter=搜索更自然)\n- mention picker Enter(picker 打开时 Enter 选中候选项,不应换行)

Per scott's preference. Affects thread composer and new-thread title input.
xiaof search box unchanged (it's a search input, not multi-line composer).
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

🤖 bot-review (comment-only · phase 1)

Diff: 2 files changed, 3 insertions(+), 3 deletions(-) @ f8c32ec

Red-line checks:

  • ✅ A-7.5: no new 'forbidden' code in xiaof

Phase 1: this bot leaves comments only. Auto-approve will be enabled per-path after 1–2 weeks of clean runs. Promotion plan: judy PR #42 follow-up.

@SymbolStar SymbolStar merged commit dbfa5da into main Jun 5, 2026
6 of 7 checks passed
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.

1 participant