[GH-ISSUE #5061] [Feature]: Remove redundant roleplay popover style aliases #2799

Closed
opened 2026-10-21 05:55:44 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Xelvanis on GitHub (Aug 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5061

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Chat and Game popovers still import seven legacy ROLEPLAY_POPOVER_* names from a forwarding-only module even though each name is an exact re-export of the canonical NEUTRAL_PANEL_* binding. The extra naming/module layer has no distinct styling policy and creates another surface that can drift or mislead future maintenance.

Proposed solution

Migrate every current consumer directly to the corresponding NEUTRAL_PANEL_* binding and delete the side-effect-free forwarding module. Preserve all surrounding class strings and rendered behavior.

Alternatives considered

Retain the aliases as a semantic Roleplay boundary. This was rejected because Chat and Game components already import the neutral bindings directly, the aliases have had no distinct values since PR #2562, and no supported extension or published package contract uses the forwarding module.

Additional context

The change is mechanical and user-invisible: 15 consumers map one-for-one to the same seven string bindings. Focused lint, full pnpm check, exact tracked searches, static reconstruction, and independent review pass.

@Xelvanis owns the implementation on cleanup/roleplay-popover-aliases.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Xelvanis on GitHub (Aug 15, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5061 Originally assigned to: @SpicyMarinara on GitHub. <!-- task-id: roleplay-popover-alias-cleanup --> ## What problem does this solve? Chat and Game popovers still import seven legacy `ROLEPLAY_POPOVER_*` names from a forwarding-only module even though each name is an exact re-export of the canonical `NEUTRAL_PANEL_*` binding. The extra naming/module layer has no distinct styling policy and creates another surface that can drift or mislead future maintenance. ## Proposed solution Migrate every current consumer directly to the corresponding `NEUTRAL_PANEL_*` binding and delete the side-effect-free forwarding module. Preserve all surrounding class strings and rendered behavior. ## Alternatives considered Retain the aliases as a semantic Roleplay boundary. This was rejected because Chat and Game components already import the neutral bindings directly, the aliases have had no distinct values since PR #2562, and no supported extension or published package contract uses the forwarding module. ## Additional context The change is mechanical and user-invisible: 15 consumers map one-for-one to the same seven string bindings. Focused lint, full `pnpm check`, exact tracked searches, static reconstruction, and independent review pass. @Xelvanis owns the implementation on `cleanup/roleplay-popover-aliases`. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:55:44 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2799
No description provided.