ui(composer): Shift+Enter 发送, Enter 换行#63
Merged
Conversation
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).
🤖 bot-review (comment-only · phase 1)Diff: Red-line checks:
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 选中候选项,不应换行)