[PR #2597] [MERGED] Polish editor and lorebook workflows #5684

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

📋 Pull Request Information

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

Base: staging ← Head: codex/editor-ui-lorebook-polish


📝 Commits (1)

  • de5e7eb Polish editor and lorebook workflows

📊 Changes

47 files changed (+2748 additions, -1162 deletions)

View changed files

📝 CHANGELOG.md (+0 -1)
📝 docs/FRONTEND.md (+1 -1)
📝 packages/client/src/components/agents/AgentEditor.tsx (+105 -64)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+181 -166)
📝 packages/client/src/components/characters/CharacterLibraryView.tsx (+39 -54)
📝 packages/client/src/components/chat/ChatArea.tsx (+1 -15)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+104 -0)
📝 packages/client/src/components/layout/ModalRenderer.tsx (+6 -0)
📝 packages/client/src/components/lorebooks/LorebookEntryRow.tsx (+272 -155)
📝 packages/client/src/components/lorebooks/LorebookFormFields.tsx (+1 -1)
📝 packages/client/src/components/modals/CreateCharacterModal.tsx (+1 -1)
➕ packages/client/src/components/modals/ImportConnectionModal.tsx (+173 -0)
📝 packages/client/src/components/modals/ImportPersonaModal.tsx (+10 -1)
📝 packages/client/src/components/panels/AgentsPanel.tsx (+13 -3)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+166 -25)
📝 packages/client/src/components/panels/PersonasPanel.tsx (+0 -7)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+872 -413)
➕ packages/client/src/components/ui/EditorSectionJumps.tsx (+58 -0)
📝 packages/client/src/components/ui/HelpTooltip.tsx (+42 -12)
📝 packages/client/src/hooks/use-characters.ts (+48 -5)

...and 27 more files

📄 Description

Linked issue

No linked issue was provided. This is a maintainer-requested polish pass from the current working branch.

Why this change

  • Reduce editor bloat in character, persona, lorebook, connection, and agent workflows.
  • Make entry and editor guidance easier to discover without occupying permanent layout space.
  • Add safer connection transfer support that exports configuration without API keys.
  • Remove legacy character description extension plumbing now that card fields are consolidated.

What changed

  • Consolidated character/persona card editing surfaces and added reusable section jump navigation.
  • Added persona metadata/version support and cleaned persona editor controls.
  • Added connection import/export UI and serialization helpers that intentionally omit API keys.
  • Compact lorebook entry editing, including inline grouped fields and a direct entry-type chooser menu.
  • Normalized editor tooltip copy and helper behavior across affected editors.
  • Removed the legacy character description extension prompt path and updated storage/import migration handling.
  • Updated frontend docs and changelog notes for the editor polish.

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

Manual verification notes

  • Local commands run by Codex: pnpm install --frozen-lockfile, pnpm check, git diff --check.
  • pnpm db:push was attempted, but this workspace has no db:push script in root or package manifests.
  • Browser/manual verification is still needed for character/persona editors, connection import/export, and lorebook entry menus on desktop and mobile.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Not attached by Codex. Manual screenshot/recording evidence should be added before final human sign-off.

Summary by CodeRabbit

  • New Features

    • Added connection import/export functionality via JSON files
    • Introduced persona version history with ability to restore or delete previous versions
    • Enhanced editor navigation with section jump menus for better content organization
  • Improvements

    • Upgraded help system with richer, contextual tooltips throughout editors
    • Improved editor UI layouts with better visual hierarchy and collapsed sections
    • Enhanced connection management with search and filtering capabilities
    • Updated character library with improved filtering and sorting
  • Changes

    • Removed alternative description feature for simplified persona and character editing
    • Reorganized editor tabs for clearer content structure

🔄 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/2597 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/16/2026 **Status:** ✅ Merged **Merged:** 6/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/editor-ui-lorebook-polish` --- ### 📝 Commits (1) - [`de5e7eb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/de5e7eb2f62cb5277a8af5a5f018a8a1591fd3c7) Polish editor and lorebook workflows ### 📊 Changes **47 files changed** (+2748 additions, -1162 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+0 -1) 📝 `docs/FRONTEND.md` (+1 -1) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+105 -64) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+181 -166) 📝 `packages/client/src/components/characters/CharacterLibraryView.tsx` (+39 -54) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+1 -15) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+104 -0) 📝 `packages/client/src/components/layout/ModalRenderer.tsx` (+6 -0) 📝 `packages/client/src/components/lorebooks/LorebookEntryRow.tsx` (+272 -155) 📝 `packages/client/src/components/lorebooks/LorebookFormFields.tsx` (+1 -1) 📝 `packages/client/src/components/modals/CreateCharacterModal.tsx` (+1 -1) ➕ `packages/client/src/components/modals/ImportConnectionModal.tsx` (+173 -0) 📝 `packages/client/src/components/modals/ImportPersonaModal.tsx` (+10 -1) 📝 `packages/client/src/components/panels/AgentsPanel.tsx` (+13 -3) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+166 -25) 📝 `packages/client/src/components/panels/PersonasPanel.tsx` (+0 -7) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+872 -413) ➕ `packages/client/src/components/ui/EditorSectionJumps.tsx` (+58 -0) 📝 `packages/client/src/components/ui/HelpTooltip.tsx` (+42 -12) 📝 `packages/client/src/hooks/use-characters.ts` (+48 -5) _...and 27 more files_ </details> ### 📄 Description ## Linked issue No linked issue was provided. This is a maintainer-requested polish pass from the current working branch. ## Why this change - Reduce editor bloat in character, persona, lorebook, connection, and agent workflows. - Make entry and editor guidance easier to discover without occupying permanent layout space. - Add safer connection transfer support that exports configuration without API keys. - Remove legacy character description extension plumbing now that card fields are consolidated. ## What changed - Consolidated character/persona card editing surfaces and added reusable section jump navigation. - Added persona metadata/version support and cleaned persona editor controls. - Added connection import/export UI and serialization helpers that intentionally omit API keys. - Compact lorebook entry editing, including inline grouped fields and a direct entry-type chooser menu. - Normalized editor tooltip copy and helper behavior across affected editors. - Removed the legacy character description extension prompt path and updated storage/import migration handling. - Updated frontend docs and changelog notes for the editor polish. ## 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` ### Manual verification notes - Local commands run by Codex: `pnpm install --frozen-lockfile`, `pnpm check`, `git diff --check`. - `pnpm db:push` was attempted, but this workspace has no `db:push` script in root or package manifests. - Browser/manual verification is still needed for character/persona editors, connection import/export, and lorebook entry menus on desktop and mobile. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Not attached by Codex. Manual screenshot/recording evidence should be added before final human sign-off. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added connection import/export functionality via JSON files * Introduced persona version history with ability to restore or delete previous versions * Enhanced editor navigation with section jump menus for better content organization * **Improvements** * Upgraded help system with richer, contextual tooltips throughout editors * Improved editor UI layouts with better visual hierarchy and collapsed sections * Enhanced connection management with search and filtering capabilities * Updated character library with improved filtering and sorting * **Changes** * Removed alternative description feature for simplified persona and character editing * Reorganized editor tabs for clearer content structure <!-- 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:27 +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#5684
No description provided.