mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2190] [Issue]: Lorebook overview treats comma-separated tags as one tag #1092
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#1092
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?
Originally created by @Promansis on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2190
Originally assigned to: @Promansis on GitHub.
Summary
The refactor lorebook overview editor no longer supports adding multiple tags from one comma-separated input. Legacy
mainsplit a single input likenpc, city, politicsinto three tags, while currentrefactorsaves it as one literal tag.Expected behavior
Typing comma-separated tags into the lorebook overview tag input and pressing Enter or the add button should add each trimmed, non-duplicate tag separately.
Actual behavior
The refactor overview editor trims the whole input string and appends it as one tag. For example,
npc, city, politicsbecomes one tag namednpc, city, politics.Steps to reproduce
refactor, open a lorebook in the overview editor.npc, city, politics.Impact area
Environment
refactor577de008; compared against legacymain77a30fa4Logs, screenshots, or video
Static parity evidence:
main:packages/client/src/components/lorebooks/LorebookEditor.tsxhasappendNewTags(existingTags, rawInput)that splitsrawInputon commas, trims each part, skips blanks and duplicates, and appends all additions.main:packages/client/src/components/lorebooks/LorebookEditor.tsxcallshandleAddTagsfrom both Enter and the add button in the overview tag input.src/features/catalog/lorebooks/components/editor/LorebookOverviewTab.tsxhasaddTag, which trimsnewTagonce and appends[...tags, tag], so comma-separated input stays one combined string.No browser proof was run for this issue.
Regression notes
This worked on legacy
mainand regressed in the Tauri/refactor overview editor split. The current refactor still supports single-tag add/remove correctly.Additional context
Found during parityscan Batch 5: Authoring UI, row
07-LB-UI-overview-editor.Related target issue: #2181.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: