mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8031] [MERGED] perf(game): format Session Log text once and open long logs on their newest page #8062
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#8062
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8031
Author: @kolacheee
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @kolacheee
Base:
staging← Head:claude/project-thread-23tuwp📝 Commits (4)
be2f0ceperf(game): format Session Log text once and open long logs on their newest page11bd0d4Merge staging32333e3fix(game): clear cached narration HTML when the language or a translation changesd3e8864docs(game): name what cached narration HTML depends on📊 Changes
5 files changed (+175 additions, -25 deletions)
View changed files
➕
e2e/game-log-page.e2e.ts(+73 -0)📝
packages/client/src/components/game/GameNarration.tsx(+24 -25)➕
packages/client/src/components/game/narration-html-cache.ts(+31 -0)➕
scripts/regressions/game-narration-html-cache.regression.ts(+46 -0)📝
scripts/regressions/tsconfig.client-lanes.json(+1 -0)📄 Description
Linked issue
Closes #8030
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
e2e/game-log-page.e2e.ts: a 30-turn game with Messages per page at 0 opens its log on "Showing 20 of 30", and All shows every turn. It fails on staging and passes with this change on mobile-chromium and desktop-chromium.e2e/game-log-overflow.e2e.ts,game-native-dice,game-one-request-dice,game-turn-macrosandgame-verb-only-turnpass on desktop-chromium.game-widget-styletimes out in this container on plain staging as well.tsc --noEmit, ESLint and Prettier are clean on the changed files.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.