mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1630] [MERGED] Triage non-GameSurface hook dependency warnings #5161
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#5161
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/1630
Author: @Xelvanis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/eslint-hooks-deps-triage-2026-05-30📝 Commits (2)
167b442Triage non-GameSurface hook dependency warningse1b0c06Stabilize roleplay expression avatar sprite data📊 Changes
9 files changed (+111 additions, -95 deletions)
View changed files
📝
src/app/shell/AppShell.tsx(+11 -5)📝
src/app/shell/ChatSidebar.tsx(+1 -1)📝
src/features/catalog/lorebooks/components/LorebookEditor.tsx(+4 -3)📝
src/features/modes/conversation/hooks/autonomous/use-autonomous-messaging.ts(+52 -49)📝
src/features/modes/game/components/GameConversationView.tsx(+6 -11)📝
src/features/modes/game/components/GameNodeMap.tsx(+6 -4)📝
src/features/modes/roleplay/components/RoleplayModeRoute.tsx(+16 -13)📝
src/features/modes/shared/chat-ui/hooks/use-chat-metadata-sync.ts(+3 -2)📝
src/features/runtime/visuals/components/SpriteOverlay.tsx(+12 -7)📄 Description
Linked issue
Part of #1619
Why this change
exhaustive-depstriage by clearing the lower-risk warnings outside the broadGameSurfacecomponent.What changed
useQueriesreturned a fresh result array.GameSurfacehook warnings for a separate focused branch because that component is a known broad pressure point.Refactor impact
Primary owner:
React UI hook hygiene across app shell, catalog, chat, roleplay, game, shared mode UI, and runtime visuals
Impact areas reviewed:
Boundary notes:
Pressure points touched:
GameSurfaceintentionally not touched; its 10 remaining hook warnings stay isolated for the next slice.use-chat-metadata-sync.tsfor cleanup ref capture only.Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
RoleplayModeRoute: still valid; fixed in commite1b0c068.pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-before-hooks-deps.jsonbefore the change: 0 errors, 25 warnings across 10 files.pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-after-hooks-deps-slice-coderabbit.jsonafter the latest fix: 0 errors, 10 warnings across 1 file; all remaining warnings arereact-hooks/exhaustive-depsinGameSurface.pnpm lintpnpm typecheckpnpm check:architecturepnpm check:docspnpm check:unusedpnpm testpassed: 78 files, 489 tests.pnpm buildpassed; Vite emitted the existing large-chunk warning.git diff --checkpassed with the existing CRLF warning for the touched file.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo changelog update: this is internal hook-lint cleanup, and this branch does not currently have a
CHANGELOG.mdfile.UI evidence
N/A; no visible UI changes and no manual app QA was run.
Summary by CodeRabbit
Release Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.