[PR #5370] [MERGED] fix(ui): keep game scenes ordered and editor names visible #6741

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5370
Author: @SpicyMarinara
Created: 8/21/2026
Status: ✅ Merged
Merged: 8/21/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/5368-5369-small-issue-sweep


📝 Commits (2)

  • 1330663 fix(ui): keep game scenes ordered and editor names visible
  • e9aa694 test(ui): strengthen game scene handoff proof

📊 Changes

5 files changed (+47 additions, -7 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 e2e/core-flows.e2e.ts (+1 -0)
📝 packages/client/src/hooks/use-generate.ts (+7 -4)
📝 packages/client/src/styles/globals.css (+1 -0)
📝 scripts/regressions/roleplay-streaming.regression.ts (+36 -3)

📄 Description

Linked issue

Closes #5368
Closes #5369

Why this change

  • Game Mode exposed a durably saved assistant row before the GM pipeline finished, causing a later segment to appear early and then repeat during the ordered reveal.
  • Character and Persona editor metadata could reserve enough intermediate-width header space to collapse the entity name.

What changed

  • Hold Game Mode assistant rows out of the visible message cache until the existing final authoritative refresh.
  • Reserve a small visible minimum width for editor names while retaining the existing ellipsis behavior.
  • Extend the focused streaming and responsive editor regressions.
  • Add Unreleased changelog entries for both user-facing fixes.

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

  • Inspected the reporter video and confirmed the early Game segment appears while the GM status is still active, then appears again during the final ordered reveal.
  • Ran the focused Game/Roleplay stream lifecycle regression.
  • Opened both Character and Persona editors in desktop and mobile Playwright projects and verified their names retain visible header width before Creator/version metadata.

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] <paths> follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence

  • Before: #5368 reporter video shows the later Sol segment appearing during the active GM pipeline.
  • After: the focused desktop and mobile editor browser proof requires the name input to retain at least 48 px before Creator/version metadata.

Summary by CodeRabbit

  • Bug Fixes
    • Game Mode now preserves the current scene until the Game Master completes a turn.
    • Generated segments are revealed sequentially for a smoother experience.
    • Intermediate generation results no longer appear before processing is complete.
    • Character and Persona editor headers reserve enough space for card names.
  • Usability
    • Editor title fields maintain a minimum width for improved readability and easier editing.

🔄 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/5370 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/21/2026 **Status:** ✅ Merged **Merged:** 8/21/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5368-5369-small-issue-sweep` --- ### 📝 Commits (2) - [`1330663`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1330663fe2c72d1837600a04c62a5c4fbe8fe0a6) fix(ui): keep game scenes ordered and editor names visible - [`e9aa694`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e9aa694dbe7b1b889d5ab143f4f0a8e17743cbb7) test(ui): strengthen game scene handoff proof ### 📊 Changes **5 files changed** (+47 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/core-flows.e2e.ts` (+1 -0) 📝 `packages/client/src/hooks/use-generate.ts` (+7 -4) 📝 `packages/client/src/styles/globals.css` (+1 -0) 📝 `scripts/regressions/roleplay-streaming.regression.ts` (+36 -3) </details> ### 📄 Description ## Linked issue Closes #5368 Closes #5369 ## Why this change - Game Mode exposed a durably saved assistant row before the GM pipeline finished, causing a later segment to appear early and then repeat during the ordered reveal. - Character and Persona editor metadata could reserve enough intermediate-width header space to collapse the entity name. ## What changed - Hold Game Mode assistant rows out of the visible message cache until the existing final authoritative refresh. - Reserve a small visible minimum width for editor names while retaining the existing ellipsis behavior. - Extend the focused streaming and responsive editor regressions. - Add Unreleased changelog entries for both user-facing fixes. ## 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 - Inspected the reporter video and confirmed the early Game segment appears while the GM status is still active, then appears again during the final ordered reveal. - Ran the focused Game/Roleplay stream lifecycle regression. - Opened both Character and Persona editors in desktop and mobile Playwright projects and verified their names retain visible header width before Creator/version metadata. ## 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] <paths>` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence - Before: #5368 reporter video shows the later Sol segment appearing during the active GM pipeline. - After: the focused desktop and mobile editor browser proof requires the name input to retain at least 48 px before Creator/version metadata. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Game Mode now preserves the current scene until the Game Master completes a turn. - Generated segments are revealed sequentially for a smoother experience. - Intermediate generation results no longer appear before processing is complete. - Character and Persona editor headers reserve enough space for card names. - **Usability** - Editor title fields maintain a minimum width for improved readability and easier editing. <!-- 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:13:18 +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#6741
No description provided.