mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1216] [MERGED] Fix Ctrl+Enter composer send shortcut #4987
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4987
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1216
Author: @cha1latte
Created: 5/25/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/ctrl-enter-send📝 Commits (3)
8daadf2Fix Ctrl Enter send shortcutd9e2260Use mode-specific enter-to-send setting1bfe86dGuard send shortcut during IME composition📊 Changes
3 files changed (+7 additions, -2 deletions)
View changed files
➕
.agents/evidence/issue-1215/ctrl-enter-after.png(+0 -0)➕
.agents/evidence/issue-1215/ctrl-enter-before.png(+0 -0)📝
src/features/modes/shared/chat-ui/components/ChatInput.tsx(+7 -2)📄 Description
Linked issue
Closes #1215
Why this change
What changed
.agents/evidence/issue-1215/.Refactor impact
Primary owner:
Shared mode UI
Impact areas reviewed:
Boundary notes:
src/features.Pressure points touched:
src/features/modes/shared/chat-ui/components/ChatInput.tsxis shared mode UI. The change is limited to the existing textarea key handler.Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyCodex-run proof:
node scratch/repro-ctrl-enter.mjs: Ctrl+Enter left the draft unsent.node scratch/repro-ctrl-enter.mjs --mode after-rebase --key Control+Enter --expect true: Ctrl+Enter created the user message and cleared the textarea.node scratch/repro-ctrl-enter.mjs --mode edge-plain-enter --key Enter --expect false: plain Enter still inserted a newline with Enter-to-send disabled.node scratch/repro-ctrl-enter.mjs --mode edge-meta-enter --key Meta+Enter --expect true: Cmd/Meta+Enter also sent.ChatInputmode-specific Enter-to-send setting selection.node scratch/repro-ctrl-enter.mjs --mode after-coderabbit --key Control+Enter --expect truepassed.node scratch/repro-ctrl-enter.mjs --mode edge-plain-enter-after-coderabbit --key Enter --expect falsepassed.node scratch/repro-ctrl-enter.mjs --mode after-ime-guard --key Control+Enter --expect truepassed.node scratch/repro-ctrl-enter.mjs --mode edge-ime-composing --key Control+Enter --composing true --expect falsepassed.pnpm checkpassed after rebasing onto currentupstream/refactor, after the mode-setting follow-up, and after the IME guard follow-up.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed.Manual verification notes
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release metadata changes were needed.
UI evidence
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.