[PR #4664] [MERGED] Fix pnpm bootstrap and tracker prompt selection #6459

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

📋 Pull Request Information

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

Base: staging ← Head: agent/4662-4663-installer-tracker


📝 Commits (4)

  • 8d4622d start issues 4662 and 4663
  • 47d3381 fix assigned installer and client issues
  • d0e8c12 apply CodeRabbit installer review fixes
  • f2d65b6 strengthen pnpm fallback regression guard

📊 Changes

8 files changed (+118 additions, -17 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 e2e/core-flows.e2e.ts (+24 -3)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+15 -0)
📝 packages/client/src/components/ui/EditorAvatarTileActions.tsx (+3 -3)
📝 packages/client/src/styles/globals.css (+5 -10)
📝 scripts/check-windows-installer-layout.mjs (+32 -0)
📝 scripts/regressions/roleplay-streaming.regression.ts (+7 -0)
📝 win/installer/installer.nsi (+28 -1)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository’s staging branch or a same-repository hotfix/* branch to main.

Linked issue

Closes #4662
Closes #4663
Closes #4665
Closes #4666

Why this change

  • Fresh Windows installs can reach the pnpm fallback and still abort, active Roleplay trackers hide their saved prompt choices, editor avatar upload glyphs are misaligned, and mobile topbar controls cluster into unequal groups.

What changed

  • Install the repository-pinned pnpm through npm when Corepack, an existing pnpm, and the temporary npx runner are unavailable.
  • Show the existing prompt-template selector for active Roleplay tracker agents.
  • Center the shared Character/Persona avatar upload camera without overlapping the AI-generation badge.
  • Distribute every visible mobile topbar action evenly across the available width while retaining the desktop layout.
  • Add focused installer, source-regression, and desktop/mobile browser coverage plus Unreleased changelog entries.

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

Validation performed by the coding agent:

  • pnpm check
  • pnpm version:check
  • pnpm guard:installer-artifacts
  • node scripts/check-windows-installer-layout.mjs
  • makensis -DRELEASE_COMMIT=<branch commit> win/installer/installer.nsi
  • Focused Playwright coverage for both avatar editors and the topbar on desktop and mobile

Manual verification notes

  • Manually verify an active Character, Persona, or Quest Tracker with multiple prompt templates in a real Roleplay chat.
  • Manually verify the rebuilt v2.4.1 executable on a clean Windows environment without pnpm.

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] <paths> follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Automated Chromium geometry checks verify the camera center, non-overlap, equal mobile icon spacing, and unchanged desktop navigation behavior.

Summary by CodeRabbit

  • New Features

    • Roleplay tracker agents in Chat Settings now support selecting and overriding prompt templates.
  • Bug Fixes

    • Improved avatar camera-overlay centering and sizing.
    • Mobile topbar icons now distribute spacing more evenly.
    • Windows installation can automatically install the required pnpm version when other options are unavailable, with clearer recovery guidance.

🔄 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/4664 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/6/2026 **Status:** ✅ Merged **Merged:** 8/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/4662-4663-installer-tracker` --- ### 📝 Commits (4) - [`8d4622d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8d4622da1ba9dbaddacebcce53f88db9ca2badd7) start issues 4662 and 4663 - [`47d3381`](https://github.com/Pasta-Devs/Marinara-Engine/commit/47d33810a1db1d2ab18df41cf01972e9b03028a3) fix assigned installer and client issues - [`d0e8c12`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d0e8c12977edebf618ee413432621219d483ebd0) apply CodeRabbit installer review fixes - [`f2d65b6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f2d65b61186f658abb7812355b8975bf4e2f2a04) strengthen pnpm fallback regression guard ### 📊 Changes **8 files changed** (+118 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `e2e/core-flows.e2e.ts` (+24 -3) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+15 -0) 📝 `packages/client/src/components/ui/EditorAvatarTileActions.tsx` (+3 -3) 📝 `packages/client/src/styles/globals.css` (+5 -10) 📝 `scripts/check-windows-installer-layout.mjs` (+32 -0) 📝 `scripts/regressions/roleplay-streaming.regression.ts` (+7 -0) 📝 `win/installer/installer.nsi` (+28 -1) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository’s `staging` branch or a same-repository `hotfix/*` branch to `main`. ## Linked issue Closes #4662 Closes #4663 Closes #4665 Closes #4666 ## Why this change - Fresh Windows installs can reach the pnpm fallback and still abort, active Roleplay trackers hide their saved prompt choices, editor avatar upload glyphs are misaligned, and mobile topbar controls cluster into unequal groups. ## What changed - Install the repository-pinned pnpm through npm when Corepack, an existing pnpm, and the temporary npx runner are unavailable. - Show the existing prompt-template selector for active Roleplay tracker agents. - Center the shared Character/Persona avatar upload camera without overlapping the AI-generation badge. - Distribute every visible mobile topbar action evenly across the available width while retaining the desktop layout. - Add focused installer, source-regression, and desktop/mobile browser coverage plus Unreleased changelog entries. ## 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` Validation performed by the coding agent: - `pnpm check` - `pnpm version:check` - `pnpm guard:installer-artifacts` - `node scripts/check-windows-installer-layout.mjs` - `makensis -DRELEASE_COMMIT=<branch commit> win/installer/installer.nsi` - Focused Playwright coverage for both avatar editors and the topbar on desktop and mobile ### Manual verification notes - Manually verify an active Character, Persona, or Quest Tracker with multiple prompt templates in a real Roleplay chat. - Manually verify the rebuilt v2.4.1 executable on a clean Windows environment without pnpm. ## 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] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Automated Chromium geometry checks verify the camera center, non-overlap, equal mobile icon spacing, and unchanged desktop navigation behavior. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Roleplay tracker agents in Chat Settings now support selecting and overriding prompt templates. - **Bug Fixes** - Improved avatar camera-overlay centering and sizing. - Mobile topbar icons now distribute spacing more evenly. - Windows installation can automatically install the required pnpm version when other options are unavailable, with clearer recovery guidance. <!-- 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:38 +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#6459
No description provided.