mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6436] [CLOSED] Fix missing portraits for dialogue speakers outside the presence snapshot #7177
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#7177
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/6436
Author: @SirAdoni
Created: 9/20/2026
Status: ❌ Closed
Base:
staging← Head:contrib/dialogue-speaker-avatar📝 Commits (1)
04b1975Resolve dialogue speaker portraits independently of scene presence📊 Changes
4 files changed (+134 additions, -24 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/client/src/components/game/GameSurface.tsx(+35 -24)➕
packages/client/src/components/game/game-speaker-avatar.ts(+31 -0)➕
scripts/regressions/game-speaker-avatar.regression.ts(+66 -0)📄 Description
Linked issue
Closes #6430
Why this change
A character can speak before the scene-presence snapshot catches up. Previously, a speaker outside the selected party displayed a placeholder even when a unique character-library card already had an avatar. The portrait should resolve independently of that delayed presence update.
What changed
This does not alter presence, character records, generated images, or saved campaign data. It is a focused bug fix separated from the broader portrait-viewer and profile-link contributions.
Validation
Completed on the current staging-based branch: full
pnpm check, focusedgame-speaker-avatarregression, privacy scan andgit diff --check. The Windows checkout represented the skills symlink as a text file; validation temporarily materialized its existing target, then restored the original bytes. No skill or environment changes are included.A generic isolated desktop Chromium component proof exercised a missing-presence speaker, saved crop styling, explicit portrait precedence, and ambiguous-name refusal. It used no private campaign data or provider calls. The committed regression tests the resolver; static assertions separately check production parser/visibility wiring. Full live-campaign reproduction on this standalone branch, mobile, WebKit and container validation remain manual tasks.
This AI-assisted PR remains draft pending those manual checks and review. Boxes below are intentionally left unchecked for the human contributor.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
The changelog explains the user-visible fix. No configuration, release version, translated docs, or public API changes.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence (if applicable)
Private campaign screenshots and transcript content are excluded. The browser proof uses synthetic avatars and generic character names.
Summary by CodeRabbit
New Features
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.