[PR #85] [MERGED] Core safety and UX hardening #4453

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/85
Author: @TheLonelyDevil9
Created: 4/14/2026
Status: ✅ Merged
Merged: 4/16/2026
Merged by: @SpicyMarinara

Base: main ← Head: codex/core-safety-and-ux


📝 Commits (4)

  • e5a9e3a core: harden setup flows and low-risk UX polish
  • e447114 import: expand bulk workflows and preserve source metadata
  • 241eab5 Merge pull request #86 from Pasta-Devs/codex/import-export-and-library-workflows
  • 6843bfd Merge origin/main into codex/core-safety-and-ux

📊 Changes

50 files changed (+3620 additions, -1012 deletions)

View changed files

📝 packages/client/src/App.tsx (+2 -9)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+83 -2)
📝 packages/client/src/components/chat/ChatArea.tsx (+199 -127)
📝 packages/client/src/components/chat/ChatConversationSurface.tsx (+2 -2)
📝 packages/client/src/components/chat/ChatMessage.tsx (+37 -6)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+4 -2)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+8 -8)
📝 packages/client/src/components/chat/ConversationMessage.tsx (+18 -5)
📝 packages/client/src/components/chat/ConversationView.tsx (+3 -2)
➕ packages/client/src/components/chat/NewChatConnectionGate.tsx (+150 -0)
📝 packages/client/src/components/chat/chat-area.types.ts (+7 -0)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+6 -4)
📝 packages/client/src/components/layout/AppShell.tsx (+77 -6)
📝 packages/client/src/components/layout/ChatSidebar.tsx (+12 -1)
📝 packages/client/src/components/modals/ImportCharacterModal.tsx (+148 -84)
📝 packages/client/src/components/modals/ImportLorebookModal.tsx (+82 -42)
📝 packages/client/src/components/modals/ImportPersonaModal.tsx (+86 -61)
📝 packages/client/src/components/modals/ImportPresetModal.tsx (+84 -42)
📝 packages/client/src/components/modals/STBulkImportModal.tsx (+339 -156)
📝 packages/client/src/components/panels/AgentsPanel.tsx (+232 -105)

...and 30 more files

📄 Description

Summary

This PR combines the simpler, lower-risk safety and UX fixes into one reviewable slice.

What this fixes

  • gates first-run chat creation behind a connection picker so cancelled setup no longer creates orphan chats
  • adds scoped expunge with Mari protection and immediate cache/runtime reset after destructive clears
  • introduces Auto reasoning effort/verbosity handling as null/omitted values instead of forced explicit defaults
  • adds draft-based numeric inputs so fields can be blank while editing and restore on blur if left invalid
  • adds agent grouping by active/inactive and desktop-resizable left/right sidebars with persisted widths
  • fixes preset header alignment and related low-risk UI polish
  • adds shift-click range selection for multi-message deletion

Why this is being submitted

  • these changes are tightly related safety and UX hardening with minimal data-model risk
  • they remove blocked flows and destructive surprises first, then bundle the simplest interface improvements behind the same verified client/server plumbing
  • shipping them together keeps the first PR high-value while still easy to review and validate in isolation

Verification

  • pnpm -C packages/client exec tsc --noEmit
  • pnpm -C packages/server exec tsc --noEmit
  • pnpm -C packages/client run lint
  • pnpm -C packages/server run lint

Client lint still reports 5 pre-existing warnings outside this PR's touched scope in BotBrowserView.tsx, ChatSetupWizard.tsx, and QuickPersonaSwitcher.tsx.


🔄 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/85 **Author:** [@TheLonelyDevil9](https://github.com/TheLonelyDevil9) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `codex/core-safety-and-ux` --- ### 📝 Commits (4) - [`e5a9e3a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e5a9e3a07d6155dca1b7ccb9c035029d56bbd422) core: harden setup flows and low-risk UX polish - [`e447114`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e44711455d4fa277190ff8a01c0aaab016a4619b) import: expand bulk workflows and preserve source metadata - [`241eab5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/241eab59e82a245de9c31fddd22571768bcc206a) Merge pull request #86 from Pasta-Devs/codex/import-export-and-library-workflows - [`6843bfd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6843bfd58a4d03e2ae58a48db99a36aad19c40c5) Merge origin/main into codex/core-safety-and-ux ### 📊 Changes **50 files changed** (+3620 additions, -1012 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/App.tsx` (+2 -9) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+83 -2) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+199 -127) 📝 `packages/client/src/components/chat/ChatConversationSurface.tsx` (+2 -2) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+37 -6) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+4 -2) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+8 -8) 📝 `packages/client/src/components/chat/ConversationMessage.tsx` (+18 -5) 📝 `packages/client/src/components/chat/ConversationView.tsx` (+3 -2) ➕ `packages/client/src/components/chat/NewChatConnectionGate.tsx` (+150 -0) 📝 `packages/client/src/components/chat/chat-area.types.ts` (+7 -0) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+6 -4) 📝 `packages/client/src/components/layout/AppShell.tsx` (+77 -6) 📝 `packages/client/src/components/layout/ChatSidebar.tsx` (+12 -1) 📝 `packages/client/src/components/modals/ImportCharacterModal.tsx` (+148 -84) 📝 `packages/client/src/components/modals/ImportLorebookModal.tsx` (+82 -42) 📝 `packages/client/src/components/modals/ImportPersonaModal.tsx` (+86 -61) 📝 `packages/client/src/components/modals/ImportPresetModal.tsx` (+84 -42) 📝 `packages/client/src/components/modals/STBulkImportModal.tsx` (+339 -156) 📝 `packages/client/src/components/panels/AgentsPanel.tsx` (+232 -105) _...and 30 more files_ </details> ### 📄 Description ## Summary This PR combines the simpler, lower-risk safety and UX fixes into one reviewable slice. ### What this fixes - gates first-run chat creation behind a connection picker so cancelled setup no longer creates orphan chats - adds scoped expunge with Mari protection and immediate cache/runtime reset after destructive clears - introduces `Auto` reasoning effort/verbosity handling as null/omitted values instead of forced explicit defaults - adds draft-based numeric inputs so fields can be blank while editing and restore on blur if left invalid - adds agent grouping by active/inactive and desktop-resizable left/right sidebars with persisted widths - fixes preset header alignment and related low-risk UI polish - adds shift-click range selection for multi-message deletion ### Why this is being submitted - these changes are tightly related safety and UX hardening with minimal data-model risk - they remove blocked flows and destructive surprises first, then bundle the simplest interface improvements behind the same verified client/server plumbing - shipping them together keeps the first PR high-value while still easy to review and validate in isolation ## Verification - `pnpm -C packages/client exec tsc --noEmit` - `pnpm -C packages/server exec tsc --noEmit` - `pnpm -C packages/client run lint` - `pnpm -C packages/server run lint` Client lint still reports 5 pre-existing warnings outside this PR's touched scope in `BotBrowserView.tsx`, `ChatSetupWizard.tsx`, and `QuickPersonaSwitcher.tsx`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:07:42 +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#4453
No description provided.