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#7472
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/7096
Author: @SpicyMarinara
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/play-as-character-folder-7093📝 Commits (2)
8fb214ffix(chat): keep Play as a character portraits inside the persona pickers (#7093)bf0cf26Merge remote-tracking branch 'origin/staging' into fix/play-as-character-folder-7093📊 Changes
4 files changed (+230 additions, -8 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)➕
e2e/play-as-character-folder.e2e.ts(+220 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+5 -5)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+3 -3)📄 Description
Linked issue
Closes #7093
Why this change
getAvatarCropStyle()places saved avatar crops with absolute positioning and percentage sizes, so the image needs arelative overflow-hiddenslot. The setup wizard'sPersonaPickerput the<img>straight in the row button, and Chat Settings wrapped it in anoverflow-hiddendiv that wasn't positioned. The image was sized against the setup dialog or the Chat Settings window instead of its 28px slot. Only characters with a saved crop triggered it.What changed
ChatSetupWizard.tsx: the Play-as-character row uses the file's existingCroppedAvatarImageslot. This covers every placePersonaPickerappears: Roleplay setup, Conversation setup and Use a Profile.ChatSettingsDrawer.tsx:relativeon the Play-as-character row avatar and the chosen-character avatar, matching the drawer's other character avatars.ChatSettingsDrawer.tsx:w-fullon the persona picker's None, persona and character rows, matching the drawer's other pickers. Long names now truncate instead of making the list scroll sideways on phones.e2e/play-as-character-folder.e2e.tscovering both pickers. CHANGELOG entry.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run validation (for reference, not a substitute for the boxes above):
e2e/play-as-character-folder.e2e.tson desktop-chromium, mobile-chromium and mobile-webkit: 6/6 fail on unmodified staging (portrait 1084px and 1152px wide on desktop, 725–748px on a 390px phone); 6/6 pass with this change.pnpm checkpasses.character-identity,open-issues,issue-sweep-chatandchat-persona-macrospass.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)Note: no doc describes this picker; only
CHANGELOG.mdchanged.UI evidence (if applicable)
Attach before/after screenshots from a manual run. The e2e saves
setup-folder-open.pngandsettings-folder-open.pngin its test output.Follow-up (not in this PR):
CharacterScheduleManagerModal.tsxputs a cropped avatar straight into a row with no slot. It's the same kind of bug and should get its own issue.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.