mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1928] Show game asset backgrounds in the Settings background picker #942
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#942
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?
Originally created by @Xelvanis on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1928
Originally assigned to: @cha1latte on GitHub.
Summary
The Settings background picker says users can choose from game asset backgrounds, but the picker only lists user background rows. Legacy merged user backgrounds and game asset backgrounds in the backgrounds route.
Expected behavior
The background picker should include available game asset backgrounds, marked as non-editable/non-deletable where appropriate, or the UI copy should stop promising that source.
Actual behavior
The picker query calls
backgroundsApi.list(...)and maps those rows only. The Rustlist_backgroundsroute currently listsstate.backgroundsuser files and metadata, but does not mergegame_assets_manifest().byCategory.backgrounds.Evidence:
src/features/shell/settings/components/SettingsPanel.tsx:2093says users can choose from game asset backgrounds.src/features/shell/settings/components/SettingsPanel.tsx:2200calls onlybackgroundsApi.list(...).src-tauri/src/commands/storage/backgrounds.rs:50and only iteratesstate.backgrounds.list(None).packages/server/src/routes/backgrounds.routes.ts:89.Steps to reproduce
backgroundscategory.Impact area
Environment
8c36be60Logs, screenshots, or video
No runtime logs or screenshots. Static parity evidence only.
Regression notes
Legacy
/api/backgroundsreturned user backgrounds plusgetAssetManifest().byCategory.backgrounds. Refactor roleplay scene planning can still see game asset backgrounds through the manifest path, so this appears to be a picker/API parity gap rather than total loss of game asset background support.Additional context
This came from parity target 4, media and assets, under #1904. Suggested fix path: merge manifest backgrounds into
backgrounds_listor into the picker query, return/source them as game assets, and ensure thumbnails use the game asset URL resolver.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (Jun 2, 2026):
fixed in #1940