mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#7474
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/7101
Author: @SpicyMarinara
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/schedule-avatar-slot📝 Commits (4)
5b4f850fix(client): show saved portrait crops in the schedule manager7809754docs(changelog): link the schedule portrait fix to #7100e3620fftest(schedules): assert where both crop formats place the portrait (#7100)82e5d57Merge remote-tracking branch 'origin/staging' into fix/schedule-avatar-slot📊 Changes
3 files changed (+185 additions, -8 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)➕
e2e/schedule-manager-portraits.e2e.ts(+170 -0)📝
packages/client/src/components/chat/CharacterScheduleManagerModal.tsx(+13 -8)📄 Description
Linked issue
Closes #7100
Why this change
avatarCropfield that character rows never carry (the crop is stored inextensions.avatarCrop). The schedule editor it opens wasn't given the crop either.<img>sat directly in the row. A saved crop is placed withposition: absoluteand percentage sizes, so once the crop is read, the portrait sizes against a larger ancestor. It then grows to the width of the screen (about 1424px on desktop) and covers the window. This is the same class of bug as #7093. Both parts have to be fixed together.What changed
CharacterScheduleManagerModal.tsx: read the crop withnormalizeAvatarCrop(extensions.avatarCrop). Put the list portrait in the same sizedrelative overflow-hiddenround slot used across the app (as inCroppedAvatarImage). Pass the crop to the schedule editor.e2e/schedule-manager-portraits.e2e.ts: seeds characters with a large portrait and saved current-format and legacy crops. It asserts that each crop is used in the list and in the editor, that each list portrait stays inside its clipping slot, that the window's controls are the topmost element at their centre and clickable, and that nothing scrolls sideways.CHANGELOG.md: one user-facing entry.getAvatarCropStyle(...)call in the client (about 50, plus 11 that pass a crop style through a variable) found no other portrait missing its slot.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run validation (not a substitute for the boxes above):
pnpm check: exit 0.e2e/schedule-generation.e2e.tsand the new e2e: 12 of 12 pass across the three projects.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG entry added under
[Unreleased]. No doc describes these portraits, so no other doc changes.UI evidence (if applicable)
Before: uncropped portrait. Crop read without the slot: the portrait covers the window. After: cropped portrait inside its round slot. Attach the e2e screenshots from a manual run.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.