[PR #1648] [MERGED] Fix game narration truncation display #5180

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1648
Author: @Promansis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Promansis

Base: refactor ← Head: fix/1593-game-narration


📝 Commits (1)

  • d4965d8 Reveal completed game narration segments

📊 Changes

1 file changed (+6 additions, -5 deletions)

View changed files

📝 src/features/modes/game/components/GameNarration.tsx (+6 -5)

📄 Description

Summary

Fixes #1593.

Completed game narration turns now reveal the active segment in full instead of leaving the typewriter partially advanced after generation or regeneration finishes. Streaming turns still type out normally, and instant-reveal settings continue to work.

Root Cause

GameNarration initialized and advanced visible character count from the same typewriter path for both active streaming and already-completed assistant turns. After a completed generation, the visible narration could remain at a partial prefix and look like the model output was cut off.

Validation

  • pnpm typecheck

🔄 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/1648 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 5/30/2026 **Status:** ✅ Merged **Merged:** 5/30/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `refactor` ← **Head:** `fix/1593-game-narration` --- ### 📝 Commits (1) - [`d4965d8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d4965d8ad90960a1177afbb1d3dcff649aa1bd0f) Reveal completed game narration segments ### 📊 Changes **1 file changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/features/modes/game/components/GameNarration.tsx` (+6 -5) </details> ### 📄 Description ## Summary Fixes #1593. Completed game narration turns now reveal the active segment in full instead of leaving the typewriter partially advanced after generation or regeneration finishes. Streaming turns still type out normally, and instant-reveal settings continue to work. ## Root Cause `GameNarration` initialized and advanced visible character count from the same typewriter path for both active streaming and already-completed assistant turns. After a completed generation, the visible narration could remain at a partial prefix and look like the model output was cut off. ## Validation - `pnpm typecheck` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:13:59 +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#5180
No description provided.