[PR #2550] [MERGED] [codex] Refactor chat settings and assistant workflows #5651

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2550
Author: @SpicyMarinara
Created: 6/13/2026
Status: ✅ Merged
Merged: 6/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/refactor-chat-settings-assistant-workflows


📝 Commits (3)

  • a3a749c Refactor chat settings and assistant workflows
  • 199df61 Show Professor Mari working support
  • 7818749 Address CodeRabbit review suggestions

📊 Changes

96 files changed (+6750 additions, -6516 deletions)

View changed files

📝 CHANGELOG.md (+10 -1)
📝 docs/FRONTEND.md (+3 -10)
📝 packages/client/src/components/agents/RegexScriptEditor.tsx (+31 -0)
📝 packages/client/src/components/agents/ToolEditor.tsx (+42 -1)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+3 -23)
📝 packages/client/src/components/characters/CharacterLibraryView.tsx (+0 -8)
📝 packages/client/src/components/chat/ChatArea.tsx (+1 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+151 -1418)
📝 packages/client/src/components/chat/HomeProfessorMariChat.tsx (+161 -142)
📝 packages/client/src/components/chat/RecentChats.tsx (+12 -10)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+45 -78)
📝 packages/client/src/components/layout/ChatSidebar.tsx (+24 -21)
📝 packages/client/src/components/layout/ModalRenderer.tsx (+0 -18)
📝 packages/client/src/components/layout/TopBar.tsx (+80 -20)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+7 -26)
➖ packages/client/src/components/modals/CharacterMakerModal.tsx (+0 -309)
➖ packages/client/src/components/modals/LorebookMakerModal.tsx (+0 -434)
➖ packages/client/src/components/modals/PersonaMakerModal.tsx (+0 -266)
📝 packages/client/src/components/onboarding/OnboardingTutorial.tsx (+1 -1)
📝 packages/client/src/components/panels/AgentsPanel.tsx (+199 -1)

...and 76 more files

📄 Description

What changed

  • Unified Chat Settings around shared mode capability data and reusable section components.
  • Moved built-in agent metadata and function-call tool definitions into shared feature folders for easier imports.
  • Added shared editor tab rail and JSON download helpers used across editors/panels.
  • Removed the standalone AI Maker modals/routes and the Preset editor AI Review route.
  • Expanded Professor Mari so she can create presets, fetch richer preset context for review, and advertises character cards, personas, lorebooks, chats, and presets.
  • Polished related UI flows including settings organization, import/export actions, topbar responsiveness, avatar previews, and home-page behavior.

Why

This keeps Conversation, Roleplay, and Game settings on one shared structure, reduces duplicated UI/agent metadata, and routes guided AI creation through Professor Mari instead of old standalone maker surfaces.

Validation

  • Ran git diff --check.
  • Ran stale-reference scans for removed AI Maker and Preset AI Review route strings.
  • Ran pnpm check successfully.

Manual verification still needed

  • Manually verify Chat Settings in Conversation, Roleplay, and Game modes.
  • Manually verify Professor Mari can create a preset and fetch/review an existing preset.
  • Manually verify import/export buttons for agents, regexes, functions, extensions, and themes.

No single linked issue covers the full refactor batch; one should be linked before this leaves draft if the project wants issue tracking for this PR.

Summary by CodeRabbit

  • New Features

    • Added export/import functionality for custom agents, tools, and regex scripts.
    • Added preset creation capability through Professor Mari assistant.
    • Improved chat settings organization with modular, capability-driven sections.
  • Bug Fixes

    • Consolidated AI character, persona, and lorebook generation into Professor Mari chat interface.
    • Improved chat sidebar folder visibility logic.
    • Enhanced mobile layout responsiveness for Spotify player integration.
  • Changed

    • Removed standalone "AI Maker" buttons from panels; replaced with import options.
    • Removed deprecated preset review tab and generation routes.
    • Updated UI styling consistency across editor tabs and checkboxes.

🔄 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/2550 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/13/2026 **Status:** ✅ Merged **Merged:** 6/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/refactor-chat-settings-assistant-workflows` --- ### 📝 Commits (3) - [`a3a749c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a3a749c9442dbb98e5c0acfba58ab57fede0405f) Refactor chat settings and assistant workflows - [`199df61`](https://github.com/Pasta-Devs/Marinara-Engine/commit/199df61508edf00ae29adb0209e43ba311c05089) Show Professor Mari working support - [`7818749`](https://github.com/Pasta-Devs/Marinara-Engine/commit/78187494e0c3fabe821b81811a6e1a7f3f602846) Address CodeRabbit review suggestions ### 📊 Changes **96 files changed** (+6750 additions, -6516 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+10 -1) 📝 `docs/FRONTEND.md` (+3 -10) 📝 `packages/client/src/components/agents/RegexScriptEditor.tsx` (+31 -0) 📝 `packages/client/src/components/agents/ToolEditor.tsx` (+42 -1) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+3 -23) 📝 `packages/client/src/components/characters/CharacterLibraryView.tsx` (+0 -8) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+1 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+151 -1418) 📝 `packages/client/src/components/chat/HomeProfessorMariChat.tsx` (+161 -142) 📝 `packages/client/src/components/chat/RecentChats.tsx` (+12 -10) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+45 -78) 📝 `packages/client/src/components/layout/ChatSidebar.tsx` (+24 -21) 📝 `packages/client/src/components/layout/ModalRenderer.tsx` (+0 -18) 📝 `packages/client/src/components/layout/TopBar.tsx` (+80 -20) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+7 -26) ➖ `packages/client/src/components/modals/CharacterMakerModal.tsx` (+0 -309) ➖ `packages/client/src/components/modals/LorebookMakerModal.tsx` (+0 -434) ➖ `packages/client/src/components/modals/PersonaMakerModal.tsx` (+0 -266) 📝 `packages/client/src/components/onboarding/OnboardingTutorial.tsx` (+1 -1) 📝 `packages/client/src/components/panels/AgentsPanel.tsx` (+199 -1) _...and 76 more files_ </details> ### 📄 Description ## What changed - Unified Chat Settings around shared mode capability data and reusable section components. - Moved built-in agent metadata and function-call tool definitions into shared feature folders for easier imports. - Added shared editor tab rail and JSON download helpers used across editors/panels. - Removed the standalone AI Maker modals/routes and the Preset editor AI Review route. - Expanded Professor Mari so she can create presets, fetch richer preset context for review, and advertises character cards, personas, lorebooks, chats, and presets. - Polished related UI flows including settings organization, import/export actions, topbar responsiveness, avatar previews, and home-page behavior. ## Why This keeps Conversation, Roleplay, and Game settings on one shared structure, reduces duplicated UI/agent metadata, and routes guided AI creation through Professor Mari instead of old standalone maker surfaces. ## Validation - Ran `git diff --check`. - Ran stale-reference scans for removed AI Maker and Preset AI Review route strings. - Ran `pnpm check` successfully. ## Manual verification still needed - Manually verify Chat Settings in Conversation, Roleplay, and Game modes. - Manually verify Professor Mari can create a preset and fetch/review an existing preset. - Manually verify import/export buttons for agents, regexes, functions, extensions, and themes. No single linked issue covers the full refactor batch; one should be linked before this leaves draft if the project wants issue tracking for this PR. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added export/import functionality for custom agents, tools, and regex scripts. * Added preset creation capability through Professor Mari assistant. * Improved chat settings organization with modular, capability-driven sections. * **Bug Fixes** * Consolidated AI character, persona, and lorebook generation into Professor Mari chat interface. * Improved chat sidebar folder visibility logic. * Enhanced mobile layout responsiveness for Spotify player integration. * **Changed** * Removed standalone "AI Maker" buttons from panels; replaced with import options. * Removed deprecated preset review tab and generation routes. * Updated UI styling consistency across editor tabs and checkboxes. <!-- 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-22 04:18:10 +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#5651
No description provided.