[GH-ISSUE #5927] The game surface's hidden-row filter covers one reader; its siblings still see raw rows #3278

Closed
opened 2026-10-21 06:01:36 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kolacheee on GitHub (Sep 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5927

Originally assigned to: @SpicyMarinara on GitHub.

The game surface now filters hidden and empty rows in one place but not the others, so
its own views disagree about whether those rows exist. The present-mode narration pick
skips them (that was the fix that keeps a hidden anchor from blanking the panel), but
three sibling readers in packages/client/src/components/game/ still read the raw
list: GameSurface.tsx keeps its own unfiltered latest-assistant lookups
(~:3250 and :3964 on the GM verb runtime branch), so after a command-only turn the
panel shows the previous narration while progress-restore, storyboards and the
return-to-pre-combat jump all target the invisible anchor row instead; and the Logs
modal (
:2506) still lists hidden non-empty rows that the flattened log view no longer
shows — the same leak, half closed, with the two log views now inconsistent with each
other.

None of this is a regression — every one of these readers pointed at whatever the
newest raw row was before the filter existed — but the filter's arrival makes the
divergence visible and worth settling deliberately: one shared "rows a player can see"
selector for the game surface, used by the narration pick, the auxiliary
latest-assistant lookups, and both log views, in the way the Roleplay and Conversation
surfaces already funnel through their own visibility filters
(ChatRoleplaySurface.tsx:2247, ConversationView.tsx:837).

Originally created by @kolacheee on GitHub (Sep 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5927 Originally assigned to: @SpicyMarinara on GitHub. The game surface now filters hidden and empty rows in one place but not the others, so its own views disagree about whether those rows exist. The present-mode narration pick skips them (that was the fix that keeps a hidden anchor from blanking the panel), but three sibling readers in `packages/client/src/components/game/` still read the raw list: `GameSurface.tsx` keeps its own unfiltered latest-assistant lookups (~:3250 and ~:3964 on the GM verb runtime branch), so after a command-only turn the panel shows the previous narration while progress-restore, storyboards and the return-to-pre-combat jump all target the invisible anchor row instead; and the Logs modal (~:2506) still lists hidden non-empty rows that the flattened log view no longer shows — the same leak, half closed, with the two log views now inconsistent with each other. None of this is a regression — every one of these readers pointed at whatever the newest raw row was before the filter existed — but the filter's arrival makes the divergence visible and worth settling deliberately: one shared "rows a player can see" selector for the game surface, used by the narration pick, the auxiliary latest-assistant lookups, and both log views, in the way the Roleplay and Conversation surfaces already funnel through their own visibility filters (`ChatRoleplaySurface.tsx:2247`, `ConversationView.tsx:837`).
bsakaguchi 2026-10-21 06:01:36 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 8, 2026):

Codex is taking #5926 and #5927 for @SpicyMarinara. The draft targets staging and keeps command-only regenerations on the existing message/swipe while making Game narration and its sibling readers agree about hidden rows.

<!-- gh-comment-id:5592298256 --> @SpicyMarinara commented on GitHub (Sep 8, 2026): Codex is taking #5926 and #5927 for @SpicyMarinara. The draft targets `staging` and keeps command-only regenerations on the existing message/swipe while making Game narration and its sibling readers agree about hidden rows.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 8, 2026):

Resolved by #5975, merged into staging. Game narration, latest-turn readers and logs share the visibility predicate. The desktop browser regression verifies that hidden continuity notes stay out of session logs.

<!-- gh-comment-id:5592606614 --> @SpicyMarinara commented on GitHub (Sep 8, 2026): Resolved by #5975, merged into staging. Game narration, latest-turn readers and logs share the visibility predicate. The desktop browser regression verifies that hidden continuity notes stay out of session logs.
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#3278
No description provided.