mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1659] [MERGED] Remove unused runtime visuals exports #5191
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#5191
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/1659
Author: @cha1latte
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @cha1latte
Base:
refactor← Head:codex/knip-visuals-export-cleanup📝 Commits (1)
c3fa165Remove unused visuals exports📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
src/features/runtime/visuals/components/SpriteOverlay.tsx(+1 -1)📝
src/features/runtime/visuals/sprite-display-modes.ts(+1 -1)📄 Description
Linked issue
N/A
Why this change
upstream/refactorbaseline after PR #1614 merged.What changed
detectExpressionlocal toSpriteOverlay.tsx.SPRITE_DISPLAY_MODESlocal tosprite-display-modes.tswhile keeping the exportedSpriteDisplayModetype derived from it.Refactor impact
Primary owner:
src/features/runtime/visuals).Impact areas reviewed:
73unused exports and60unused exported types.71unused exports and60unused exported types.detectExpressionandSPRITE_DISPLAY_MODESdisappeared from the Knip unused-export report.rgconfirmed both symbols are only used locally in their owner files.Boundary notes:
Pressure points touched:
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
pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-code; the targeted rows fordetectExpressionandSPRITE_DISPLAY_MODESare gone.pnpm typecheck; it passed.git diff --check; it passed.pnpm buildwas not run because this slice only removes public export markers and did not affect build/import behavior.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A; no visible UI behavior changed.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.