mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8939] [MERGED] fix(music-dj): a chat's Game Assets music folder applies to that chat only #8895
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#8895
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/8939
Author: @SpicyMarinara
Created: 11/7/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/chat-music-folder📝 Commits (2)
8772fd7fix(music-dj): a chat's Game Assets music folder applies to that chat only (#8916)984cf78fix(client): clearing This chat's Game Assets folder keeps Apply to on This chat📊 Changes
10 files changed (+261 additions, -46 deletions)
View changed files
📝
docs/media/music.md(+2 -0)📝
packages/client/src/components/chat/AgentAddSetupFields.tsx(+59 -7)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+43 -29)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
packages/shared/src/types/chat-preset.ts(+2 -2)📝
packages/shared/src/types/chat.ts(+5 -0)📝
packages/shared/src/utils/music-dj-folder.ts(+11 -3)📝
scripts/regressions/capability-gm-verbs.regression.ts(+8 -5)📝
scripts/regressions/illustrator-manual-cadence.regression.ts(+62 -0)📝
scripts/regressions/music-dj-local-library.regression.ts(+68 -0)📄 Description
Linked issue
Closes #8916
Why this change
A chat's Game Assets music folder was saved but never used.
customMusicFolderand copied it into the global Music DJ setting.Since #8901 (#8914), a folder on this device can be set per chat. A Game Assets subfolder couldn't.
What changed
customMusicGameAssetsFolder. Only an explicit edit under Apply to: This chat writes it.customMusicFolderkey into nearly every chat when Music DJ was added, copied from the default. Those old copies are ignored and keep following the default, so existing chats don't silently freeze on an old value.applyMusicDjChatFolder(packages/shared/src/utils/music-dj-folder.ts) overlays the chat's subfolder onto the Music DJ settings in every path that runs the Music DJ (generate, retry, agent resolution, Game mode). A device folder still wins, and../paths are clamped as before.docs/media/music.md: one paragraph on the per-chat Game Assets folder.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Run by the agent (not a substitute for the boxes above):
pnpm checkandpnpm localization:check: pass.music-dj-local-library:customMusicFolderfollows the default;../outsideis clamped;illustrator-manual-cadence: the save targets for This chat and All chats, opening on This chat, and clearing back to the default.capability-gm-verbs,chat-profile-*,chat-wizard-defaults,music-dj-*and others: pass.Still to verify by hand:
music/combatchanges the default in the Music DJ editor.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #8939] fix(music-dj): a chat's Game Assets music folder applies to that chat onlyto [PR #8939] [MERGED] fix(music-dj): a chat's Game Assets music folder applies to that chat only