mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1773] [MERGED] Restore character legacy parity behavior #5275
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#5275
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/1773
Author: @Xelvanis
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @Xelvanis
Base:
refactor← Head:character-legacy-parity📝 Commits (2)
7211b50Restore character legacy parity behavior0223cc1Fix character avatar reviewer findings📊 Changes
15 files changed (+468 additions, -34 deletions)
View changed files
📝
src-tauri/src/commands/storage/avatars.rs(+80 -12)📝
src-tauri/src/commands/storage/characters.rs(+147 -0)📝
src-tauri/src/commands/storage/commands/entities.rs(+8 -1)📝
src-tauri/src/commands/storage/commands/media.rs(+5 -0)📝
src-tauri/src/commands/storage/media_uploads.rs(+15 -12)📝
src-tauri/src/http_dispatch.rs(+3 -0)📝
src-tauri/src/lib.rs(+1 -0)📝
src/engine/generation/prompt-assembly.ts(+96 -1)📝
src/features/catalog/characters/components/CharacterEditor.test.tsx(+1 -0)📝
src/features/catalog/characters/components/CharacterEditor.tsx(+19 -3)📝
src/features/catalog/characters/components/CharacterEditorHeader.tsx(+18 -1)📝
src/features/catalog/characters/hooks/use-character-editor-avatar.ts(+62 -3)📝
src/features/catalog/characters/hooks/use-characters.ts(+11 -1)📝
src/shared/api/character-api.ts(+1 -0)📝
src/shared/api/remote-runtime.ts(+1 -0)📄 Description
Linked issue
N/A - local legacy parity task.
Why this change
Restore key legacy Character behavior that regressed during the refactor while keeping the current architecture split between Rust storage, shared API wrappers, catalog UI, and React-free generation code.
What changed
versionSource,versionReason, andskipVersionSnapshothandling.data.nameupdated to(Copy)while preserving passthrough card data.Refactor impact
Primary owner:
Rust storage, shared API wrappers, catalog Character UI, and engine generation.
Impact areas reviewed:
Boundary notes:
src/engine/generationwith no React/shared-api imports.src/features/catalog/charactersand calls focused shared API wrappers.src/shared/api.src-tauri.remote-runtime.tsandsrc-tauri/src/http_dispatch.rs.Pressure points touched:
src-tauri/src/lib.rscommand registration.src-tauri/src/http_dispatch.rsremote command dispatch.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 checkpassed locally after the final code diff, including line endings, architecture, TypeScript, Rust check, docs, discovery metadata, and unused-code scan.pnpm buildpassed locally after the final code diff.pnpm tauri dev --no-watch --config scratch\tauri-qa.config.json.scratch/tauri-qa-character-parity-current.png.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.mdUI evidence
Native QA screenshot exists locally at
scratch/tauri-qa-character-parity-current.png; not uploaded here because the verified behavior was command-path/storage/prompt behavior rather than a visual layout change.Summary by CodeRabbit
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.