mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4546] [MERGED] feat(mari-chat): add message action buttons (delete, edit, regenerate, attachment removal) #6416
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#6416
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/4546
Author: @ylli-selmani
Created: 8/4/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/mari-chat-message-actions📝 Commits (9)
68833d2feat(mari-chat): add message action buttons (delete, edit, regenerate, attachment removal)cfa230bfeat(mari-chat): localize message action titles and confirmation dialogsab2ff09Merge branch 'staging' of https://github.com/Pasta-Devs/Marinara-Engine into feat/mari-chat-message-actions23013c9Merge branch 'staging' into feat/mari-chat-message-actions40a9f1dMerge branch 'staging' into feat/mari-chat-message-actions60488e3fix(mari-chat): address message action review26af51bfix(mari-chat): tighten message action behaviorcec950efix(mari-chat): make regeneration atomica0e537efix(mari-chat): guard message mutations while busy📊 Changes
4 files changed (+409 additions, -59 deletions)
View changed files
📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+369 -48)📝
packages/client/src/localization/locales/en.json(+11 -0)📝
packages/server/src/routes/professor-mari-workspace.routes.ts(+2 -0)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+27 -11)📄 Description
Linked issue
Closes #4556
Why this change
What changed
HomeProfessorMariChat.tsxMacroTextareaeditor for editing user messages (with expand-to-fullscreen button). Hooked into existing functionality, just hid the 'macro' and 'markdown' buttons.ProfessorMariAttachedFilesfor saved messagesshowConfirmDialogworkspaceTraceassistant messages (previously unreachable due to early return)en.jsonWhat should still be added
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Tested pretty much entire behaviour of the PR multiple times, evidenced in attached mp4s and png.
start.bat. Tested in Firefox on desktop and Samsung Browser on Samsung Galaxy (mobile viewport).messages.jsonafter reload.MacroTextareaappeared with Save/Cancel buttons and expand-to-fullscreen button in the corner. Saved an edit → message updated in chat and persisted after reload/recall.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence
https://github.com/user-attachments/assets/665e12e6-a1b3-43a4-9e95-452bf2839f28
https://github.com/user-attachments/assets/ccac1ffa-c322-4d1d-b125-2c396b385105
https://github.com/user-attachments/assets/93c35776-1f63-40e2-aa62-96785d7c6ffc
https://github.com/user-attachments/assets/c5a568c5-1c78-45cc-aa75-d4884d1b1e9d
https://github.com/user-attachments/assets/4b7e08cc-3131-40f7-8137-9aee2ee6ba01
https://github.com/user-attachments/assets/3feaf1e7-9b5b-46f9-ba2d-cc14dcd14957
https://github.com/user-attachments/assets/eb8317e3-7cfa-4349-9e7e-91f58bcc972e
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.