mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4566] [MERGED] Refactor avatar crop contract #6428
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#6428
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/4566
Author: @Xelvanis
Created: 8/4/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:avatar-crop-contract📝 Commits (3)
6f9c6carefactor avatar crop contract3eb7a87address avatar crop review findings991d882normalize game persona crops at adapter📊 Changes
47 files changed (+752 additions, -495 deletions)
View changed files
📝
package.json(+1 -0)📝
packages/client/src/components/characters/CharacterEditor.tsx(+5 -11)📝
packages/client/src/components/characters/CharacterLibraryView.tsx(+6 -11)📝
packages/client/src/components/chat/CharacterScheduleEditorModal.tsx(+3 -2)📝
packages/client/src/components/chat/ChatArea.tsx(+7 -7)📝
packages/client/src/components/chat/ChatInput.tsx(+3 -2)📝
packages/client/src/components/chat/ChatMessage.tsx(+9 -15)📝
packages/client/src/components/chat/ChatNotificationBubbles.tsx(+3 -2)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+41 -67)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+24 -29)📝
packages/client/src/components/chat/ConversationInput.tsx(+3 -2)📝
packages/client/src/components/chat/ConversationMessage.tsx(+3 -2)📝
packages/client/src/components/chat/ExpressionSpriteSettings.tsx(+2 -1)📝
packages/client/src/components/chat/QuickPersonaSwitcher.tsx(+5 -4)📝
packages/client/src/components/chat/QuickSwitcherMobile.tsx(+4 -3)📝
packages/client/src/components/chat/RecentChats.tsx(+5 -5)📝
packages/client/src/components/chat/chat-area.types.ts(+3 -4)📝
packages/client/src/components/game/GameCharacterSheet.tsx(+3 -2)📝
packages/client/src/components/game/GameNarration.tsx(+4 -3)📝
packages/client/src/components/game/GamePartyBar.tsx(+5 -4)...and 27 more files
📄 Description
Linked issue
Closes #4567
Why this change
Avatar crops are shared by Characters, Personas, and Noodle, but their contract and parsing were split across entity-specific names and consumers. Centralizing the read contract keeps legacy stored data and imported backups supported without a persisted-data migration; normal editing naturally writes the current source-rectangle format.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAdditional automated validation:
pnpm regression:avatar-crop-contractpassed locally.Manual verification notes
User verified Persona and Character avatar crops displayed properly in their respective editors and sidebar locations, New Chat wizard setup, Chat Settings, and Noodle.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence (if applicable)
No permanent Playwright test or screenshot artifact was added. The focused browser verification was run as a one-off check.
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.