mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2052] [MERGED] Fix catalog summary selector reads #5411
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#5411
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/2052
Author: @cha1latte
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/issue-2036-catalog-summary-reads📝 Commits (5)
7806392Fix catalog summary selector reads8f7ed82Address catalog selector review findingsd28876cFix chat surface data test mockbdb18f2Merge refactor into catalog summary readsca8c9afFix catalog summary review findings📊 Changes
8 files changed (+476 additions, -34 deletions)
View changed files
📝
src-tauri/crates/storage/src/lib.rs(+415 -3)📝
src/features/catalog/connections/hooks/use-connections.ts(+34 -1)📝
src/features/catalog/presets/hooks/use-presets.ts(+16 -20)📝
src/features/modes/game/components/GameSetupWizard.tsx(+2 -2)📝
src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx(+7 -3)📝
src/features/modes/shared/chat-ui/components/CreatorNotesCssInjector.tsx(+1 -1)📝
src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.test.tsx(+0 -3)📝
src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.ts(+1 -1)📄 Description
Linked issue
Closes #2036
Why this change
What changed
Refactor impact
Primary owner:
Impact areas reviewed:
storage_listprojected read behavior, dirty collection cache semantics, external JSON collection edits, connection/preset/persona selector consumers, chat surface character map assembly.Boundary notes:
Pressure points touched:
src-tauri/crates/storage/src/lib.rssrc/features/catalog/connections/hooks/use-connections.tssrc/features/catalog/presets/hooks/use-presets.tssrc/features/modes/shared/chat-ui/hooks/use-chat-surface-data.tssrc/features/modes/game/components/GameSetupWizard.tsxValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test --manifest-path src-tauri/Cargo.toml -p marinara-storage list_projected_ -- --nocapturepassed with 6 projected-list tests.pnpm typecheckpassed.pnpm test:allow-emptypassed after updating the existing chat-surface hook test mock foruseCharacterSummariesByIds.pnpm checkpassed after the final local diff.C:/Users/celia/.codex/tools/marinara-proof-gate.mjsis not present in this environment.scratch/bugfix-verification.jsonis filled with the risk matrix and all available machine proof, but this PR should stay draft until Celia decides whether that missing local gate is acceptable.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
N/A. This is a non-visual storage/selector performance fix; verification is command-based.
Summary by CodeRabbit
Performance
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.