mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8322] [MERGED] Game: later turns' buy notices are shown, and a party health widget follows the sheets #8272
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#8272
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/8322
Author: @kolacheee
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @kolacheee
Base:
staging← Head:fix/later-turn-notices-health-widget📝 Commits (4)
5b7624afix(game): a later turn's buys and refusals are announced, whatever an earlier turn announcedf8f502dfeat(game): a party health widget follows the sheets without a widget tag269486cfix(game): a health track names no widget rows; health words in any script; rows of one name settle0c860e5Merge remote-tracking branch 'origin/staging' into fix/later-turn-notices-health-widget📊 Changes
6 files changed (+481 additions, -0 deletions)
View changed files
➕
e2e/game-inventory-later-turn.e2e.ts(+105 -0)➕
e2e/game-widget-health-sync.e2e.ts(+67 -0)📝
packages/client/src/components/game/GameSurface.tsx(+41 -0)📝
packages/shared/src/features/rulesets/combat-bridge.ts(+23 -0)📝
packages/shared/src/utils/game-widget-update.ts(+84 -0)➕
scripts/regressions/game-widget-party-health-sync.regression.ts(+161 -0)📄 Description
Linked issue
Closes #8321
Why this change
What changed
battle.health), a party health widget row is brought to the sheet whenever the sheet or the widgets change: " HP" (or Health, Hit points, Vitality, or the ruleset's own word such as Grit) in any stat block, or the bare name in a widget about health. A row keeps the shape it was written in ("36/36" or a number); a word, an unknown name, or a first name two members share is left alone. The synced widgets are saved, so the GM reads them too. New shared helpers:partyHealthWidgetUpdates,rulesetSheetHealth.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
game-inventory-later-turn(plain and rolled later turn): fails without the fix, passes with it;game-rolled-turn-buysstill passes.game-widget-health-sync(Ember Roads, Juno at 0 Grit, widget seeded at 99/99): the row reads 0/11 on screen and in saved metadata; the Luck row is untouched.game-widget-party-health-sync.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)
None beyond the e2e screenshots.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.