mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1786] [MERGED] Organize lorebook UI components #5283
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5283
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1786
Author: @Xelvanis
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @Xelvanis
Base:
refactor← Head:lorebooks-editor-file-split📝 Commits (3)
6983a06Organize lorebook UI componentsa80c018Address lorebook editor review findingsa52a594Clamp lorebook numeric settings📊 Changes
31 files changed (+4762 additions, -3850 deletions)
View changed files
➖
src/features/catalog/lorebooks/components/LorebookEditor.tsx(+0 -2362)➖
src/features/catalog/lorebooks/components/LorebookEntryRow.tsx(+0 -1437)📝
src/features/catalog/lorebooks/components/dialogs/CreateLorebookModal.tsx(+3 -3)📝
src/features/catalog/lorebooks/components/dialogs/ImportLorebookModal.tsx(+2 -2)📝
src/features/catalog/lorebooks/components/dialogs/LorebookKeeperReviewModal.tsx(+4 -4)📝
src/features/catalog/lorebooks/components/dialogs/LorebookMakerModal.tsx(+10 -10)➕
src/features/catalog/lorebooks/components/editor/LinkedResourcePicker.tsx(+176 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookEditor.tsx(+720 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookEditorHeader.tsx(+63 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookEditorTabs.tsx(+47 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookEntriesTab.tsx(+462 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookEntriesToolbar.tsx(+199 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookKeywordTestPanel.tsx(+84 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookOverviewTab.tsx(+489 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookUnsavedWarning.tsx(+36 -0)➕
src/features/catalog/lorebooks/components/editor/LorebookVectorizeSection.tsx(+228 -0)➕
src/features/catalog/lorebooks/components/editor/lorebook-editor-utils.ts(+9 -0)➕
src/features/catalog/lorebooks/components/editor/use-lorebook-editor-drag-drop.ts(+283 -0)➕
src/features/catalog/lorebooks/components/editor/use-lorebook-entry-selection.ts(+190 -0)➕
src/features/catalog/lorebooks/components/editor/use-lorebook-overview-form.ts(+255 -0)...and 11 more files
📄 Description
Linked issue
N/A
Why this change
What changed
components/dialogs,components/panel,components/editor,components/entries, andcomponents/shared.LorebookEditorresponsibilities into focused editor tabs, toolbar/header pieces, DnD, selection, and overview-form hooks.LorebookEntryRowdrawer/autosave content, row controls, and status helpers into focused entry modules.Refactor impact
Primary owner:
catalog lorebooks UI
Impact areas reviewed:
Boundary notes:
src/features/catalog/lorebooks.src/engine.Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm check,pnpm typecheck,pnpm exec eslint src/features/catalog/lorebooks/components src/features/catalog/lorebooks/shell.ts,git diff --check,pnpm check:architecture, andpnpm build.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or changelog changes needed; this is an internal lorebooks UI refactor.
UI evidence
No screenshots. Visible behavior is intended unchanged; native Tauri UI QA remains a manual follow-up.
Summary by CodeRabbit
New Features
Refactor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.