[PR #580] [CLOSED] Add Start New Chat button to character cards #4681

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/580
Author: @cha1latte
Created: 5/8/2026
Status: ❌ Closed

Base: main ← Head: feat/issue-568-start-new-chat-card


📝 Commits (1)

  • 624fb82 Add start chat button to character views

📊 Changes

7 files changed (+174 additions, -153 deletions)

View changed files

➕ docs/pr-evidence/issue-568/start-new-chat-button-mobile-proof.txt (+11 -0)
➕ docs/pr-evidence/issue-568/start-new-chat-button-mobile.png (+0 -0)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+22 -0)
📝 packages/client/src/components/characters/CharacterLibraryView.tsx (+22 -1)
📝 packages/client/src/components/panels/BotBrowserPanel.tsx (+15 -78)
📝 packages/client/src/components/panels/CharactersPanel.tsx (+16 -74)
➕ packages/client/src/hooks/use-start-chat-from-character.ts (+88 -0)

📄 Description

Linked issue

Closes #568

Why this change

Mobile users had no reliable direct action to start a new chat from a character card. This adds a visible Start New Chat control to the character detail surfaces and reuses it everywhere the shortcut appears.

What changed

  • Added a shared useStartChatFromCharacter hook for the chat-start flow.
  • Added Start New Chat buttons to the character editor and library detail card.
  • Switched the character panel and bot browser context menus to the shared helper.
  • Added mobile proof evidence for the character detail surface.

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 passed.
  • Playwright verified the mobile character detail surface shows a Start New Chat button and captured docs/pr-evidence/issue-568/start-new-chat-button-mobile.png.
  • Proof note: docs/pr-evidence/issue-568/start-new-chat-button-mobile-proof.txt.

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)

Start New Chat button on mobile


🔄 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/580 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/8/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/issue-568-start-new-chat-card` --- ### 📝 Commits (1) - [`624fb82`](https://github.com/Pasta-Devs/Marinara-Engine/commit/624fb828a04cf1929cb80ebd6c8212bee2ab0a64) Add start chat button to character views ### 📊 Changes **7 files changed** (+174 additions, -153 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/issue-568/start-new-chat-button-mobile-proof.txt` (+11 -0) ➕ `docs/pr-evidence/issue-568/start-new-chat-button-mobile.png` (+0 -0) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+22 -0) 📝 `packages/client/src/components/characters/CharacterLibraryView.tsx` (+22 -1) 📝 `packages/client/src/components/panels/BotBrowserPanel.tsx` (+15 -78) 📝 `packages/client/src/components/panels/CharactersPanel.tsx` (+16 -74) ➕ `packages/client/src/hooks/use-start-chat-from-character.ts` (+88 -0) </details> ### 📄 Description ## Linked issue Closes #568 ## Why this change Mobile users had no reliable direct action to start a new chat from a character card. This adds a visible Start New Chat control to the character detail surfaces and reuses it everywhere the shortcut appears. ## What changed - Added a shared `useStartChatFromCharacter` hook for the chat-start flow. - Added Start New Chat buttons to the character editor and library detail card. - Switched the character panel and bot browser context menus to the shared helper. - Added mobile proof evidence for the character detail surface. ## 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` passed. - Playwright verified the mobile character detail surface shows a Start New Chat button and captured `docs/pr-evidence/issue-568/start-new-chat-button-mobile.png`. - Proof note: `docs/pr-evidence/issue-568/start-new-chat-button-mobile-proof.txt`. ## Docs and release impact - [x] 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) ![Start New Chat button on mobile](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/624fb828a04cf1929cb80ebd6c8212bee2ab0a64/docs/pr-evidence/issue-568/start-new-chat-button-mobile.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:09:47 +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#4681
No description provided.