mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1381] [MERGED] Fix game gallery session aggregation #5051
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#5051
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/1381
Author: @cha1latte
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1366-game-gallery📝 Commits (2)
177c45fFix game gallery session aggregationf1ab465Guard game gallery scope📊 Changes
6 files changed (+151 additions, -13 deletions)
View changed files
📝
src/features/catalog/gallery/hooks/use-gallery.test.ts(+89 -1)📝
src/features/catalog/gallery/hooks/use-gallery.ts(+48 -4)📝
src/features/catalog/gallery/query-keys.ts(+5 -1)📝
src/features/modes/game/components/GameSurface.tsx(+2 -1)📝
src/features/modes/shared/chat-ui/components/ChatGallery.tsx(+6 -5)📝
src/features/modes/shared/chat-ui/components/ChatGalleryDrawer.tsx(+1 -1)📄 Description
Linked issue
Closes #1366
Why this change
What changed
Chat.metadata.gameIdwithgroupIdfallback.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
storageApi.listcalls for chats and gallery rows.Pressure points touched:
ChatGalleryValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
node scratch\issue-1366-gallery-scope-proof.mjsfailed before the fix and passes after the fix.pnpm exec vitest run src/features/catalog/gallery/hooks/use-gallery.test.tspassed.pnpm checkpassed locally.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed with compatibility rows and negative controls.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
pnpm check; no browser screenshot was captured.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.