mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5661] [MERGED] fix(chat): bring the group trigger-response and send icons closer in the mobile Roleplay composer #6867
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#6867
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/5661
Author: @Romuromylus
Created: 8/30/2026
Status: ✅ Merged
Merged: 8/30/2026
Merged by: @Romuromylus
Base:
staging← Head:fix/5649-group-trigger-send-spacing📝 Commits (1)
6baaedafix(chat): shrink oversized group-trigger and translate buttons in the roleplay composer on mobile📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/chat/ChatInput.tsx(+2 -2)📄 Description
Linked issue
Closes #5649
Why this change
h-11 w-11) footprints on mobile, while every other button in the same composer row — attach and send — uses 36px (h-9 w-9). The extra dead padding around the 1rem icons reads as a gap and eats horizontal space that could go to the textarea.What changed
packages/client/src/components/chat/ChatInput.tsx: the character-picker and translate-draft buttons now useh-9 w-9on mobile, matching the attach and send buttons in the same row. Desktop sizing (sm:h-8 sm:w-8) is untouched, and the flexgap-1between buttons is unchanged.CHANGELOG.md: entry under Unreleased › Fixed.Measured on a 375px viewport with a two-character Roleplay group chat (individual response mode): the trigger button shrinks 44px → 36px, the visible icon-to-icon gap between trigger and send narrows by ~9px (~27%), and the textarea gains the freed width. The Conversation-mode composer is unaffected (its equivalent button is desktop-only). The opt-in speech-to-text and quick-reply buttons (shared components rendered in this row only when those features are enabled) still use a 44px mobile footprint — left out of scope here since they also serve the Conversation composer; happy to align them in a follow-up if wanted.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
groupChatMode: individual, typed a multi-line draft, and confirmed the trigger and send icons now sit closer together with the textarea taking the recovered width; before/after measured via the buttons' bounding rects.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.