mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5987] [MERGED] fix(mobile): preserve message actions after dialog dismissal #7016
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#7016
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/5987
Author: @SpicyMarinara
Created: 9/9/2026
Status: ✅ Merged
Merged: 9/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/5825-mobile-action-recurrence📝 Commits (3)
88bbe50chore: track mobile message action recurrencee414a4bfix(chat): retain mobile message actions while dismissing dialogs530b33etest(chat): verify touch selection opens the next action row📊 Changes
5 files changed (+132 additions, -69 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
e2e/core-flows.e2e.ts(+120 -69)📝
packages/client/src/components/chat/ChatMessage.tsx(+5 -0)📝
packages/client/src/components/chat/ConversationMessage.tsx(+5 -0)📝
packages/client/src/components/chat/PeekPromptModal.tsx(+1 -0)📄 Description
Linked issue
Closes #5825, reopened for the disappearing-action recurrence. The separate literal
·issue was already fixed by #5826 and remains covered by the prompt-label assertions in this PR.Why this change
On mobile, tapping Close or Cancel in a message action dialog also reached the message's outside-touch handler. It cleared the selected action row underneath the dialog, so the icons disappeared after dismissal until the user selected the message again. The old regression asserted SVG visibility, which does not detect an ancestor with opacity zero.
What changed
Both message components now ignore outside touches originating inside a dialog, menu or chat floating panel. Peek Prompt uses the existing floating-panel marker on its overlay. Tapping another message still dismisses the previous action row. The product fix adds eleven lines across the existing components.
Expanded the existing browser regression to check the action row's actual opacity after repeated Peek Prompt dismissal and Delete / Cancel in Roleplay, Classic Conversation and Bubble Conversation. It also verifies normal outside-touch dismissal and retains the earlier icon-color and prompt-label checks.
Validation
Passed
pnpm check(localization, formatting, lint, TypeScript and production build).Reproduced the disappearing action row on mobile Chromium and mobile WebKit before the fix: the strengthened original regression received opacity
0after closing Peek Prompt. The same checks pass after the fix.Passed all 12 focused mobile cases: both engines, three layouts, light and dark themes.
The targeted
pnpm smoke:uirun passed 14 cases across desktop Chromium and both mobile engines. One existing mobile WebKit swipe-preference persistence check timed out after reload in that concurrent run; it passed when rerun in isolation with the same code. The action-row, dialog and shell checks passed.Manually verify repeated Peek Prompt open/close on the affected physical mobile device.
Manually verify another action dialog can be closed without reselecting the message.
Docs and release impact
Added the user-facing Unreleased changelog entry. No user-facing documentation or localization changes are needed for this interaction fix.
UI evidence (if applicable)
Before/after screenshots are embedded in a downloadable HTML artifact. Inspected mobile WebKit captures show the missing row before the fix and retained icons after repeated dismissals. These are synthetic browser fixtures, not physical-device screenshots.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.