mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2225] [MERGED] Fix game combat UI regressions #5488
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#5488
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/2225
Author: @cha1latte
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2145-game-combat-ui📝 Commits (3)
90cd6d4Fix game combat UI regressions6b916d0Address combat bark review feedbackf7267e9Keep combat bark display and voice in sync📊 Changes
1 file changed (+237 additions, -30 deletions)
View changed files
📝
src/features/modes/game/components/GameCombatUI.tsx(+237 -30)📄 Description
Linked issue
Closes #2145
Why this change
refactorregressed three legacy presentation behaviors: combatant-matched dialogue barks were moved into one shared panel, action animation pacing became much faster than the readable legacy timings, and large desktop combatant rows clipped fixed-width cards inside anoverflow-hiddenscene.What changed
CombatDialoguePanelfallback so non-combatant speakers still appear.Refactor impact
Primary owner:
src/features/modes/game/components/GameCombatUI.tsx)Impact areas reviewed:
combatDialogue/combatDialogueCuesBoundary notes:
Pressure points touched:
GameCombatUIdesktop combat scene andCombatantCardValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
node scratch\issue-2145-combat-ui-proof.mjsagainst local Vite rendered the realGameCombatUIcomponent with five enemies, three party members, three matched barks, one unmatched dialogue line, and one duplicate-name dialogue line. Result: 8 cards rendered, all card rects stayed within the 1280px viewport, max card width was 86.390625px, two same-speaker barks were both anchored to the same combatant card, the party bark was anchored to its combatant card, anchored barks rendered as buttons, the duplicate-name line stayed in the fallback panel instead of attaching to the wrong card, clicking one anchored bark removed only that bark, and the other barks plus fallback panel stayed visible.git show upstream/refactor:src/features/modes/game/components/GameCombatUI.tsxmatched the pre-fix centeredlines={visibleCombatDialogue}panel,setTimeout(playNextAction, action.reaction ? 1200 : 800), and desktop rowoverflow-hiddenfixed-card layout.pnpm typecheckpassed.pnpm checkpassed, including line endings, architecture, frontendtsc, Rustcargo check, docs, discovery, launcher safety, and unused-code checks.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Before dismissal:
After dismissing one anchored bark:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.