[PR #1095] [MERGED] Add active context quick links to roleplay toolbar #4921

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

📋 Pull Request Information

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

Base: staging ← Head: feature/issue-1078-active-context-links-staging


📝 Commits (1)

  • 96d5f8e Add roleplay active context quick links

📊 Changes

2 files changed (+150 additions, -0 deletions)

View changed files

➕ docs/pr-evidence/issue-1078/active-context-lorebook.png (+0 -0)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+150 -0)

📄 Description

Linked issue

Closes #1078

Why this change

  • Roleplay users inspecting active context had to leave the chat flow and navigate through separate panels to open the active character card, lorebook, or prompt preset.

What changed

  • Added an Active Context toolbar button to the roleplay surface.
  • The menu links to existing character, lorebook, and preset editors for the active chat context.
  • Kept the scope to navigation only; this does not embed editors or change context resolution.

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

  • Codex ran pnpm check successfully.
  • Codex ran the staging-based client locally and verified the roleplay toolbar shows Active Context.
  • Codex verified the menu showed active character, lorebook, and preset rows.
  • Codex clicked the Test Lorebook row and confirmed it opened the existing Test Lorebook editor.
  • Codex temporarily attached Test Lorebook to the local Fuka roleplay for proof, then restored activeLorebookIds to an empty list afterward.
  • Bunny review passed before opening this draft PR.

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)

Active Context lorebook link opens the existing lorebook editor


🔄 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/1095 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/22/2026 **Status:** ✅ Merged **Merged:** 5/22/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `feature/issue-1078-active-context-links-staging` --- ### 📝 Commits (1) - [`96d5f8e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/96d5f8ecf468eee57f3bbbef9da7529fa60e2947) Add roleplay active context quick links ### 📊 Changes **2 files changed** (+150 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/issue-1078/active-context-lorebook.png` (+0 -0) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+150 -0) </details> ### 📄 Description ## Linked issue Closes #1078 ## Why this change - Roleplay users inspecting active context had to leave the chat flow and navigate through separate panels to open the active character card, lorebook, or prompt preset. ## What changed - Added an Active Context toolbar button to the roleplay surface. - The menu links to existing character, lorebook, and preset editors for the active chat context. - Kept the scope to navigation only; this does not embed editors or change context resolution. ## 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 - Codex ran `pnpm check` successfully. - Codex ran the staging-based client locally and verified the roleplay toolbar shows Active Context. - Codex verified the menu showed active character, lorebook, and preset rows. - Codex clicked the `Test Lorebook` row and confirmed it opened the existing `Test Lorebook` editor. - Codex temporarily attached `Test Lorebook` to the local Fuka roleplay for proof, then restored `activeLorebookIds` to an empty list afterward. - Bunny review passed before opening this draft PR. ## 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) ![Active Context lorebook link opens the existing lorebook editor](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/96d5f8ecf468eee57f3bbbef9da7529fa60e2947/docs/pr-evidence/issue-1078/active-context-lorebook.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:45 +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#4921
No description provided.