[PR #5444] [MERGED] fix(ui): unify Chat Settings agent controls #6767

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

📋 Pull Request Information

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

Base: staging ← Head: fix/unified-chat-settings-5443


📝 Commits (2)

  • c741372 fix(ui): unify chat settings agent controls
  • 58e5408 fix(ui): mute idle haptic status

📊 Changes

12 files changed (+423 additions, -429 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/chat/AgentSettingsControls.tsx (+26 -1)
📝 packages/client/src/components/chat/BeholderChatSettingsPanel.tsx (+4 -4)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+215 -240)
📝 packages/client/src/components/chat/ExpressionSpriteSettings.tsx (+28 -84)
📝 packages/client/src/components/chat/HapticConnectionPanel.tsx (+23 -13)
📝 packages/client/src/components/chat/StoryboardChatSettingsPanel.tsx (+5 -12)
📝 packages/client/src/components/ui/MacroTextarea.tsx (+10 -3)
📝 packages/client/src/features/chat-settings/sections/ImpersonatePromptTemplateField.tsx (+33 -71)
📝 packages/client/src/lib/agent-settings-order.ts (+7 -1)
📝 packages/client/src/styles/globals.css (+67 -0)
📝 scripts/regressions/agent-registry-hydration.regression.ts (+4 -0)

📄 Description

Fixes #5443

Why

Chat Settings accumulated one-off button, toggle, segmented-control, and prompt-field styles. This made agent menus visually inconsistent and left several active agents nested inside add-agent categories instead of giving them the same standalone settings treatment.

What changed

  • Add one shared compact action primitive and reuse the existing shared toggle and segmented controls across the requested agent menus.
  • Give active Memory Nag, World Maps, Beholder, Storyboards, and Long-Term Memory standalone collapsible Roleplay cards above the add-agent categories.
  • Move Game Storyboards into its own collapsible card when active.
  • Replace the Memory Nag brain with a speaking-thought icon.
  • Normalize Card Evolution Auditor, Expression Engine, Music DJ, Illustrator, Lorebook Keeper, Storyboards, Beholder, and Haptic Feedback actions.
  • Make Haptic incidental contact use the established toggle and use the configured color for both connection outcomes.
  • Make Impersonate use the standard expandable Macro field and shared compact actions.
  • Replace amber agent-cost information styling with the configured color.

Validation

  • pnpm check
  • node ./scripts/run-regressions.mjs --filter scripts/regressions/agent-registry-hydration.regression.ts

Manual verification

  • Verify each requested active agent card expands, collapses, and removes correctly in Roleplay Chat Settings.
  • Verify Storyboards has a standalone active card in Game Chat Settings.
  • Verify Impersonate Expand and Macros controls and all template actions on desktop and mobile.
  • Verify Haptic status, sensitivity, and incidental-contact controls with the configured theme colors.
  • Verify Memory Nag 1.0.5 actions with Pasta-Devs/Marinara-Agents#522.

Cross-repository package PR: Pasta-Devs/Marinara-Agents#522.

Summary by CodeRabbit

  • New Features
    • Unified Chat Settings controls with consistent buttons, segmented controls, and styling.
    • Added standalone settings cards for maps, memory, storyboard, Beholder, and downloaded capabilities.
    • Standardized expandable macro prompts, including read-only editing support.
    • Improved expression, sprite, haptic connection, and storyboard settings controls.
  • Bug Fixes
    • Improved agent settings organization and visibility across roleplay and game agents.
    • Corrected high-cost agent indicators and memory-related settings behavior.
  • Tests
    • Added regression coverage for standalone agent settings.

🔄 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/5444 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/23/2026 **Status:** ✅ Merged **Merged:** 8/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/unified-chat-settings-5443` --- ### 📝 Commits (2) - [`c741372`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c741372b0c44495d45df3f1b20788b2cd14f9c59) fix(ui): unify chat settings agent controls - [`58e5408`](https://github.com/Pasta-Devs/Marinara-Engine/commit/58e540887437b907e13ff55e7f17836a2da86c8c) fix(ui): mute idle haptic status ### 📊 Changes **12 files changed** (+423 additions, -429 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/chat/AgentSettingsControls.tsx` (+26 -1) 📝 `packages/client/src/components/chat/BeholderChatSettingsPanel.tsx` (+4 -4) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+215 -240) 📝 `packages/client/src/components/chat/ExpressionSpriteSettings.tsx` (+28 -84) 📝 `packages/client/src/components/chat/HapticConnectionPanel.tsx` (+23 -13) 📝 `packages/client/src/components/chat/StoryboardChatSettingsPanel.tsx` (+5 -12) 📝 `packages/client/src/components/ui/MacroTextarea.tsx` (+10 -3) 📝 `packages/client/src/features/chat-settings/sections/ImpersonatePromptTemplateField.tsx` (+33 -71) 📝 `packages/client/src/lib/agent-settings-order.ts` (+7 -1) 📝 `packages/client/src/styles/globals.css` (+67 -0) 📝 `scripts/regressions/agent-registry-hydration.regression.ts` (+4 -0) </details> ### 📄 Description Fixes #5443 Why Chat Settings accumulated one-off button, toggle, segmented-control, and prompt-field styles. This made agent menus visually inconsistent and left several active agents nested inside add-agent categories instead of giving them the same standalone settings treatment. What changed - Add one shared compact action primitive and reuse the existing shared toggle and segmented controls across the requested agent menus. - Give active Memory Nag, World Maps, Beholder, Storyboards, and Long-Term Memory standalone collapsible Roleplay cards above the add-agent categories. - Move Game Storyboards into its own collapsible card when active. - Replace the Memory Nag brain with a speaking-thought icon. - Normalize Card Evolution Auditor, Expression Engine, Music DJ, Illustrator, Lorebook Keeper, Storyboards, Beholder, and Haptic Feedback actions. - Make Haptic incidental contact use the established toggle and use the configured color for both connection outcomes. - Make Impersonate use the standard expandable Macro field and shared compact actions. - Replace amber agent-cost information styling with the configured color. Validation - pnpm check - node ./scripts/run-regressions.mjs --filter scripts/regressions/agent-registry-hydration.regression.ts Manual verification - [ ] Verify each requested active agent card expands, collapses, and removes correctly in Roleplay Chat Settings. - [ ] Verify Storyboards has a standalone active card in Game Chat Settings. - [ ] Verify Impersonate Expand and Macros controls and all template actions on desktop and mobile. - [ ] Verify Haptic status, sensitivity, and incidental-contact controls with the configured theme colors. - [ ] Verify Memory Nag 1.0.5 actions with Pasta-Devs/Marinara-Agents#522. Cross-repository package PR: Pasta-Devs/Marinara-Agents#522. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Unified Chat Settings controls with consistent buttons, segmented controls, and styling. * Added standalone settings cards for maps, memory, storyboard, Beholder, and downloaded capabilities. * Standardized expandable macro prompts, including read-only editing support. * Improved expression, sprite, haptic connection, and storyboard settings controls. * **Bug Fixes** * Improved agent settings organization and visibility across roleplay and game agents. * Corrected high-cost agent indicators and memory-related settings behavior. * **Tests** * Added regression coverage for standalone agent settings. <!-- 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:13:32 +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#6767
No description provided.