[PR #5063] [MERGED] refactor: remove roleplay popover style aliases #6609

Closed
opened 2026-10-23 04:12:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5063
Author: @Xelvanis
Created: 8/15/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @SpicyMarinara

Base: staging ← Head: cleanup/roleplay-popover-aliases


📝 Commits (1)

  • 627a320 refactor: remove roleplay popover style aliases

📊 Changes

16 files changed (+165 additions, -174 deletions)

View changed files

📝 packages/client/src/components/chat/ActiveLorebookEntriesButton.tsx (+6 -6)
📝 packages/client/src/components/chat/ChatBranchSelector.tsx (+13 -13)
📝 packages/client/src/components/chat/ChatGalleryDrawer.tsx (+13 -13)
📝 packages/client/src/components/chat/ChatMessageSearch.tsx (+11 -11)
📝 packages/client/src/components/chat/ChatRoleplayPanels.tsx (+12 -12)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+16 -16)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+13 -13)
📝 packages/client/src/components/chat/ChatToolbarControls.tsx (+2 -2)
📝 packages/client/src/components/chat/ConversationPresenceCard.tsx (+11 -11)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+3 -3)
📝 packages/client/src/components/chat/RoleplayHUD.tsx (+5 -5)
📝 packages/client/src/components/chat/RoleplayHUDPanels.tsx (+15 -15)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+14 -14)
➖ packages/client/src/components/chat/roleplay-popover-styles.ts (+0 -9)
📝 packages/client/src/components/game/GameSurface.tsx (+24 -24)
📝 packages/client/src/components/game/GameVolumeMixer.tsx (+7 -7)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #5061

Why this change

  • The ROLEPLAY_POPOVER_* module no longer owns distinct styles; it only renames the canonical neutral panel bindings.
  • Removing the forwarding layer gives these shared styles one direct owner and avoids suggesting a Roleplay-specific policy that does not exist.

What changed

  • Migrated all 15 Chat and Game consumers to direct NEUTRAL_PANEL_* imports.
  • Replaced all seven legacy alias names one-for-one without changing surrounding class strings.
  • Deleted packages/client/src/components/chat/roleplay-popover-styles.ts.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Automated evidence: pnpm check and git diff --check passed on commit 627a320ea; tracked searches find no old alias or import path. An independent review approved the exact patch with no actionable findings.

Manual verification notes

  • No browser run was performed. The change imports the same side-effect-free string bindings under their canonical names, and independent byte-for-byte reconstruction found no other source change.
  • If desired before merge, manually open representative Chat and Game popovers and confirm their appearance remains unchanged.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

No docs, changelog, translation, or version change is needed because this is an internal mechanical refactor with no product or contributor-workflow impact.

UI evidence (if applicable)

Not applicable: the canonical imported bindings and rendered class strings are unchanged.

Summary by CodeRabbit

  • Style
    • Updated chat and game panels, drawers, popovers, menus, and dialogs with a consistent neutral-surface visual style.
    • Improved visual consistency across headers, titles, subtitles, close controls, scroll areas, and panel shells.
    • Preserved existing layouts, interactions, and functionality.

Owner verification: the exact head commit was reviewed and approved by SpicyMarinara; this edit refreshes the repository approval evaluator.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/5063 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 8/15/2026 **Status:** ✅ Merged **Merged:** 8/15/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `cleanup/roleplay-popover-aliases` --- ### 📝 Commits (1) - [`627a320`](https://github.com/Pasta-Devs/Marinara-Engine/commit/627a320ea3af8883171d9538793b9af9e6922f9b) refactor: remove roleplay popover style aliases ### 📊 Changes **16 files changed** (+165 additions, -174 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/ActiveLorebookEntriesButton.tsx` (+6 -6) 📝 `packages/client/src/components/chat/ChatBranchSelector.tsx` (+13 -13) 📝 `packages/client/src/components/chat/ChatGalleryDrawer.tsx` (+13 -13) 📝 `packages/client/src/components/chat/ChatMessageSearch.tsx` (+11 -11) 📝 `packages/client/src/components/chat/ChatRoleplayPanels.tsx` (+12 -12) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+16 -16) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+13 -13) 📝 `packages/client/src/components/chat/ChatToolbarControls.tsx` (+2 -2) 📝 `packages/client/src/components/chat/ConversationPresenceCard.tsx` (+11 -11) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+3 -3) 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+5 -5) 📝 `packages/client/src/components/chat/RoleplayHUDPanels.tsx` (+15 -15) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+14 -14) ➖ `packages/client/src/components/chat/roleplay-popover-styles.ts` (+0 -9) 📝 `packages/client/src/components/game/GameSurface.tsx` (+24 -24) 📝 `packages/client/src/components/game/GameVolumeMixer.tsx` (+7 -7) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #5061 ## Why this change - The `ROLEPLAY_POPOVER_*` module no longer owns distinct styles; it only renames the canonical neutral panel bindings. - Removing the forwarding layer gives these shared styles one direct owner and avoids suggesting a Roleplay-specific policy that does not exist. ## What changed - Migrated all 15 Chat and Game consumers to direct `NEUTRAL_PANEL_*` imports. - Replaced all seven legacy alias names one-for-one without changing surrounding class strings. - Deleted `packages/client/src/components/chat/roleplay-popover-styles.ts`. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` Automated evidence: `pnpm check` and `git diff --check` passed on commit `627a320ea`; tracked searches find no old alias or import path. An independent review approved the exact patch with no actionable findings. ### Manual verification notes - No browser run was performed. The change imports the same side-effect-free string bindings under their canonical names, and independent byte-for-byte reconstruction found no other source change. - If desired before merge, manually open representative Chat and Game popovers and confirm their appearance remains unchanged. ## Docs and release impact - [x] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) No docs, changelog, translation, or version change is needed because this is an internal mechanical refactor with no product or contributor-workflow impact. ## UI evidence (if applicable) Not applicable: the canonical imported bindings and rendered class strings are unchanged. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Updated chat and game panels, drawers, popovers, menus, and dialogs with a consistent neutral-surface visual style. * Improved visual consistency across headers, titles, subtitles, close controls, scroll areas, and panel shells. * Preserved existing layouts, interactions, and functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Owner verification: the exact head commit was reviewed and approved by SpicyMarinara; this edit refreshes the repository approval evaluator. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:12:02 +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#6609
No description provided.