mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1780] [MERGED] Remove explicit any types from UI cleanup paths #5280
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#5280
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/1780
Author: @Xelvanis
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/ui-explicit-any-types📝 Commits (2)
e9d54d2Remove explicit any types from UI cleanup paths8c1ff19Address UI cleanup review findings📊 Changes
16 files changed (+190 additions, -104 deletions)
View changed files
📝
src/engine/agents-runtime/pipeline/agent-pipeline.ts(+11 -1)📝
src/engine/contracts/types/agent.ts(+2 -3)📝
src/features/catalog/characters/components/CharacterEditor.tsx(+3 -2)📝
src/features/catalog/characters/components/CharacterSpritesTab.tsx(+11 -14)📝
src/features/catalog/personas/components/sprites/PersonaSpritesTab.tsx(+10 -13)📝
src/features/catalog/presets/components/ChoiceSelectionModal.tsx(+42 -27)📝
src/features/catalog/presets/components/PresetsPanel.tsx(+15 -5)📝
src/features/catalog/presets/hooks/use-presets.ts(+25 -9)➕
src/features/catalog/presets/lib/choice-selections.ts(+15 -0)📝
src/features/modes/roleplay/hooks/use-scene.ts(+18 -2)📝
src/features/shell/connections/components/ConnectionsPanel.tsx(+1 -1)📝
src/features/shell/settings/components/SettingsPanel.tsx(+8 -2)📝
src/shared/components/ui/SpriteFrameEditor.tsx(+5 -4)📝
src/shared/components/ui/SpriteGenerationModal.tsx(+10 -17)📝
src/shared/components/ui/sprite-wand-cleanup/useSpriteCleanupEditor.ts(+5 -4)➕
src/shared/lib/error-message.ts(+9 -0)📄 Description
Linked issue
N/A
Why this change
anyusage before stricter linting by replacing local casts with typed guards and shared error-message helpers.What changed
anycallbacks/casts in character save, shell settings/connections, roleplay scene cache updates, and agent pipeline result handling.Refactor impact
Primary owner:
Catalog UI, shared UI helpers, shell UI, roleplay hook, and engine agent contracts.
Impact areas reviewed:
Boundary notes:
src/shared/lib.Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm checkpassed locally.pnpm typecheckpassed locally before the full gate.pnpm check:architecturepassed locally before the full gate.git diff --checkpassed locally.anygrep returned no hits.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.mdNo docs or release-note changes needed; this is internal type-safety cleanup and does not change user-facing documentation or release claims.
UI evidence
N/A; no visible UI behavior change claimed.
Summary by CodeRabbit
Release Notes
Bug Fixes
Refactor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.