[PR #4529] [MERGED] Add per-character sprite layouts and polish roleplay overlays #6412

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

📋 Pull Request Information

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

Base: staging ← Head: agent/per-character-sprite-layout


📝 Commits (4)

  • 25dd04f Add per-character sprite layouts and polish roleplay overlays
  • b8478bd Add olud.ai project badge
  • e6cf19a Split oversized chat settings components
  • 3cb7fe6 Address sprite layout review feedback

📊 Changes

17 files changed (+1214 additions, -741 deletions)

View changed files

📝 README.md (+4 -0)
➕ packages/client/src/components/chat/AgentPromptTemplateSelect.tsx (+50 -0)
📝 packages/client/src/components/chat/ChatArea.tsx (+77 -25)
📝 packages/client/src/components/chat/ChatCommonOverlays.tsx (+12 -14)
📝 packages/client/src/components/chat/ChatConversationSurface.tsx (+1 -1)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+51 -46)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+217 -591)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+29 -35)
➕ packages/client/src/components/chat/ExpressionSpriteSettings.tsx (+447 -0)
➕ packages/client/src/components/chat/HapticConnectionPanel.tsx (+164 -0)
📝 packages/client/src/components/chat/SpriteOverlay.tsx (+53 -18)
📝 packages/client/src/components/chat/local-sprite-visual-settings.ts (+63 -1)
📝 packages/client/src/components/chat/sprite-placement.ts (+23 -4)
📝 packages/client/src/components/layout/AppShell.tsx (+1 -2)
📝 packages/client/src/localization/locales/en.json (+4 -0)
📝 packages/shared/src/types/chat-preset.ts (+1 -0)
📝 packages/shared/src/types/chat.ts (+17 -4)

📄 Description

Why

Sprite side, size, and opacity were chat-wide only, making multi-character roleplay scenes difficult to compose. Releasing a dragged full-body sprite also briefly restored its stale position before the saved placement arrived. The right-side Roleplay tracker and Echo Chamber spacing were inconsistent with their left-side layouts.

No linked issue currently tracks this feature request; one should be opened before merge if maintainers require issue linkage.

What changed

  • Add one Apply to selector with All as the default plus each enabled character or persona.
  • Store sparse per-character side, expression/full-body size, and opacity overrides that inherit chat-wide values.
  • Mirror saved placements only for subjects whose side actually changes.
  • Persist drag placements immediately and keep the final pointer coordinate synchronized, eliminating release snap-back.
  • Remove the tracker right-side scrollbar clearance and keep Echo Chamber at a symmetric 16 px desktop inset.

Validation

  • pnpm check (passed)
  • pnpm smoke:ui was started but intentionally stopped during the broad 286-test suite at the maintainer request; it was not used as a passing gate.

Manual verification

  • Manually verify Apply to defaults to All and lists each enabled sprite owner.
  • Manually verify per-character side, size, and opacity overrides do not change other sprites.
  • Manually verify Use All settings removes a character override.
  • Manually verify releasing an arranged full-body sprite does not snap back.
  • Manually verify the right tracker is flush to the edge, the chat scrollbar stays beneath it, and Echo Chamber uses matching left/right margins.

Summary by CodeRabbit

  • New Features

    • Added per-character sprite controls for position, scale, opacity, side selection, mirroring, and reset-to-global settings.
    • Sprite placement changes now save immediately.
    • Added localized controls for sprite layouts and character selection.
    • Added haptic connection settings with device scanning, connection status, and capability display.
    • Added a prompt-template selector for chats with multiple options.
  • Documentation

    • Added an olud.ai project badge and link to the README.

🔄 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/4529 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/3/2026 **Status:** ✅ Merged **Merged:** 8/3/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/per-character-sprite-layout` --- ### 📝 Commits (4) - [`25dd04f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/25dd04fb932adf752cfe98a1c1a0a2a16615336e) Add per-character sprite layouts and polish roleplay overlays - [`b8478bd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b8478bd0d19e8177b133949b139d0165b4a4a0da) Add olud.ai project badge - [`e6cf19a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e6cf19ac0785281b2016863119523a6869c620e8) Split oversized chat settings components - [`3cb7fe6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3cb7fe634e5f9d8177a73c20d5a7a4c27d0d5464) Address sprite layout review feedback ### 📊 Changes **17 files changed** (+1214 additions, -741 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+4 -0) ➕ `packages/client/src/components/chat/AgentPromptTemplateSelect.tsx` (+50 -0) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+77 -25) 📝 `packages/client/src/components/chat/ChatCommonOverlays.tsx` (+12 -14) 📝 `packages/client/src/components/chat/ChatConversationSurface.tsx` (+1 -1) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+51 -46) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+217 -591) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+29 -35) ➕ `packages/client/src/components/chat/ExpressionSpriteSettings.tsx` (+447 -0) ➕ `packages/client/src/components/chat/HapticConnectionPanel.tsx` (+164 -0) 📝 `packages/client/src/components/chat/SpriteOverlay.tsx` (+53 -18) 📝 `packages/client/src/components/chat/local-sprite-visual-settings.ts` (+63 -1) 📝 `packages/client/src/components/chat/sprite-placement.ts` (+23 -4) 📝 `packages/client/src/components/layout/AppShell.tsx` (+1 -2) 📝 `packages/client/src/localization/locales/en.json` (+4 -0) 📝 `packages/shared/src/types/chat-preset.ts` (+1 -0) 📝 `packages/shared/src/types/chat.ts` (+17 -4) </details> ### 📄 Description ## Why Sprite side, size, and opacity were chat-wide only, making multi-character roleplay scenes difficult to compose. Releasing a dragged full-body sprite also briefly restored its stale position before the saved placement arrived. The right-side Roleplay tracker and Echo Chamber spacing were inconsistent with their left-side layouts. No linked issue currently tracks this feature request; one should be opened before merge if maintainers require issue linkage. ## What changed - Add one `Apply to` selector with `All` as the default plus each enabled character or persona. - Store sparse per-character side, expression/full-body size, and opacity overrides that inherit chat-wide values. - Mirror saved placements only for subjects whose side actually changes. - Persist drag placements immediately and keep the final pointer coordinate synchronized, eliminating release snap-back. - Remove the tracker right-side scrollbar clearance and keep Echo Chamber at a symmetric 16 px desktop inset. ## Validation - `pnpm check` (passed) - `pnpm smoke:ui` was started but intentionally stopped during the broad 286-test suite at the maintainer request; it was not used as a passing gate. ## Manual verification - [ ] Manually verify `Apply to` defaults to `All` and lists each enabled sprite owner. - [ ] Manually verify per-character side, size, and opacity overrides do not change other sprites. - [ ] Manually verify `Use All settings` removes a character override. - [ ] Manually verify releasing an arranged full-body sprite does not snap back. - [ ] Manually verify the right tracker is flush to the edge, the chat scrollbar stays beneath it, and Echo Chamber uses matching left/right margins. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added per-character sprite controls for position, scale, opacity, side selection, mirroring, and reset-to-global settings. * Sprite placement changes now save immediately. * Added localized controls for sprite layouts and character selection. * Added haptic connection settings with device scanning, connection status, and capability display. * Added a prompt-template selector for chats with multiple options. * **Documentation** * Added an olud.ai project badge and link to the README. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:10:11 +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#6412
No description provided.