mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1894] [MERGED] Improve refactor build performance #5336
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#5336
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/1894
Author: @TheLonelyDevil9
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @TheLonelyDevil9
Base:
refactor← Head:refactor-build-performance-sweep📝 Commits (2)
5625c5eImprove refactor build performancee3bc279Address lazy overlay and bar edge cases📊 Changes
19 files changed (+323 additions, -218 deletions)
View changed files
📝
CONTRIBUTING.md(+1 -0)📝
README.md(+1 -0)📝
custom_components/marinara_engine/manifest.json(+1 -1)📝
src/features/modes/game-assets/components/AssetGrid.tsx(+2 -10)📝
src/features/modes/game-assets/components/FolderTree.tsx(+1 -1)📝
src/features/modes/game-assets/components/GameAssetsBrowserView.test.tsx(+0 -10)📝
src/features/modes/game-assets/components/GameAssetsBrowserView.tsx(+1 -1)➕
src/features/modes/game/assets.ts(+1 -0)📝
src/features/modes/game/components/GameCharacterSheet.tsx(+20 -9)📝
src/features/modes/game/components/GameCombatUI.tsx(+23 -9)📝
src/features/modes/game/components/GameSurface.tsx(+218 -143)📝
src/features/modes/game/index.ts(+1 -1)📝
src/features/modes/game/lib/game-audio.ts(+12 -2)📝
src/features/modes/shared/chat-ui/components/SummaryPopover.tsx(+28 -22)📝
src/features/runtime/tracker/components/TrackerProfileStats.css(+3 -1)📝
src/features/runtime/tracker/components/quest-tracker/QuestRow.css(+3 -1)📝
src/features/runtime/tracker/components/quest-tracker/QuestRow.tsx(+2 -4)📝
src/features/runtime/tracker/components/tracker-data-sidebar.stats.tsx(+1 -1)📝
src/styles/globals.css(+4 -2)📄 Description
Linked issue
None.
Why this change
Refactor builds were carrying avoidable game-mode bundle weight and layout work in hot UI paths. This change trims initial game-surface payload, avoids layout-bound progress bar animation, and makes branch-specific docs point contributors at the active refactor line.
What changed
GameSurface, including session history, journal, checkpoints, inventory, readable documents, and the first-game tutorial.widthupdates totransform: scaleX(...)updates.audio.play()returns in the game audio unlock path.refactordocs as authoritative for current work and updates the Home Assistant integration docs link to therefactorbranch.Refactor impact
Primary owner:
game mode, game assets, shared mode UI, runtime tracker, repo docs
Impact areas reviewed:
Boundary notes:
Pressure points touched:
GameSurfaceValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
corepack pnpm typecheckcorepack pnpm buildcorepack pnpm test(62test files,240tests)corepack pnpm lint:eslintcorepack pnpm check:docscorepack pnpm check:architecturecorepack pnpm check:unusedcorepack pnpm check:discoverycorepack pnpm check:line-endingscorepack pnpm perf:sizecorepack pnpm exec prettier --check --ignore-unknownon touched filesgit diff --check127.0.0.1:5173, title rendered asMarinara Engine, no browser console errors after boot and shallow Game starter click.origin/refactor:GameSurfacedropped from652.16 kBraw /179.47 kBgzip to588.92 kBraw /165.59 kBgzip, removing the Vite >650 kB chunk warning for that chunk.npx --yes pnpm@10.33.2 checkcompleted line endings, architecture, and frontend, then stopped atcheck:rustbecausecargois not available on PATH in this environment.corepack pnpm typecheck.corepack pnpm test -- src/features/modes/game-assets/components/GameAssetsBrowserView.test.tsx(Vitest ran62test files,240tests).corepack pnpm exec prettier --check --ignore-unknownon touched files.corepack pnpm build.localhost:1420, title rendered asMarinara Engine, and no browser console warnings or errors were reported.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
No screenshot included. The UI-facing changes are progress bar animation internals and lazy-loaded overlays; browser smoke verified app boot and starter Game path without console errors.
Summary by CodeRabbit
Release Notes
Bug Fixes
Performance
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.