mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1012] [MERGED] Fix Chub browser import card data #4883
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#4883
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/1012
Author: @cha1latte
Created: 5/19/2026
Status: ✅ Merged
Merged: 5/19/2026
Merged by: @cha1latte
Base:
staging← Head:fix/issue-1007-chub-direct-import📝 Commits (1)
3683496Fix Chub browser import card data📊 Changes
3 files changed (+149 additions, -9 deletions)
View changed files
📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+37 -8)📝
packages/client/src/components/modals/BotBrowserModal.tsx(+31 -1)➕
packages/client/src/lib/chub-character-card.ts(+81 -0)📄 Description
Linked issue
Closes #1007
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
node scratch/repro-issue-1007-chub-import.mjs: the live Chub example's static PNG path had description length 128, first message length 4, and post-history instructions length 0, while Chub's detail API had description length 9666, first message length 1769, and post-history instructions length 6494.packages\server\node_modules\.bin\tsx.cmd scratch/verify-issue-1007-chub-import.ts: the production merge helper restored the Chub detail API field lengths over the stale PNG payload and passed edge cases for missing detail, wrapped V2 cards, and embedded lorebook fill-in.pnpm check; it passedimpeccable:check, lint, and shared/server/client builds.Docs and release impact
Docs/release note: no docs, schema, dependency, or version files changed.
UI evidence (if applicable)
Not applicable. This is a data import mapping fix; proof is the before/after Chub import field-length verifier above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.