[PR #3247] [MERGED] [codex] Add gallery clip deletion controls #5863

Closed
opened 2026-10-22 04:20:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3247
Author: @SpicyMarinara
Created: 7/5/2026
Status: ✅ Merged
Merged: 7/5/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/gallery-clip-deletion


📝 Commits (7)

  • 8a87002 Add gallery clip deletion controls
  • 2ed8e84 Mute conversation call video clips
  • 023e064 Refine call video prompts and mic reminder
  • 809da5e Queue call clip pre-generation
  • 30a3ae1 Harden Windows launcher rebuilds
  • 0a8b7a3 Clarify Windows pnpm fallback
  • d1d8df1 Address gallery clip review feedback

📊 Changes

12 files changed (+656 additions, -180 deletions)

View changed files

📝 CHANGELOG.md (+6 -2)
📝 docs/installation/windows.md (+1 -1)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+113 -14)
📝 packages/client/src/components/chat/ConversationCallSurface.tsx (+85 -26)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+77 -12)
📝 packages/client/src/hooks/use-characters.ts (+22 -0)
📝 packages/server/src/routes/characters.routes.ts (+114 -2)
📝 packages/server/src/routes/conversation-calls.routes.ts (+0 -14)
📝 packages/server/src/services/conversation/call-character-videos.service.ts (+183 -38)
📝 packages/server/src/services/prompt-overrides/registry/conversation-call-videos.ts (+21 -29)
📝 packages/server/src/services/storage/game-scene-videos.storage.ts (+4 -0)
📝 start.bat (+30 -42)

📄 Description

Summary

  • Adds delete controls to Character and Persona Gallery Clips.
  • Wires backend deletion for standard call clip resets, custom call clip removal, and owned scene/game clip cleanup.
  • Forces generated Conversation Call character videos to stay silent during calls and Character Gallery call-clip previews so provider audio cannot overlap Marinara TTS.
  • Adds a dismissible 10-second muted-microphone reminder when a Conversation Call starts.
  • Removes character-card description dumps from call-video prompts, strengthens locked-camera/reference-image loop instructions, and treats standard call-video clips as stale when the character avatar changes so they regenerate from the new avatar.
  • Makes Character Gallery call-clip pre-generation queue one provider request at a time instead of advertising every missing clip as generating at once.
  • Hardens start.bat so Windows launches repair dependencies and run the root pnpm build whenever updates, version/commit mismatches, or missing build outputs require it, while still falling back through Corepack, installed pnpm, or temporary npx pnpm.
  • Clarifies the Windows launcher/docs messaging that global pnpm is optional, but Node must provide Corepack or npx/npm for the fallback path.
  • Updates the v2.1.0 changelog.

Validation

  • Manually verify deleting a ready standard character call clip resets it to Not generated and leaves it regeneratable.
  • Manually verify deleting custom call clips and scene/game clips removes them from Character Gallery Clips.
  • Manually verify deleting persona scene/game clips removes them from Persona Gallery Clips.
  • Manually verify generated Conversation Call character videos stay muted during calls and in Character Gallery call-clip previews.
  • Manually verify starting a call shows the muted reminder above the mic button, that X dismisses it, and that it auto-closes after 10 seconds.
  • Manually verify changing a character avatar makes existing standard call-video clips show as not generated and regenerate from the new avatar.
  • Manually verify Character Gallery call-clip pre-generation shows/generates only one standard clip at a time before proceeding to the next.
  • Manually verify newly generated call clips keep a still camera with no zoom, pan, crop, or framing drift.
  • Manually verify start.bat on Windows can launch from a missing or stale dependency/build state, performs install/build repair, and starts the server.
  • Manually verify start.bat on Windows can launch without global pnpm installed by using Corepack or temporary npx pnpm.
  • git diff --check origin/staging...HEAD
  • git diff --check
  • pnpm check
  • pnpm --filter @marinara-engine/server lint

Notes

Local validation passed after the latest updates: git diff --check origin/staging...HEAD, git diff --check, pnpm check, and pnpm --filter @marinara-engine/server lint. Manual checks are left unchecked for reviewer verification.

Summary by CodeRabbit

  • New Features

    • Gallery clips can now be deleted from character and persona pages, with clearer confirmation and in-progress feedback.
    • Conversation call videos now stay silent more reliably, and muted users see a helpful reminder during calls.
  • Bug Fixes

    • Improved reliability and performance when processing reactions in group chats.
    • Enhanced gallery clip handling, including video playback, deletion controls, and call-related clip generation behavior.
    • Windows startup now better repairs missing or mismatched app files before launching.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3247 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/5/2026 **Status:** ✅ Merged **Merged:** 7/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/gallery-clip-deletion` --- ### 📝 Commits (7) - [`8a87002`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8a87002767e8d843e2ec2a340184066a9fdf0e27) Add gallery clip deletion controls - [`2ed8e84`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2ed8e8410e5d0ce5812072405a148287d03d39db) Mute conversation call video clips - [`023e064`](https://github.com/Pasta-Devs/Marinara-Engine/commit/023e064d5cce56fc667acd5bb2009a654ab4c614) Refine call video prompts and mic reminder - [`809da5e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/809da5e616dddf95f3642af4e33b32a8dc9284b7) Queue call clip pre-generation - [`30a3ae1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/30a3ae1a71e99ac80398f57117b9376276faa662) Harden Windows launcher rebuilds - [`0a8b7a3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0a8b7a31d2be24e3252a27051a599fb71479e318) Clarify Windows pnpm fallback - [`d1d8df1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d1d8df123fff545d76f6967a2fbc9fb9dd0f698e) Address gallery clip review feedback ### 📊 Changes **12 files changed** (+656 additions, -180 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -2) 📝 `docs/installation/windows.md` (+1 -1) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+113 -14) 📝 `packages/client/src/components/chat/ConversationCallSurface.tsx` (+85 -26) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+77 -12) 📝 `packages/client/src/hooks/use-characters.ts` (+22 -0) 📝 `packages/server/src/routes/characters.routes.ts` (+114 -2) 📝 `packages/server/src/routes/conversation-calls.routes.ts` (+0 -14) 📝 `packages/server/src/services/conversation/call-character-videos.service.ts` (+183 -38) 📝 `packages/server/src/services/prompt-overrides/registry/conversation-call-videos.ts` (+21 -29) 📝 `packages/server/src/services/storage/game-scene-videos.storage.ts` (+4 -0) 📝 `start.bat` (+30 -42) </details> ### 📄 Description ## Summary - Adds delete controls to Character and Persona Gallery Clips. - Wires backend deletion for standard call clip resets, custom call clip removal, and owned scene/game clip cleanup. - Forces generated Conversation Call character videos to stay silent during calls and Character Gallery call-clip previews so provider audio cannot overlap Marinara TTS. - Adds a dismissible 10-second muted-microphone reminder when a Conversation Call starts. - Removes character-card description dumps from call-video prompts, strengthens locked-camera/reference-image loop instructions, and treats standard call-video clips as stale when the character avatar changes so they regenerate from the new avatar. - Makes Character Gallery call-clip pre-generation queue one provider request at a time instead of advertising every missing clip as generating at once. - Hardens `start.bat` so Windows launches repair dependencies and run the root `pnpm build` whenever updates, version/commit mismatches, or missing build outputs require it, while still falling back through Corepack, installed pnpm, or temporary npx pnpm. - Clarifies the Windows launcher/docs messaging that global pnpm is optional, but Node must provide Corepack or npx/npm for the fallback path. - Updates the v2.1.0 changelog. ## Validation - [ ] Manually verify deleting a ready standard character call clip resets it to Not generated and leaves it regeneratable. - [ ] Manually verify deleting custom call clips and scene/game clips removes them from Character Gallery Clips. - [ ] Manually verify deleting persona scene/game clips removes them from Persona Gallery Clips. - [ ] Manually verify generated Conversation Call character videos stay muted during calls and in Character Gallery call-clip previews. - [ ] Manually verify starting a call shows the muted reminder above the mic button, that X dismisses it, and that it auto-closes after 10 seconds. - [ ] Manually verify changing a character avatar makes existing standard call-video clips show as not generated and regenerate from the new avatar. - [ ] Manually verify Character Gallery call-clip pre-generation shows/generates only one standard clip at a time before proceeding to the next. - [ ] Manually verify newly generated call clips keep a still camera with no zoom, pan, crop, or framing drift. - [ ] Manually verify `start.bat` on Windows can launch from a missing or stale dependency/build state, performs install/build repair, and starts the server. - [ ] Manually verify `start.bat` on Windows can launch without global pnpm installed by using Corepack or temporary npx pnpm. - [ ] `git diff --check origin/staging...HEAD` - [ ] `git diff --check` - [ ] `pnpm check` - [ ] `pnpm --filter @marinara-engine/server lint` ## Notes Local validation passed after the latest updates: `git diff --check origin/staging...HEAD`, `git diff --check`, `pnpm check`, and `pnpm --filter @marinara-engine/server lint`. Manual checks are left unchecked for reviewer verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Gallery clips can now be deleted from character and persona pages, with clearer confirmation and in-progress feedback. * Conversation call videos now stay silent more reliably, and muted users see a helpful reminder during calls. * **Bug Fixes** * Improved reliability and performance when processing reactions in group chats. * Enhanced gallery clip handling, including video playback, deletion controls, and call-related clip generation behavior. * Windows startup now better repairs missing or mismatched app files before launching. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:20:17 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5863
No description provided.