[PR #989] [MERGED] Add group chat character activity toggles #4875

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/989
Author: @cha1latte
Created: 5/18/2026
Status: ✅ Merged
Merged: 5/18/2026
Merged by: @cha1latte

Base: staging ← Head: feat/group-character-toggle-staging


📝 Commits (2)

  • 90fc310 Add group chat character activity toggles
  • f384642 Add PR evidence for group character toggles

📊 Changes

10 files changed (+187 additions, -54 deletions)

View changed files

➕ docs/pr-evidence/pr-989/group-toggle-manual-picker.png (+0 -0)
📝 packages/client/src/components/chat/ChatInput.tsx (+28 -19)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+58 -0)
📝 packages/client/src/components/chat/ConversationInput.tsx (+38 -31)
📝 packages/server/src/routes/chats.routes.ts (+24 -1)
📝 packages/server/src/routes/generate.routes.ts (+9 -1)
📝 packages/server/src/routes/generate/dry-run-route.ts (+6 -1)
📝 packages/server/src/routes/generate/generate-route-utils.ts (+16 -0)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+6 -1)
📝 packages/shared/src/types/chat.ts (+2 -0)

📄 Description

Linked issue

No linked issue yet; a feature request should be opened before this PR is submitted.

Why this change

  • Group chats with many characters currently require removing characters to keep them out of the active scene, which loses the convenient member list and makes users re-add cards later.

What changed

  • Added per-chat inactive character metadata for temporarily disabled group members.
  • Added enable/disable buttons beside group chat characters in Chat Settings.
  • Filtered disabled characters out of generation, dry-run prompt preview, prompt peek, agent retry context, slash command character context, @mentions, and manual response pickers.
  • Prevented users from disabling the last active non-game character.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • pnpm check
  • Ran local app smoke against http://localhost:5173.
  • Verified a three-character group chat shows character enable/disable controls in Chat Settings.
  • Disabled Toggle Beta and verified the manual response picker only offered Toggle Alpha and Toggle Gamma.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Manual response picker after disabling Toggle Beta:

Manual response picker showing Toggle Alpha and Toggle Gamma only


🔄 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/989 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/18/2026 **Status:** ✅ Merged **Merged:** 5/18/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `feat/group-character-toggle-staging` --- ### 📝 Commits (2) - [`90fc310`](https://github.com/Pasta-Devs/Marinara-Engine/commit/90fc3102502d7cbfbb586d0c237529ff1d1295d3) Add group chat character activity toggles - [`f384642`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f384642a88fbc1474d2bea01ada69f00238a9c66) Add PR evidence for group character toggles ### 📊 Changes **10 files changed** (+187 additions, -54 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/pr-989/group-toggle-manual-picker.png` (+0 -0) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+28 -19) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+58 -0) 📝 `packages/client/src/components/chat/ConversationInput.tsx` (+38 -31) 📝 `packages/server/src/routes/chats.routes.ts` (+24 -1) 📝 `packages/server/src/routes/generate.routes.ts` (+9 -1) 📝 `packages/server/src/routes/generate/dry-run-route.ts` (+6 -1) 📝 `packages/server/src/routes/generate/generate-route-utils.ts` (+16 -0) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+6 -1) 📝 `packages/shared/src/types/chat.ts` (+2 -0) </details> ### 📄 Description ## Linked issue No linked issue yet; a feature request should be opened before this PR is submitted. ## Why this change - Group chats with many characters currently require removing characters to keep them out of the active scene, which loses the convenient member list and makes users re-add cards later. ## What changed - Added per-chat inactive character metadata for temporarily disabled group members. - Added enable/disable buttons beside group chat characters in Chat Settings. - Filtered disabled characters out of generation, dry-run prompt preview, prompt peek, agent retry context, slash command character context, @mentions, and manual response pickers. - Prevented users from disabling the last active non-game character. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `pnpm check` - Ran local app smoke against `http://localhost:5173`. - Verified a three-character group chat shows character enable/disable controls in Chat Settings. - Disabled `Toggle Beta` and verified the manual response picker only offered `Toggle Alpha` and `Toggle Gamma`. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Manual response picker after disabling `Toggle Beta`: ![Manual response picker showing Toggle Alpha and Toggle Gamma only](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/f384642a/docs/pr-evidence/pr-989/group-toggle-manual-picker.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:11:21 +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#4875
No description provided.