mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #756] [MERGED] Fix manual chat file deletion persistence #4762
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#4762
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/756
Author: @Xelvanis
Created: 5/12/2026
Status: ✅ Merged
Merged: 5/13/2026
Merged by: @Xelvanis
Base:
main← Head:fix/manual-chat-file-deletion📝 Commits (2)
151e1c4Fix manual chat file deletion persistence19caa95Address chat file deletion review feedback📊 Changes
4 files changed (+99 additions, -19 deletions)
View changed files
📝
packages/client/src/components/chat/ChatFilesDrawer.tsx(+9 -6)📝
packages/client/src/hooks/use-chats.ts(+38 -12)📝
packages/server/src/db/file-backed-store.ts(+9 -1)📝
packages/server/test/file-backed-store.test.ts(+43 -0)📄 Description
Linked issue
Discord bug report: “Chat files not deleting with manual deletion” on Termux / Marinara 1.5.9. No GitHub issue exists yet.
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/server exec tsx --import ./test/setup-env.ts --test test/file-backed-store.test.ts.pnpm check.Docs and release impact
UI evidence (if applicable)
N/A. The UI behavior is unchanged except for awaiting/refetching the existing delete action and surfacing delete failures.
Summary by CodeRabbit
Bug Fixes
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.