[GH-ISSUE #5482] Character/Persona editor: avatar crop widget appears above replace-avatar actions #3045

Closed
opened 2026-10-21 05:59:07 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Gunterlie on GitHub (Aug 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5482

Originally assigned to: @Gunterlie on GitHub.

Problem

In both the Character editor (Metadata tab) and Persona editor (Metadata tab), the "Replace Avatar" block (Upload avatar / Generate with AI) is rendered above the Avatar Crop widget. This puts the crop UI (drag to pan/resize, preview) below the upload controls, which reads awkwardly — a user replacing an avatar sees the upload button before they see the crop of the current avatar.

Fix

Reorder so Avatar Crop renders first, with the Replace Avatar actions underneath it, in:

  • packages/client/src/components/characters/CharacterEditor.tsx
  • packages/client/src/components/personas/PersonaEditor.tsx

Manual verification needed

  • Open Character editor, Metadata tab, with an existing avatar — confirm crop widget shows above Upload/Generate buttons.
  • Open Persona editor, Metadata tab, with an existing avatar — same check.
  • Confirm crop drag/resize and Upload/Generate/Remove still function after reorder.
Originally created by @Gunterlie on GitHub (Aug 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5482 Originally assigned to: @Gunterlie on GitHub. ## Problem In both the Character editor (Metadata tab) and Persona editor (Metadata tab), the "Replace Avatar" block (Upload avatar / Generate with AI) is rendered above the Avatar Crop widget. This puts the crop UI (drag to pan/resize, preview) below the upload controls, which reads awkwardly — a user replacing an avatar sees the upload button before they see the crop of the current avatar. ## Fix Reorder so Avatar Crop renders first, with the Replace Avatar actions underneath it, in: - `packages/client/src/components/characters/CharacterEditor.tsx` - `packages/client/src/components/personas/PersonaEditor.tsx` ## Manual verification needed - [ ] Open Character editor, Metadata tab, with an existing avatar — confirm crop widget shows above Upload/Generate buttons. - [ ] Open Persona editor, Metadata tab, with an existing avatar — same check. - [ ] Confirm crop drag/resize and Upload/Generate/Remove still function after reorder.
bsakaguchi 2026-10-21 05:59:07 +07:00
Author
Owner

@Gunterlie commented on GitHub (Aug 24, 2026):

Working this — PR: #5483

<!-- gh-comment-id:5398368541 --> @Gunterlie commented on GitHub (Aug 24, 2026): Working this — PR: #5483
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3045
No description provided.