mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1364] [Issue]: Refactor rejects legacy persona avatar crop data #688
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#688
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?
Originally created by @ghost on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1364
Originally assigned to: @cha1latte on GitHub.
Summary
Legacy persona avatar crops could use
zoom,offsetX,offsetY, andfullImage. Current crop parsing only acceptssrcX/srcY/srcWidth/srcHeight.Classification: Legacy import/compatibility regression
Expected behavior
Imported legacy personas should preserve/render existing avatar crop data or migrate it to the new crop shape.
Actual behavior
Current
PersonaAvatarCropand shared crop parser reject the legacy shape, risking lost or incorrect avatar cropping.Steps to reproduce
LegacyPersonaAvatarCrop.src/engine/contracts/types/persona.ts,src/shared/lib/utils.ts, and Persona editor/avatar renderers.zoom/offset crop data and compare rendering.Impact area
Environment
07af6d8b)Logs, screenshots, or video
No runtime logs or screenshots. Finding comes from raw-codebase parity inspection.
Regression notes
Legacy behavior/source exists in
origin/staging / v1.6.1 raw codebaseand is tracked indocs/refactor-staging-1.6-feature-gap-audit.md. Current refactor source did not show equivalent behavior at the paths named below.Additional context
Potential owners: persona contract, crop parser/migration, Persona editor, and avatar renderers.
Audit report:
docs/refactor-staging-1.6-feature-gap-audit.md.Template check