mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#8641
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/8507
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/reasoning-copy-8502📝 Commits (1)
6d81391fix(chat): add a copy button to model reasoning (#8502)📊 Changes
4 files changed (+107 additions, -25 deletions)
View changed files
📝
e2e/core-flows.e2e.ts(+36 -3)📝
packages/client/src/components/chat/ChatMessage.tsx(+41 -20)📝
packages/client/src/components/chat/MessageThinkingModal.tsx(+27 -2)📝
packages/client/src/localization/locales/en.json(+3 -0)📄 Description
Linked issue
Closes #8502
Why this change
Users want to share what a thinking model reasoned. On phones, selecting the reasoning text by hand is unreliable (reported on Android/Brave over a Termux install). One tap should copy the full reasoning.
What changed
MessageThinkingModal.tsx(thoughts dialog, used by Conversation): a Copy model thoughts button above the reasoning.ChatMessage.tsx(inline Roleplay thinking disclosure): the same button next to the expand toggle, as a sibling button (no nesting). It stays visible while collapsed. The toggle row grows to a 44 px tap target.copyToClipboardfromlib/utils(it falls back toexecCommandon plain HTTP). Success swaps the icon to a check for 1.5 s; failure shows an error toast.en.json:chat.message.thoughts.copy,.copied,.copyFailed.e2e/core-flows.e2e.ts: the existing reasoning tests copy and read back the clipboard (WebKit uses the clipboard stub pattern the file already has; Chromium grants clipboard permission), and the tab-order check includes the new button.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent runs (not a substitute for the boxes above):
pnpm checkexit 0;playwright test e2e/core-flows.e2e.ts --project=desktop-chromiumon the three touched tests: 3 passed. Mobile projects not run.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Three new UI strings in
en.json; the UI language packs ondocs-i18nfall back to English until translated.UI evidence (if applicable)
Screenshots not captured yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.