mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7843] [MERGED] fix(avatars): repair sprite cutouts and chat layout controls #7964
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#7964
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/7843
Author: @SpicyMarinara
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/avatar-3d-placement📝 Commits (10+)
eb567a0chore: start 2D avatar variant edge investigation (#7840)70d5eb1Merge branch 'staging' into fix/avatar-variant-white-edgesfa7d3b1test(avatars): reproduce uploaded VRM layout controlsd2fb780fix(avatars): preserve source colour at generated variant edges (#7840)9109df2fix(avatars): expose saved avatar layout controls in chatscc371a3Merge 2D avatar cutout repair into avatar fixesbf0c5b9fix(avatars): preserve queued Game layout edits416b56dMerge branch 'staging' into fix/avatar-3d-placement295e0aefix(avatars): isolate arrangement from Game navigationa49944eMerge commit '416b56d933' into fix/avatar-3d-placement📊 Changes
9 files changed (+703 additions, -57 deletions)
View changed files
📝
docs/agents/avatars.md(+3 -1)➕
e2e/avatar-placement.e2e.ts(+252 -0)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+9 -0)📝
packages/client/src/components/game/GameSurface.tsx(+83 -1)📝
packages/client/src/features/avatars/stage/AvatarStage.tsx(+115 -49)📝
packages/client/src/localization/locales/en.json(+4 -0)📝
packages/server/src/services/avatars/generation/generation-context.ts(+6 -6)📝
scripts/regressions/avatar-backgrounds.regression.ts(+71 -0)➕
scripts/regressions/avatar-placement.regression.ts(+160 -0)📄 Description
Linked issue
Closes #7840.
Closes #7842.
Why this change
Generated 2D blink/talk pictures can acquire a pale hair fringe or bottom stripe absent from the original sprite. Uploaded VRMs also lack usable move/resize controls in avatar-only Roleplay chats, and Game does not connect avatar placement controls.
What changed
Validation
Current head:
a49944e051e60d09e0fe86a3d3a338dc31b9e5da, preserving the owner's staging merge.pnpm check: passed, including localization, formatting, lint, TypeScript and production builds.bf0c5b974officialDockerfile.litearm64 build and existing two-phase container runtime smoke passed. Baked commit was independently verified; API, compiled frontend, native Sharp, non-root startup, writable/persistent settings and environment, and SIGTERM exit0 across replacement all passed. The current-head container proof is pending.node scripts/run-regressions.mjs --filter avatar-placement: 1/1 passed onbf0c5b974; its Game callbacks and harness are unchanged by this follow-up. This actual callback queue harness first reproduced one avatar move overwriting another before a render. It now verifies both owner maps, metadata fallback, preserved owner fields, saving outside React updaters, stale-chat callbacks, and preference-cache write failures. It does not mount React.bf0c5b974. The green browser proof ran on295e0aed0; all three follow-up files are byte-identical after the owner merge into the current head.pnpm smoke:ui: 7/7 passed.Retained evidence from earlier combined head
cc371a3bfor unchanged paths:The full local CodeRabbit review covered all eight original files and found one valid minor Game batching issue. That issue is fixed and reproduced by the new harness. The two-file incremental local review completed with no additional findings on
bf0c5b974. The hosted full review covered all nine files on that head and posted seven comments. This follow-up addresses the Game navigation defect, the semantic Done key, genuine Chromium touch input, and slider styling. A combined incremental local review and substantive current-head hosted review remain merge gates.pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
English guide:
docs/agents/avatars.md:34–36documents the direct controls, keyboard access and device-local persistence. Translation work follows the maintainer's agreed English-change list and release translation sweep: documented release-cycle instruction.UI evidence
Published fixture-only uploaded-VRM screenshots cover desktop and phone, dark and light controls. The pre-repair desktop capture shows the missing entry point. No unpatched phone screenshot was recorded. The actual 2D character source/replay stays private and local.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.