[PR #8937] [MERGED] fix(client): character names in Chat Settings open the full card again #8894

Closed
opened 2026-11-07 20:43:05 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix/roleplay-character-card-link


📝 Commits (4)

  • ed1313e fix(client): character names in Chat Settings open the full card again
  • 20ae268 fix(client): open the card only after the drawer's guarded close; finish inline card saves first
  • 4780082 fix(client): a failed inline card save keeps Chat Settings open, even if a later one succeeds
  • 0472ce4 Merge remote-tracking branch 'origin/staging' into fix/roleplay-character-card-link

📊 Changes

4 files changed (+109 additions, -24 deletions)

View changed files

📝 docs/chats/group-chats.md (+2 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+43 -20)
📝 packages/client/src/features/chat-settings/inline-editors/InlineChatCardEditor.tsx (+24 -1)
📝 scripts/regressions/open-issues.regression.ts (+40 -2)

📄 Description

Linked issue

Closes #8933

Why this change

Since 4531dbd9e5, clicking a character's name in Chat Settings opens the multi-character picker instead of that character's card. Players lost the direct way to the full card, and the row's pencil edits only a few fields inline: no Scenario, Depth Prompt or embedded lorebooks. The picker is still useful, but Add Character already opens the same picker with the chat's members checked.

What changed

  • packages/client/src/components/chat/ChatSettingsDrawer.tsx:
    • In the Characters list (Roleplay and Conversation), a member's name closes Chat Settings and opens that character's full card again, through the existing openCharacterDetail(id, { initialTab: "card" }) and the existing "Open character card" label.
    • The same commit had changed Game Mode's party rows in the same way, so they get the same fix.
    • Add Character still opens the multi-picker in both places.
  • docs/chats/group-chats.md: the table says Add Character changes several members at once, and a member's name opens their full card.

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

Run by the agent (not a substitute for the boxes above):

  • pnpm check and the client tsc --noEmit: pass.
  • No new strings; the existing localized title is reused.

Still to verify by hand:

  • Manually verify in Roleplay → Chat Settings → Characters that clicking a member's name closes the drawer and opens their card on the Card tab, showing Scenario, Depth Prompt and embedded lorebooks.
  • Manually verify that Add Character opens the picker with the members checked, and that adding and removing still work.
  • Manually verify the same in Game Mode → Chat Settings → Party.
  • Manually verify on a phone that the name button and drag handle still work, and that keyboard Tab reaches the name and opens the card with Enter.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

🤖 Generated with Claude Code


🔄 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/8937 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/7/2026 **Status:** ✅ Merged **Merged:** 11/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/roleplay-character-card-link` --- ### 📝 Commits (4) - [`ed1313e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ed1313e1d70caae2dbd12fe167446f48bbdcedc1) fix(client): character names in Chat Settings open the full card again - [`20ae268`](https://github.com/Pasta-Devs/Marinara-Engine/commit/20ae268bf54143bea587fcd20f649e17fb616c6b) fix(client): open the card only after the drawer's guarded close; finish inline card saves first - [`4780082`](https://github.com/Pasta-Devs/Marinara-Engine/commit/47800821bc916db7cc57cae3b6c3308eecb7e557) fix(client): a failed inline card save keeps Chat Settings open, even if a later one succeeds - [`0472ce4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0472ce49448ca42907f70b35ed88f96811eec536) Merge remote-tracking branch 'origin/staging' into fix/roleplay-character-card-link ### 📊 Changes **4 files changed** (+109 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `docs/chats/group-chats.md` (+2 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+43 -20) 📝 `packages/client/src/features/chat-settings/inline-editors/InlineChatCardEditor.tsx` (+24 -1) 📝 `scripts/regressions/open-issues.regression.ts` (+40 -2) </details> ### 📄 Description ## Linked issue Closes #8933 ## Why this change Since 4531dbd9e5, clicking a character's name in Chat Settings opens the multi-character picker instead of that character's card. Players lost the direct way to the full card, and the row's pencil edits only a few fields inline: no Scenario, Depth Prompt or embedded lorebooks. The picker is still useful, but **Add Character** already opens the same picker with the chat's members checked. ## What changed - `packages/client/src/components/chat/ChatSettingsDrawer.tsx`: - In the **Characters** list (Roleplay and Conversation), a member's name closes Chat Settings and opens that character's full card again, through the existing `openCharacterDetail(id, { initialTab: "card" })` and the existing "Open character card" label. - The same commit had changed Game Mode's party rows in the same way, so they get the same fix. - **Add Character** still opens the multi-picker in both places. - `docs/chats/group-chats.md`: the table says **Add Character** changes several members at once, and a member's name opens their full card. ## 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 Run by the agent (not a substitute for the boxes above): - `pnpm check` and the client `tsc --noEmit`: pass. - No new strings; the existing localized title is reused. Still to verify by hand: - Manually verify in Roleplay → Chat Settings → Characters that clicking a member's name closes the drawer and opens their card on the Card tab, showing Scenario, Depth Prompt and embedded lorebooks. - Manually verify that **Add Character** opens the picker with the members checked, and that adding and removing still work. - Manually verify the same in Game Mode → Chat Settings → Party. - Manually verify on a phone that the name button and drag handle still work, and that keyboard Tab reaches the name and opens the card with Enter. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README) as needed - [x] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi changed title from [PR #8937] fix(client): character names in Chat Settings open the full card again to [PR #8937] [MERGED] fix(client): character names in Chat Settings open the full card again 2026-11-07 21:50:03 +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#8894
No description provided.