mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1647] [MERGED] Project remaining useCharacters list payload #5179
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#5179
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/1647
Author: @Xelvanis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Xelvanis
Base:
refactor← Head:codex/project-usecharacters-list📝 Commits (2)
b6cb02eProject useCharacters list payload63db0cdDeduplicate character list projection fields📊 Changes
2 files changed (+79 additions, -5 deletions)
View changed files
📝
src/features/catalog/characters/hooks/use-characters.test.ts(+72 -3)📝
src/features/catalog/characters/hooks/use-characters.ts(+7 -2)📄 Description
Linked issue
Closes #1582
Related: #1643
Why this change
useCharacters()still calledstorageApi.list("characters")without a projection after the earlier partial fix.useCharacterSummaries(), but the exported full-list hook still allowed future callers to fetch embedded avatar payloads by accident.What changed
useCharacters()that keeps fulldatawhile omitting embeddedavatarPathfrom list rows.storageApi.list("characters", ...)call.Refactor impact
Primary owner:
Impact areas reviewed:
useCharacterSummaries()after #1643.storageApi.list("characters")grep now returns no matches.Boundary notes:
storageApiwrapper; no engine, Rust, or remote-runtime boundary changes.Pressure points touched:
Validation
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 typecheckpnpm exec vitest run src/features/catalog/characters/hooks/use-characters.test.tspnpm check:architecturepnpm buildgit diff --checkrg -n -F 'storageApi.list("characters"' src src-taurireturned no matches.rg -n "useCharacters\\(" src/features src/app src/shared -g "*.ts" -g "*.tsx"only found the hook definition and its regression test.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.