mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8400] [MERGED] feat(mari): swipe undo cards to close or undo #8578
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#8578
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/8400
Author: @Gunterlie
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/mari-undo-card-swipe📝 Commits (5)
54070dbfeat(mari): swipe undo cards to close or undoff702b0Merge remote-tracking branch 'origin/staging' into feat/mari-undo-card-swipea7c3b91fix(mari): track one pointer per swipe and disarm on outside releasec74ef9afix(mari): drop stale swipe origin when the card stops being swipeablec41d84ffix(mari): reset swipe when the card detaches and protect a moved drag📊 Changes
3 files changed (+89 additions, -2 deletions)
View changed files
📝
packages/client/src/components/chat/MariChangeReceipt.tsx(+76 -1)📝
packages/client/src/styles/mari.css(+12 -0)📝
scripts/regressions/professor-mari/change-receipt.regression.ts(+1 -1)📄 Description
Why
Prof. Mari's change cards only close their Undo window by waiting or through the omnibar, and Undo needs a precise tap on a small button. On a phone, a Mail-style swipe is the natural way to deal with a card quickly.
What changed
touch-action: pan-y); a swipe that ends on a button does not press it.No linked issue: planned UX polish from the maintainer.
Manual verification
Local validation
tsc --noEmit: 0 errors; ESLint on the changed file: clean; Prettier: clean.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.