mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5855] [MERGED] feat(chat): roomier actions and persistent first-swipe controls #6970
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#6970
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/5855
Author: @SpicyMarinara
Created: 9/5/2026
Status: ✅ Merged
Merged: 9/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/5854-message-actions-swipes📝 Commits (8)
4fad46achore: track message action and swipe display improvements20d3f93feat(chat): enlarge message actions and persist first-swipe menuse882e70test(chat): capture settled message controls without double tapping22f7b1btest(chat): dismiss synthetic generation toast before opening settings0c4f1e6test(chat): target message text and stabilize adjacent UI assertions2b5c058fix(chat): align fallback swipe preference and preserve explicit opt-outs4617db0test(chat): compare dialog colors away from pointer hovere4dab1dMerge branch 'staging' into feat/5854-message-actions-swipes📊 Changes
13 files changed (+320 additions, -13 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
e2e/core-flows.e2e.ts(+236 -4)📝
packages/client/src/components/chat/ChatMessage.tsx(+9 -4)📝
packages/client/src/components/chat/ConversationMessageActions.tsx(+1 -1)📝
packages/client/src/components/chat/ConversationMessageBubble.tsx(+1 -0)📝
packages/client/src/components/chat/ConversationMessageGrouped.tsx(+1 -0)📝
packages/client/src/components/chat/ConversationMessageLine.tsx(+1 -0)📝
packages/client/src/components/chat/ConversationMessageShared.tsx(+5 -0)📝
packages/client/src/components/chat/MessageActionButton.tsx(+1 -1)📝
packages/client/src/components/chat/SwipeJumpControl.tsx(+11 -3)📝
packages/client/src/components/panels/SettingsPanel.tsx(+36 -0)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/client/src/stores/ui.store.ts(+13 -0)📄 Description
Linked issue
Closes #5854
Why this change
Message tools should be easy to see and select on desktop and phones. First-response swipe controls should make regeneration discoverable, with an independent, persistent opt-out for Conversation and Roleplay.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Actual automated results:
pnpm install --frozen-lockfile --offline— passed.pnpm check— passed again after the renderer review correction and explicit appearance-reset exception (2b5c058e7). The final test-only change also passedpnpm check:e2e-types.pnpm localization:check— passed.node scripts/run-regressions.mjs --filter open-issuesand--filter assigned-issue-sweep— both passed, including the synced/local settings projection guard.pnpm exec playwright test e2e/core-flows.e2e.ts --grep 'message actions are roomy|mobile Roleplay Peek prompt|mobile Roleplay context|mobile Conversation editing|empty focused chat composers|mobile transcript swipes|mobile reopening Echo Chamber' --workers=1 --reporter=list,html— 17 passed, 7 platform-specific skips.pnpm exec playwright test e2e/core-flows.e2e.ts --grep 'message actions are roomy' --workers=1 --reporter=list,html— 6/6 passed on desktop Chromium, mobile Chromium, and mobile WebKit.message deletion uses unified chroma controlspassed 9/9, including the new opt-out-through-Reset-Appearance assertion. The dialog-color test additionally passed 3 repeated mobile-WebKit runs after isolating idle color checks from pointer hover and transition serialization.pnpm exec playwright test e2e/core-flows.e2e.ts --grep 'stopped and refused generations|exposes reasoning and explains unavailable saved summaries|message deletion uses unified chroma controls|Connections exposes Local Whisper only' --workers=1— 15/15 passed across all three projects. Existing tests now target message text instead of row centers (which can legitimately contain swipe arrows), wait for dialog color transitions, and avoid toggling an already-restored Connections panel closed after reload.The focused cases exercise first-arrow dispatch and mobile confirmation against a mocked failing generation endpoint; explicit off/on, reload, legacy server blobs missing both new keys, mode independence, second-swipe visibility while off, Bubbles with multiple swipes, user action order, and 320px containment with at least 44px mobile action targets. Screenshots cover both themes; custom theme/font/character-CSS combinations are not exhaustive.
Manually verify action spacing and left-to-right user action order on physical phones and desktop, including custom fonts and character CSS. Manually verify first-swipe regeneration with a live provider, both appearance toggles, Roleplay toggle grouping, and saved opt-outs across devices. The connected in-app browser was unavailable; Playwright Chromium and WebKit are the automated proof boundary, not physical iOS hardware or a paid provider request.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedIncludes Unreleased changelog entries and canonical English UI copy. Community locales continue to fall back to English. No user-doc or version changes.
UI evidence (if applicable)
Reviewed synthetic before/after screenshots, narrow mobile layouts, user action order, and both settings sections.
All public images use local synthetic fixtures. Private user screenshots were not republished. Screenshots are not committed to the Engine repository.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.