mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3870] [Feature]: Consolidate duplicate contracts and obsolete UI state #2093
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#2093
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?
Originally created by @Xelvanis on GitHub (Jul 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3870
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Several client, server, and shared modules maintain duplicate type declarations, normalizers, preset creation paths, and persisted UI fields for behavior that now has a single canonical owner. The duplicates make contract drift more likely and keep obsolete settings and layout branches alive after their UI consumers have gone away.
Proposed solution
Consolidate the duplicated app-settings, avatar-crop, Spotify-source, and summary-template contracts in the shared package. Remove verified-unused persisted UI settings and the retired vertical Roleplay HUD layout, and route chat-preset imports and duplicates through the normal sanitized creation path.
The cleanup should preserve current rendering, persisted compatibility where still required, Spotify fallback behavior, summary-template normalization, and preset metadata exclusions.
Alternatives considered
Keep local aliases and per-layer normalizers indefinitely. This avoids touching exports but leaves multiple sources of truth and continues carrying settings and branches with no runtime consumer.
Additional context
This is a behavior-preserving maintenance pass. Browser verification should cover desktop/mobile Roleplay HUD popovers, group scenario save/clear behavior, Spotify source selection and malformed-value fallback, current and legacy avatar crops, chat presets, and the New Game setup flow.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: