mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1634] [MERGED] Fall back when recent chat avatar fails #5166
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#5166
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/1634
Author: @Promansis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Promansis
Base:
refactor← Head:fix/issue-1604-avatar-404📝 Commits (1)
97ccff4Fall back when recent chat avatar fails📊 Changes
1 file changed (+35 additions, -14 deletions)
View changed files
📝
src/features/modes/router/components/RecentChats.tsx(+35 -14)📄 Description
Linked issue
Closes #1604
Why this change
Recent chat chips rendered a broken image fragment when a character had a persisted avatar URL but the asset file returned 404. The no-avatar initial fallback already existed, but the component only used it when
avatarUrlwas missing, not when image loading failed.What changed
RecentChatAvatarrenderer for recent-chat chips.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
Pressure points touched:
src/features/modes/router/components/RecentChats.tsxValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm typecheck<img>,onErrorsets the failed state, and the component reuses the same initial fallback used for no-avatar characters. The failed state resets whenavatar.avatarUrlchanges.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Not captured. This is a narrow broken-image fallback in the recent-chat chip and was verified by typecheck plus code-path review.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.