mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7122] [MERGED] Fix mobile chat widget controls and refine character presets #7486
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#7486
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/7122
Author: @SpicyMarinara
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/mobile-widget-controls📝 Commits (2)
ed17945docs: track mobile widget refinements (#7121)6a04ccafix: restore mobile widget controls and refine character presets📊 Changes
18 files changed (+763 additions, -169 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
docs/appearance/custom-css-themes.md(+3 -3)📝
docs/chats/chat-settings.md(+4 -4)📝
docs/roleplay/getting-started.md(+1 -1)📝
e2e/chat-control-windows.e2e.ts(+1 -1)📝
e2e/chat-settings-tools.ts(+1 -1)📝
e2e/chat-widget-style.e2e.ts(+16 -4)📝
e2e/chat-window-migration.e2e.ts(+1 -1)➕
e2e/mobile-echo-window.e2e.ts(+193 -0)📝
e2e/phone-bubbles.e2e.ts(+116 -10)➕
e2e/widget-corner-containment.e2e.ts(+229 -0)📝
packages/client/src/components/chat/ChatToolsMenu.tsx(+71 -66)📝
packages/client/src/components/chat/EchoChamberPanel.tsx(+22 -8)📝
packages/client/src/components/ui/FloatingWindow.tsx(+4 -22)📝
packages/client/src/components/ui/WindowBubble.tsx(+6 -1)📝
packages/client/src/localization/locales/en.json(+2 -2)📝
packages/client/src/styles/globals.css(+18 -8)📝
packages/client/src/styles/themes/chat-widgets.css(+73 -37)📄 Description
Linked issue
Closes #7121
Why this change
On phones, Echo Chamber could no longer move or resize, and the three-dot Chat tools menu showed drawer rows instead of round buttons. Dottore windows could also blur the background outside their cut corners. This restores the requested controls and refines the two character presets using the maintainer's references.
What changed
Validation
Tested source:
6a04cca17e9c5700ac14a00d37394bcfcedcd374(the same working-tree content was checked before committing).pnpm check: passed, including localization, formatting, lint/types and production build.coderabbit review --agent --base origin/staging --include-untracked: completed, zero findings across all 18 changed files. Hosted CodeRabbit completed its review with one trivial native-iOS test-coverage note, acknowledged and tracked in #7127; no implementation defect was reported.node scripts/run-regressions.mjs --filter window: 9/9 passed.pnpm regression:ui e2e/chat-widget-style.e2e.ts e2e/phone-bubbles.e2e.ts --grep 'widget presets preserve Default|phone Chat tools expands' --workers=1: 8 passed, one intentional desktop skip. Covers desktop Chromium, mobile Chromium and mobile WebKit, both color modes, round tools, reorder, locks and persistence.pnpm regression:ui e2e/widget-corner-containment.e2e.ts --workers=1: 3/3 passed. Checks painted corner pixels in 36 scenarios, plus six checks that rounded windows avoid double blur.pnpm smoke:ui: 7/7 passed.pnpm smoke:production: 3/3 passed (desktop Chromium, mobile Chromium, mobile WebKit).def4e51eb2767dee3be588512fffa5365458a6d1b5ec28c287bb8b3f7edabb0e.Human checklist:
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Automated browser interaction and visual inspection covered the actual windows, buttons, scrolling, all three presets, dark/light mode and minimum sizes. Chromium exercises native touch drags through CDP. WebKit exercises touch taps and pointer drags; physical-device touch dragging and the native keyboard still need manual verification (tracked in #7127).
Manually verify on an iPhone/Android device: move and resize Echo, reopen it after refreshing, unlock/reorder the round tool buttons, then lock them. Open the keyboard and check that controls remain reachable. Compare both presets in Settings and in a chat.
Docs and release impact
Updated chat settings, roleplay and custom-theme guides, plus CHANGELOG. Translated documentation follow-up: #7124. No release-version or storage-format change.
UI evidence
Before/after gallery, both light modes and mobile controls. Screenshots use disposable test chats.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.