mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1643] [MERGED] [codex] Optimize character summary and search paths #5175
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#5175
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/1643
Author: @Xelvanis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Xelvanis
Base:
refactor← Head:codex/character-list-search-followup📝 Commits (3)
7ecc3a5Optimize character summary list paths32b2e91Harden character search follow-up pathsf132b17Address CodeRabbit storage search notes📊 Changes
11 files changed (+347 additions, -53 deletions)
View changed files
📝
src-tauri/src/commands/storage/commands/entities.rs(+120 -0)📝
src-tauri/src/commands/storage/shared.rs(+89 -0)📝
src-tauri/src/http_dispatch.rs(+16 -0)📝
src/features/catalog/characters/components/ImportCharacterModal.tsx(+5 -3)📝
src/features/catalog/characters/hooks/use-characters.ts(+1 -1)📝
src/features/runtime/generation/hooks/use-generate.ts(+36 -11)📝
src/features/runtime/tracker/hooks/use-tracker-panel-model.ts(+12 -4)📝
src/features/shell/bot-browser/components/BotBrowserPanel.tsx(+51 -17)📝
src/features/shell/settings/components/settings/TTSConfigCard.tsx(+2 -2)📝
src/features/shell/settings/hooks/tracker-card-color-manager.ts(+5 -2)📝
src/features/shell/settings/hooks/use-tracker-card-color-manager.ts(+10 -13)📄 Description
Linked issue
Closes #1582
Closes #1585
Related #1583
Related #1584
Why this change
avatarPathpayload exposure points after the broader refactor work.What changed
avatarPathfrom character summary list options while keeping managed avatar file references.useCharacters()consumers touseCharacterSummaries()and added targeted full-record fetches only where needed.storageApi.list("characters")fallback from generation card-update naming.dataprojections.datawhen requested.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
Pressure points touched:
src-tauri/src/commands/storage/commands/entities.rssrc-tauri/src/http_dispatch.rssrc/features/runtime/generation/hooks/use-generate.tsValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm typecheckpassed.pnpm check:architecturepassed.pnpm exec vitest run src/features/catalog/characters/hooks/use-characters.test.ts src/shared/api/local-file-api.test.tspassed.cargo check --manifest-path src-tauri/Cargo.toml --workspacepassed.cargo test --manifest-path src-tauri/Cargo.toml storage_list_searches_projected_character_fields_without_returning_avatar_payloadspassed.cargo test --manifest-path src-tauri/Cargo.toml apply_storage_searchpassed.git diff --checkpassed.Marinara Engine QA; character summary IPC returned 5 rows withavatarPathCount: 0, projected search matched a non-returned description field withreturnedAvatarPathCount: 0, and visible character-panel search narrowedA5from 5 characters to 1 with no console/page errors.cargo fmt --manifest-path src-tauri/Cargo.toml --checkwas attempted and reported existing rustfmt drift in storage files, including untouchedexports.rs; no unrelated formatter churn was included.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
scratch/native-tauri-*.png; not committed.Summary by CodeRabbit
Release Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.