mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3942] [MERGED] fix: contain cropped avatar upload targets #6169
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#6169
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/3942
Author: @SpicyMarinara
Created: 7/22/2026
Status: ✅ Merged
Merged: 7/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-portrait-crop-overlay📝 Commits (1)
810d714fix: harden cropped avatar upload targets📊 Changes
5 files changed (+20 additions, -4 deletions)
View changed files
📝
CHANGELOG.md(+1 -1)📝
packages/client/src/components/characters/CharacterEditor.tsx(+2 -2)📝
packages/client/src/components/personas/PersonaEditor.tsx(+1 -1)📝
packages/client/src/styles/globals.css(+1 -0)📝
scripts/regressions/open-issues.regression.ts(+15 -0)📄 Description
Why
In v2.3.3, changing a current-format avatar crop could let an absolutely positioned preview image escape its upload thumbnail. The escaped image covered the editor and clicks bubbled to the upload target, repeatedly opening the file picker. Staging already contains the original Metadata containment fix from #3741; this follow-up hardens every editor upload thumbnail involved in the report.
Fixes #3939.
What changed
Impact
Character and Persona crop previews remain visually contained, while normal editor clicks cannot be redirected into the avatar file picker by an escaped image layer.
Checks
Manual verification
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.