[PR #4254] [CLOSED] Fix editor drafts lost across responsive layout changes #6304

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4254
Author: @SpicyMarinara
Created: 7/29/2026
Status: ❌ Closed

Base: staging ← Head: agent/assigned-issue-4244


📝 Commits (1)

  • 5ce299b fix: preserve editor drafts across layout changes

📊 Changes

2 files changed (+111 additions, -32 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+78 -0)
📝 packages/client/src/components/layout/AppShell.tsx (+33 -32)

📄 Description

Linked issue

Closes #4244

Why this change

Crossing the desktop/mobile breakpoint mounted character and persona editors in different React tree positions. That remount discarded component-local unsaved fields, colors, and stats without warning.

This branch preserves contributor olegpro171's implementation and commit authorship while bringing it onto current staging for maintainer validation.

What changed

  • Keep one detail-editor host at a stable React tree position across responsive layout changes.
  • Adapt the same host between desktop detail view and the mobile detail sheet without remounting the editor.
  • Add desktop-to-mobile-to-desktop Playwright regressions for unsaved character and persona names.

Validation

  • 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

Manual browser verification remains required before merge.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened
  • Version/release files updated

UI evidence

See the reproduction recording attached to #4244.


🔄 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/4254 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/29/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `agent/assigned-issue-4244` --- ### 📝 Commits (1) - [`5ce299b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5ce299b54b1d6bf209ac252b865ceef096c8189d) fix: preserve editor drafts across layout changes ### 📊 Changes **2 files changed** (+111 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+78 -0) 📝 `packages/client/src/components/layout/AppShell.tsx` (+33 -32) </details> ### 📄 Description ## Linked issue Closes #4244 ## Why this change Crossing the desktop/mobile breakpoint mounted character and persona editors in different React tree positions. That remount discarded component-local unsaved fields, colors, and stats without warning. This branch preserves contributor olegpro171's implementation and commit authorship while bringing it onto current staging for maintainer validation. ## What changed - Keep one detail-editor host at a stable React tree position across responsive layout changes. - Adapt the same host between desktop detail view and the mobile detail sheet without remounting the editor. - Add desktop-to-mobile-to-desktop Playwright regressions for unsaved character and persona names. ## Validation - [ ] `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 Manual browser verification remains required before merge. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated ## UI evidence See the reproduction recording attached to #4244. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:09:07 +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#6304
No description provided.