[PR #3559] [MERGED] Add conversation games command #5993

Closed
opened 2026-10-23 04:05:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: games-command


📝 Commits (3)

  • 32e2241 Add conversation games command
  • 4f9ca35 Merge branch 'staging' into games-command
  • 088060e Merge staging into games-command

📊 Changes

5 files changed (+204 additions, -28 deletions)

View changed files

➕ packages/client/src/components/chat/ConversationGamesPicker.tsx (+53 -0)
📝 packages/client/src/components/chat/ConversationView.tsx (+26 -16)
➕ packages/client/src/lib/conversation-games.ts (+76 -0)
📝 packages/client/src/lib/slash-commands.ts (+36 -12)
➕ packages/client/src/stores/conversation-games.store.ts (+13 -0)

📄 Description

Linked issue

No linked issue. Per requester direction, no issue is being opened for this PR.

Why this change

  • Conversation users need one discoverable slash command for startable turn games instead of remembering each direct game command.

What changed

  • Added a shared conversation game launcher list for UNO, chess, poker, and 8-ball.
  • Added /games, /game, and /play slash commands that open a game picker in conversation mode.
  • Supported direct launch with /games while keeping /uno, /chess, /poker, and /8ball working through the shared launcher.
  • Mounted a conversation-scoped game picker modal beside the existing setup modals.

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

I did not test this.

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)

No screenshots attached.

Summary by CodeRabbit

  • New Features
    • Added a game picker for conversations, featuring UNO, Chess, Texas Hold’em Poker, and 8-Ball Pool.
    • Added a /games command to browse or launch available games.
    • Existing game commands now use the shared game launch experience.
    • Game picker displays player information, descriptions, and supported commands.

🔄 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/3559 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 7/13/2026 **Status:** ✅ Merged **Merged:** 7/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `games-command` --- ### 📝 Commits (3) - [`32e2241`](https://github.com/Pasta-Devs/Marinara-Engine/commit/32e2241330606568d1fa7ede5090aa546955d615) Add conversation games command - [`4f9ca35`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4f9ca35fd6556494092bb6ac79549f4a416c228a) Merge branch 'staging' into games-command - [`088060e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/088060ebf52bf6f49125789667348a89e4068fcf) Merge staging into games-command ### 📊 Changes **5 files changed** (+204 additions, -28 deletions) <details> <summary>View changed files</summary> ➕ `packages/client/src/components/chat/ConversationGamesPicker.tsx` (+53 -0) 📝 `packages/client/src/components/chat/ConversationView.tsx` (+26 -16) ➕ `packages/client/src/lib/conversation-games.ts` (+76 -0) 📝 `packages/client/src/lib/slash-commands.ts` (+36 -12) ➕ `packages/client/src/stores/conversation-games.store.ts` (+13 -0) </details> ### 📄 Description ## Linked issue No linked issue. Per requester direction, no issue is being opened for this PR. ## Why this change - Conversation users need one discoverable slash command for startable turn games instead of remembering each direct game command. ## What changed - Added a shared conversation game launcher list for UNO, chess, poker, and 8-ball. - Added /games, /game, and /play slash commands that open a game picker in conversation mode. - Supported direct launch with /games <game> while keeping /uno, /chess, /poker, and /8ball working through the shared launcher. - Mounted a conversation-scoped game picker modal beside the existing setup modals. ## Validation - [x] pnpm check passes locally - [x] 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 I did not test this. ## 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) No screenshots attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a game picker for conversations, featuring UNO, Chess, Texas Hold’em Poker, and 8-Ball Pool. * Added a `/games` command to browse or launch available games. * Existing game commands now use the shared game launch experience. * Game picker displays player information, descriptions, and supported commands. <!-- 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-23 04:05:59 +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#5993
No description provided.