[PR #4675] [MERGED] feat(client): open guided chat settings #6462

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4675
Author: @Promansis
Created: 8/6/2026
Status: ✅ Merged
Merged: 8/6/2026
Merged by: @Promansis

Base: staging ← Head: feature(client)/guided-onboarding-settings


📝 Commits (3)

  • e6a3bd0 feat(client): open guided chat settings
  • 4331f80 fix(client): close overlays before summary navigation
  • 82d0932 Merge branch 'staging' into feature(client)/guided-onboarding-settings

📊 Changes

8 files changed (+160 additions, -11 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+25 -4)
📝 packages/client/src/components/chat/ChatToolbarControls.tsx (+28 -0)
📝 packages/client/src/components/layout/AppShell.tsx (+23 -4)
📝 packages/client/src/components/presets/PresetEditor.tsx (+5 -1)
📝 packages/client/src/lib/chat-floating-ui-events.ts (+6 -0)
📝 packages/client/src/stores/ui.store.ts (+7 -2)
📝 scripts/regressions/open-issues.regression.ts (+65 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #4674

Why this change

Guided package onboarding can identify the relevant settings, but users still have to manually locate the active Roleplay chat's Summary settings and prompt preset editor. Direct navigation keeps the onboarding flow connected to the settings it is describing.

What changed

  • Added transient Summary-open requests scoped to the active chat, including mobile toolbar overflow handling.
  • Exposed host callbacks for opening Roleplay Summary settings and the active prompt preset's Sections editor.
  • Added one-shot initial-tab state for preset navigation while preserving Overview for ordinary preset-panel navigation.
  • Added source-level regression guards and an [Unreleased] changelog entry.

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

  • Automated pnpm check passed on the exact reviewed HEAD. Manual browser verification across desktop/mobile and light/dark themes was not performed.

Docs and release impact

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

UI evidence (if applicable)

Manual UI screenshots or recordings were not captured.

Summary by CodeRabbit

  • New Features

    • Added guided shortcuts from the active Roleplay chat to open its Summary popover.
    • Added shortcuts to open the active prompt preset directly in the Sections editor.
    • Navigation now opens the relevant panel, toolbar, and editor tab automatically.
  • Bug Fixes

    • Improved summary navigation across expanded and compact chat layouts.
    • Preserved default preset navigation when no specific editor tab is requested.
  • Tests

    • Added regression coverage for chat-summary and preset-editor navigation.

🔄 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/4675 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/6/2026 **Status:** ✅ Merged **Merged:** 8/6/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(client)/guided-onboarding-settings` --- ### 📝 Commits (3) - [`e6a3bd0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e6a3bd04118089b9474202ffefcf1670f4377111) feat(client): open guided chat settings - [`4331f80`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4331f803b0765e92a89df6412bb490dd1251b3fa) fix(client): close overlays before summary navigation - [`82d0932`](https://github.com/Pasta-Devs/Marinara-Engine/commit/82d093216fc078b947524f758c8f7146f3758f7b) Merge branch 'staging' into feature(client)/guided-onboarding-settings ### 📊 Changes **8 files changed** (+160 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+25 -4) 📝 `packages/client/src/components/chat/ChatToolbarControls.tsx` (+28 -0) 📝 `packages/client/src/components/layout/AppShell.tsx` (+23 -4) 📝 `packages/client/src/components/presets/PresetEditor.tsx` (+5 -1) 📝 `packages/client/src/lib/chat-floating-ui-events.ts` (+6 -0) 📝 `packages/client/src/stores/ui.store.ts` (+7 -2) 📝 `scripts/regressions/open-issues.regression.ts` (+65 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md section Branches. --> ## Linked issue Closes #4674 ## Why this change Guided package onboarding can identify the relevant settings, but users still have to manually locate the active Roleplay chat's Summary settings and prompt preset editor. Direct navigation keeps the onboarding flow connected to the settings it is describing. ## What changed - Added transient Summary-open requests scoped to the active chat, including mobile toolbar overflow handling. - Exposed host callbacks for opening Roleplay Summary settings and the active prompt preset's Sections editor. - Added one-shot initial-tab state for preset navigation while preserving Overview for ordinary preset-panel navigation. - Added source-level regression guards and an `[Unreleased]` changelog entry. ## Validation - [x] `pnpm check` passes locally - [x] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated `pnpm check` passed on the exact reviewed HEAD. Manual browser verification across desktop/mobile and light/dark themes was not performed. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md section Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Manual UI screenshots or recordings were not captured. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added guided shortcuts from the active Roleplay chat to open its Summary popover. * Added shortcuts to open the active prompt preset directly in the Sections editor. * Navigation now opens the relevant panel, toolbar, and editor tab automatically. * **Bug Fixes** * Improved summary navigation across expanded and compact chat layouts. * Preserved default preset navigation when no specific editor tab is requested. * **Tests** * Added regression coverage for chat-summary and preset-editor navigation. <!-- 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:10:39 +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#6462
No description provided.