mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5209] Game Mode: let the narration box be collapsed #2880
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2880
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Aug 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5209
Originally assigned to: @kolacheee on GitHub.
Problem
In Game Mode the narration box occupies the bottom third of the screen and cannot be collapsed. That is fine when the narration is the game, but it is a real cost whenever there is something to look at behind it:
There is no per-user or per-turn way to reclaim that space today.
Request
A first-class collapse/expand control on the narration panel — a chevron in the existing meta row (beside Logs / Inventory / Combat / Next) that collapses the panel down to a slim persistent handle, and expands it again from that handle.
Suggested semantics:
Optionally, let a capability package request the collapsed default via its existing chrome declaration (
ExperienceChromeDeclaration), since an Experience that owns the whole screen usually wants the world visible first. Not required for the feature to be useful.What collapsing the prose alone looks like
This was the original shape of this request, and playtesting it says it is not enough. Hiding only the prose leaves the
NARRATIONlabel, the Generation failed row with its Retry button, and the full meta button row sitting in an otherwise empty panel — visually it still reads as the narration box, and it reclaims comparatively little of the screen. Hence the change above to collapsing the panel with a handle plus an attention indicator.Why this is not just a package concern
I tried to do it entirely from a package first (Pixelforge). The engine deliberately supports reaching the shared chrome via
contributions.gameSurface.surfaceClass, and ships inert theming hooks (experience-dialogue-wrap,experience-dialogue-bubble) for exactly this. Two things make the package-side version unsatisfying:game-narration-prose), which is not a contract and can change under the package at any time.data-tour="game-dialogue"— a product-tour attribute, also not a styling contract. And a package cannot restore the safety it just removed, because there is nogenerationFailedsignal inexperienceSurfacePropsfor it to build an indicator from.So a package can approximate this, but only by depending on engine internals, and it cannot make the collapsed state safe. A built-in control is both more robust and useful to users who have no packages installed at all.
Notes
Relevant code:
packages/client/src/components/game/GameNarration.tsx(panel wrapper at thedata-tour="game-dialogue"element, meta row, the generation/scene failure banners,inputSlot) andpackages/client/src/components/game/GameSurface.tsx(both<GameNarration>call sites and theExperienceChromeDeclarationtype).Raised from live playtesting of the Pixelforge Experience, but the ask is deliberately scoped to the engine's own UI rather than to that package.