[PR #6787] [MERGED] fix: offer neutral full-body references for persona sheets #7331

Closed
opened 2026-10-23 04:18:44 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6787
Author: @SpicyMarinara
Created: 9/27/2026
Status: ✅ Merged
Merged: 9/27/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/6786-persona-sheet-reference


📝 Commits (2)

  • 61e0de1 docs: record persona sheet reference fix scope (#6786)
  • 9f06ba5 fix: allow neutral full-body references in persona sheet generation (#6786)

📊 Changes

3 files changed (+109 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 e2e/core-flows.e2e.ts (+105 -0)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+2 -0)

📄 Description

Linked issue

Closes #6786

Why this change

Persona sheet generation omits the saved neutral full-body sprite reference option already available for character cards. A persona with a saved full_neutral sprite should be able to include it alone or together with its avatar.

What changed

Load the persona's sprites when its sheet generator opens and pass the neutral full-body sprite to the existing optional reference control. The shared modal already owns the checkbox, preview, reference loading and generation payload.

Validation

  • pnpm check: passed, including localization, formatting, lint, types and production build.
  • pnpm regression:ui e2e/core-flows.e2e.ts --grep 'Persona sheets accept neutral full-body references' --workers=1: 3 passed across desktop Chromium, mobile Chromium and mobile WebKit.
  • The regression verifies the exact neutral sprite, independent sprite/avatar payloads, real gallery upload after generation, persisted sheet selection, checkbox reset on reopen, and disappearance of the option after sprite deletion. Generation responses use fixtures; no real model call is made.
  • pnpm smoke:ui: 7 passed.
  • Local CodeRabbit: completed with zero findings.
  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify persona sheet generation with an avatar and saved neutral full-body sprite on a physical iPhone/iPad, using a real generation provider.
  • Manually verify the existing appearance in light and dark themes; this patch reuses the unchanged shared control.
  • The separately reported save-button failure remains tracked in #6788 and is not claimed fixed here. Generated PNG saves worked in the automated probes, including a real tap in mobile WebKit.
  • No local container build; the required GitHub container build remains a merge gate.

Docs and release impact

Unreleased changelog entry. Reuses existing localized controls; no version bump or translated documentation change.

UI evidence (if applicable)

Persona full-body reference screenshots from all three browser projects. These show the same existing reference control now offered for a persona.

Summary by CodeRabbit

  • New Features
    • Persona sheet generation can now use a saved neutral full-body sprite as a reference, either by itself or alongside the current avatar.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6787 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/27/2026 **Status:** ✅ Merged **Merged:** 9/27/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/6786-persona-sheet-reference` --- ### 📝 Commits (2) - [`61e0de1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/61e0de161fec3b152f444a4aae346128adc2a947) docs: record persona sheet reference fix scope (#6786) - [`9f06ba5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9f06ba5164080e23ca0eb4e8a0819122dcdb3437) fix: allow neutral full-body references in persona sheet generation (#6786) ### 📊 Changes **3 files changed** (+109 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/core-flows.e2e.ts` (+105 -0) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+2 -0) </details> ### 📄 Description ## Linked issue Closes #6786 ## Why this change Persona sheet generation omits the saved neutral full-body sprite reference option already available for character cards. A persona with a saved `full_neutral` sprite should be able to include it alone or together with its avatar. ## What changed Load the persona's sprites when its sheet generator opens and pass the neutral full-body sprite to the existing optional reference control. The shared modal already owns the checkbox, preview, reference loading and generation payload. ## Validation - `pnpm check`: passed, including localization, formatting, lint, types and production build. - `pnpm regression:ui e2e/core-flows.e2e.ts --grep 'Persona sheets accept neutral full-body references' --workers=1`: 3 passed across desktop Chromium, mobile Chromium and mobile WebKit. - The regression verifies the exact neutral sprite, independent sprite/avatar payloads, real gallery upload after generation, persisted sheet selection, checkbox reset on reopen, and disappearance of the option after sprite deletion. Generation responses use fixtures; no real model call is made. - `pnpm smoke:ui`: 7 passed. - Local CodeRabbit: completed with zero findings. - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify persona sheet generation with an avatar and saved neutral full-body sprite on a physical iPhone/iPad, using a real generation provider. - Manually verify the existing appearance in light and dark themes; this patch reuses the unchanged shared control. - The separately reported save-button failure remains tracked in #6788 and is not claimed fixed here. Generated PNG saves worked in the automated probes, including a real tap in mobile WebKit. - No local container build; the required GitHub container build remains a merge gate. ## Docs and release impact Unreleased changelog entry. Reuses existing localized controls; no version bump or translated documentation change. ## UI evidence (if applicable) [Persona full-body reference screenshots](https://gist.github.com/SpicyMarinara/aced799a3ae0a4b915d1fcea965ed5cd) from all three browser projects. These show the same existing reference control now offered for a persona. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Persona sheet generation can now use a saved neutral full-body sprite as a reference, either by itself or alongside the current avatar. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:18:44 +07:00
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#7331
No description provided.