[PR #4585] [CLOSED] experiment:libs #6433

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4585
Author: @Gunterlie
Created: 8/4/2026
Status: ❌ Closed

Base: staging ← Head: all-my-little-piggies-under-one-roof


📝 Commits (8)

  • fe362b1 docs: plan reusable library manager overhaul
  • fcef1e2 feat: add reusable library row view
  • 2985267 Merge remote-tracking branch 'origin/staging' into sidebar-lib-modularization
  • 9606140 feat: add library selection workflows
  • c9305f3 feat: add entity summary persistence
  • 0d4ea27 feat: add lorebook manager and summary authoring
  • f7009d2 feat: add resumable summary batch backend
  • 21cd6f0 feat: add summary batch UI and library chat composer

📊 Changes

59 files changed (+6112 additions, -795 deletions)

View changed files

➕ docs/development/library-modularization-plan.md (+389 -0)
📝 package.json (+2 -1)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+45 -2)
📝 packages/client/src/components/characters/CharacterLibraryView.tsx (+332 -191)
📝 packages/client/src/components/chat/ChatModeSelectorModal.tsx (+32 -9)
📝 packages/client/src/components/layout/AppShell.tsx (+8 -2)
📝 packages/client/src/components/layout/ModalRenderer.tsx (+32 -1)
📝 packages/client/src/components/layout/TopBar.tsx (+4 -2)
➕ packages/client/src/components/library/LibraryListRow.tsx (+228 -0)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+285 -78)
➕ packages/client/src/components/lorebooks/LorebookLibraryView.tsx (+795 -0)
➕ packages/client/src/components/modals/ComposeLibraryChatModal.tsx (+280 -0)
➕ packages/client/src/components/modals/EntitySummaryBatchModal.tsx (+272 -0)
📝 packages/client/src/components/panels/CharactersPanel.tsx (+44 -71)
📝 packages/client/src/components/panels/LorebooksPanel.tsx (+127 -126)
📝 packages/client/src/components/panels/PersonasPanel.tsx (+50 -82)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+62 -3)
➕ packages/client/src/components/ui/EntitySummaryStatusBadge.tsx (+80 -0)
📝 packages/client/src/components/ui/SelectionActionBar.tsx (+9 -4)
➕ packages/client/src/hooks/use-create-chat-draft.ts (+104 -0)

...and 39 more files

📄 Description

Linked issue

No linked issue yet. This is an explicitly requested experimental implementation branch; an issue should be opened before submission.

Why this change

Large character and persona libraries are difficult to scan and manage from the current full-screen card grid. This experiment establishes a high-information row view and reusable resource projections that other Engine surfaces can consume without duplicating library behavior.

What changed

  • Added the reviewed library modularization and manager concept.
  • Implementation is starting with the reusable row-view experiment.

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

  • Manually verify the full-screen character and persona libraries in grid and row views.
  • Manually verify keyboard focus, mobile reflow, light/dark themes, empty results, and pagination.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Before/after screenshots will be added after the experiment is implemented and manually verified.


🔄 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/4585 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/4/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `all-my-little-piggies-under-one-roof` --- ### 📝 Commits (8) - [`fe362b1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fe362b1fb1614edff793b679364d38c966316b8b) docs: plan reusable library manager overhaul - [`fcef1e2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fcef1e231d5edb21062b152f5b1945e2d08c2e04) feat: add reusable library row view - [`2985267`](https://github.com/Pasta-Devs/Marinara-Engine/commit/298526748dd5d6c4fabebff9a42aa4101325f734) Merge remote-tracking branch 'origin/staging' into sidebar-lib-modularization - [`9606140`](https://github.com/Pasta-Devs/Marinara-Engine/commit/960614080bdf8fd6d4baf83bba198ccbe8ac9d11) feat: add library selection workflows - [`c9305f3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c9305f347929af5d380b96f6198e8e99da910271) feat: add entity summary persistence - [`0d4ea27`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0d4ea27cce2f2d9e5e3550008395bcf21cd0af28) feat: add lorebook manager and summary authoring - [`f7009d2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f7009d29368407fe81c670ed8ad8ea23309c551d) feat: add resumable summary batch backend - [`21cd6f0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/21cd6f0fad1d5503c8a5ff8fd67ae3a1cb5583f7) feat: add summary batch UI and library chat composer ### 📊 Changes **59 files changed** (+6112 additions, -795 deletions) <details> <summary>View changed files</summary> ➕ `docs/development/library-modularization-plan.md` (+389 -0) 📝 `package.json` (+2 -1) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+45 -2) 📝 `packages/client/src/components/characters/CharacterLibraryView.tsx` (+332 -191) 📝 `packages/client/src/components/chat/ChatModeSelectorModal.tsx` (+32 -9) 📝 `packages/client/src/components/layout/AppShell.tsx` (+8 -2) 📝 `packages/client/src/components/layout/ModalRenderer.tsx` (+32 -1) 📝 `packages/client/src/components/layout/TopBar.tsx` (+4 -2) ➕ `packages/client/src/components/library/LibraryListRow.tsx` (+228 -0) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+285 -78) ➕ `packages/client/src/components/lorebooks/LorebookLibraryView.tsx` (+795 -0) ➕ `packages/client/src/components/modals/ComposeLibraryChatModal.tsx` (+280 -0) ➕ `packages/client/src/components/modals/EntitySummaryBatchModal.tsx` (+272 -0) 📝 `packages/client/src/components/panels/CharactersPanel.tsx` (+44 -71) 📝 `packages/client/src/components/panels/LorebooksPanel.tsx` (+127 -126) 📝 `packages/client/src/components/panels/PersonasPanel.tsx` (+50 -82) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+62 -3) ➕ `packages/client/src/components/ui/EntitySummaryStatusBadge.tsx` (+80 -0) 📝 `packages/client/src/components/ui/SelectionActionBar.tsx` (+9 -4) ➕ `packages/client/src/hooks/use-create-chat-draft.ts` (+104 -0) _...and 39 more files_ </details> ### 📄 Description ## Linked issue No linked issue yet. This is an explicitly requested experimental implementation branch; an issue should be opened before submission. ## Why this change Large character and persona libraries are difficult to scan and manage from the current full-screen card grid. This experiment establishes a high-information row view and reusable resource projections that other Engine surfaces can consume without duplicating library behavior. ## What changed - Added the reviewed library modularization and manager concept. - Implementation is starting with the reusable row-view experiment. ## 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 - Manually verify the full-screen character and persona libraries in grid and row views. - Manually verify keyboard focus, mobile reflow, light/dark themes, empty results, and pagination. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Before/after screenshots will be added after the experiment is implemented and manually verified. --- <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:23 +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#6433
No description provided.