mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1776] [MERGED] Fix persona stats import and organize persona components #5277
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#5277
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/1776
Author: @Xelvanis
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/persona-stats-json-import📝 Commits (1)
35bb85cFix persona stats import and organize persona components📊 Changes
19 files changed (+78 additions, -72 deletions)
View changed files
📝
src/features/catalog/personas/components/editor/PersonaColorsTab.tsx(+4 -4)📝
src/features/catalog/personas/components/editor/PersonaDescriptionTab.tsx(+5 -5)📝
src/features/catalog/personas/components/editor/PersonaEditor.tsx(+12 -12)📝
src/features/catalog/personas/components/editor/PersonaEditorSectionHeader.tsx(+0 -0)📝
src/features/catalog/personas/components/editor/PersonaStatsTab.tsx(+1 -1)📝
src/features/catalog/personas/components/modals/CreatePersonaModal.tsx(+3 -3)📝
src/features/catalog/personas/components/modals/ImportPersonaModal.tsx(+11 -5)📝
src/features/catalog/personas/components/modals/PersonaMakerModal.tsx(+7 -7)📝
src/features/catalog/personas/components/panel/PersonaGroupsSection.tsx(+3 -3)📝
src/features/catalog/personas/components/panel/PersonaListItem.tsx(+2 -2)📝
src/features/catalog/personas/components/panel/PersonasFilterBar.tsx(+3 -3)📝
src/features/catalog/personas/components/panel/PersonasPanel.tsx(+7 -7)📝
src/features/catalog/personas/components/panel/PersonasSelectionToolbar.tsx(+0 -0)📝
src/features/catalog/personas/components/sprites/PersonaSpriteDeleteDialog.tsx(+3 -3)📝
src/features/catalog/personas/components/sprites/PersonaSpriteEditors.tsx(+3 -3)📝
src/features/catalog/personas/components/sprites/PersonaSpriteGrid.tsx(+2 -2)📝
src/features/catalog/personas/components/sprites/PersonaSpriteUploadPanel.tsx(+1 -1)📝
src/features/catalog/personas/components/sprites/PersonaSpritesTab.tsx(+6 -6)📝
src/features/catalog/personas/shell.ts(+5 -5)📄 Description
Linked issue
N/A
Why this change
personaStatsbefore the storage normalizer saw the value.What changed
personaStatsduring compatible persona JSON import while keeping legacy string stats supported.personaStatson the existing empty fallback path.editor,sprites,panel, andmodalssubfolders and updated shell exports/imports.Refactor impact
Primary owner:
Catalog personas UI
Impact areas reviewed:
Boundary notes:
src/features/catalog/personas.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 checklocally after rebasing onto latestorigin/refactor; it passed.personaStatsconversion: object and string values preserve importable JSON, while array and missing values return the existing empty fallback.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 changes needed; behavior is a narrow import compatibility fix plus internal folder organization.
UI evidence
N/A. No visible UI layout change intended.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.