mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1996] [MERGED] Route persona avatars through thumbnails #5381
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#5381
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/1996
Author: @Promansis
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @Promansis
Base:
refactor← Head:fix/persona-avatar-thumbnails📝 Commits (2)
363927cRoute persona avatars through thumbnails1617e6cThrottle persona avatar thumbnail resolution📊 Changes
10 files changed (+285 additions, -55 deletions)
View changed files
➕
src/features/catalog/personas/components/PersonaAvatarImage.tsx(+197 -0)📝
src/features/catalog/personas/components/panel/PersonaGroupsSection.tsx(+4 -2)📝
src/features/catalog/personas/components/panel/PersonaListItem.tsx(+2 -1)📝
src/features/catalog/personas/index.ts(+1 -0)📝
src/features/catalog/personas/lib/personas-panel-model.ts(+3 -0)📝
src/features/modes/shared/chat-ui/components/ChatSettingsDrawer.tsx(+15 -12)📝
src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx(+16 -2)📝
src/features/modes/shared/chat-ui/components/QuickPersonaSwitcher.tsx(+16 -16)📝
src/features/modes/shared/chat-ui/components/QuickSwitcherMobile.tsx(+8 -12)📝
src/features/shell/mari/components/ProfessorMariSurface.tsx(+23 -10)📄 Description
Linked issue
Closes #1992
Why this change
avatarPathdirectly, so compact/repeated persona avatar cells could bypass the existing avatar thumbnail pipeline and load full-size or inline sources.What changed
avatarPath, managed avatar file metadata, inline sources, and crop data through the existing avatar thumbnail shared API.<img src={...avatarPath}>usage in compact persona list, group, switcher, setup, chat settings, and Professor Mari selector surfaces.avatarFilePath,avatarFilename, and crop metadata through persona display row types where those compact surfaces need thumbnail resolution.Refactor impact
Primary owner:
Catalog personas and shared chat UI persona selectors.
Impact areas reviewed:
Boundary notes:
src/shared/api/local-file-api.ts.avatarPaththumbnail support stays in the existing shared avatar thumbnail resolver; this PR wires persona UI surfaces into that path.Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
pnpm typecheckpassed locally.pnpm check:architecturepassed locally.pnpm checkpassed locally.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
No screenshots attached. This PR was validated with local static/type/architecture/full checks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.