[PR #5884] [MERGED] fix: unify Roleplay picker and group agent activity outputs #6984

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5883-roleplay-agent-menu


📝 Commits (4)

  • dc102a5 chore: track Roleplay picker and agent activity fixes
  • 3408b71 fix: unify Roleplay picker and group agent activity outputs
  • dc4e4b5 Merge remote-tracking branch 'origin/staging' into fix/5883-roleplay-agent-menu
  • c9ca717 test: harden Roleplay activity regression fixtures

📊 Changes

6 files changed (+370 additions, -118 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 e2e/core-flows.e2e.ts (+194 -0)
📝 packages/client/src/components/agents/AgentTaskStatus.tsx (+88 -72)
📝 packages/client/src/components/chat/QuickSwitcherMobile.tsx (+4 -1)
📝 packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx (+81 -45)
📝 packages/client/src/localization/locales/en.json (+2 -0)

📄 Description

Linked issue

Closes #5883. Owner: @SpicyMarinara; implementation by Codex. Target: staging only.

Why this change

The mobile Roleplay Connections/Personas picker used the navy page background, unlike the character response selector. The agent menu separated every status report from every output, making it hard to follow an agent's result.

What changed

  • Reuse the character selector's existing card color for the mobile Roleplay picker; Conversation/Game styling is untouched.
  • Group reports by agent type, then render that agent's existing output cards directly below. Concurrent run metrics remain separate; output cards appear once.
  • Keep dismissal, Clear all, continuity rendering, saved custom-output editing, outputs without telemetry, and the reload fallback. Saved custom results are labelled "Latest saved output".
  • Keep the separate Echo Chamber window unchanged. No server/provider/package, data model, new setting, dependency, graphics or recovery changes.
  • Add English localization for the accessible dismissal label and saved-output label, plus an Unreleased changelog entry.

Validation

Automated results (not human checklist claims):

  • pnpm install and pnpm check pass, including localization, formatting, lint, TypeScript and production build.
  • Focused Playwright suite: 8 passed, 1 deliberately skipped (mobile-only picker on desktop), across desktop Chromium, mobile Chromium and mobile WebKit. Covers both picker tabs in dark/light/custom colors, viewport fit, agent/output matching, overlapping calls, dismissal, Clear all, saved custom editing/reload, and existing progress/usage/stopped-timer behavior.
  • Red proofs: picker background assertion failed with rgb(5,3,18) instead of the character selector's rgba(20,20,20,0.85); output-grouping assertion failed before the layout change.
  • Production Docker Linux/arm64 image built and ran successfully at integrated head dc4e4b56abb7ce901d72c85d44256a1ac69b7135. Mobile WebKit verified health/build, both picker tabs, and a synthetic SSE result arriving under its status before the stream closes, followed by dismissal; no page errors. Normal production API rate limits stayed enabled.
  • After incorporating the unrelated staging update (#5882), pnpm check and all 8 focused browser checks passed again. The existing agent-progress Node regression also passed.
  • CodeRabbit's follow-up review covers c9ca7176bc831fec6c763bfef5008f51413e61b4 with no new actionable comments; all five initial test-fixture comments are addressed. The follow-up is test-only; pnpm check and all 8 focused browser checks pass at this head. All required CI checks and the full Release Regression Matrix passed before merge.
  • Merged into staging as 4666e71ce4344f6526e53ce7fa22c686c6dac8d1; main is unchanged.

Human verification to-do list (intentionally unchecked):

  • 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

  • Manually compare both mobile Roleplay picker tabs with the character response selector using your theme.
  • Manually verify live agent results appear beneath their own reports, and dismiss/edit controls still work.
  • Manually verify the separate Echo Chamber window is unchanged on iPhone Home Screen.

Browser proof uses synthetic fixtures; no private screenshots or paid providers. Physical iPhone Home Screen/live provider generations were not exercised. This focused UI PR makes no claim about the separate black-screen investigation (#5870).

Docs and release impact

CHANGELOG updated. No user-guide or version/release changes; no docs-i18n follow-up needed.

UI evidence

Before/after browser screenshots and proof details. Download and open proof.html to view the embedded synthetic screenshots.


🔄 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/5884 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/6/2026 **Status:** ✅ Merged **Merged:** 9/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5883-roleplay-agent-menu` --- ### 📝 Commits (4) - [`dc102a5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dc102a53c43deb58b69b4ae890c53fee27a2274b) chore: track Roleplay picker and agent activity fixes - [`3408b71`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3408b715481ea20cd688d3ae2741d1c75933bbd4) fix: unify Roleplay picker and group agent activity outputs - [`dc4e4b5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dc4e4b56abb7ce901d72c85d44256a1ac69b7135) Merge remote-tracking branch 'origin/staging' into fix/5883-roleplay-agent-menu - [`c9ca717`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c9ca7176bc831fec6c763bfef5008f51413e61b4) test: harden Roleplay activity regression fixtures ### 📊 Changes **6 files changed** (+370 additions, -118 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `e2e/core-flows.e2e.ts` (+194 -0) 📝 `packages/client/src/components/agents/AgentTaskStatus.tsx` (+88 -72) 📝 `packages/client/src/components/chat/QuickSwitcherMobile.tsx` (+4 -1) 📝 `packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx` (+81 -45) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) </details> ### 📄 Description ## Linked issue Closes #5883. Owner: @SpicyMarinara; implementation by Codex. Target: **staging only**. ## Why this change The mobile Roleplay Connections/Personas picker used the navy page background, unlike the character response selector. The agent menu separated every status report from every output, making it hard to follow an agent's result. ## What changed - Reuse the character selector's existing card color for the mobile Roleplay picker; Conversation/Game styling is untouched. - Group reports by agent type, then render that agent's existing output cards directly below. Concurrent run metrics remain separate; output cards appear once. - Keep dismissal, Clear all, continuity rendering, saved custom-output editing, outputs without telemetry, and the reload fallback. Saved custom results are labelled "Latest saved output". - Keep the separate Echo Chamber window unchanged. No server/provider/package, data model, new setting, dependency, graphics or recovery changes. - Add English localization for the accessible dismissal label and saved-output label, plus an Unreleased changelog entry. ## Validation Automated results (not human checklist claims): - `pnpm install` and `pnpm check` pass, including localization, formatting, lint, TypeScript and production build. - Focused Playwright suite: **8 passed, 1 deliberately skipped** (mobile-only picker on desktop), across desktop Chromium, mobile Chromium and mobile WebKit. Covers both picker tabs in dark/light/custom colors, viewport fit, agent/output matching, overlapping calls, dismissal, Clear all, saved custom editing/reload, and existing progress/usage/stopped-timer behavior. - Red proofs: picker background assertion failed with `rgb(5,3,18)` instead of the character selector's `rgba(20,20,20,0.85)`; output-grouping assertion failed before the layout change. - Production Docker Linux/arm64 image built and ran successfully at integrated head `dc4e4b56abb7ce901d72c85d44256a1ac69b7135`. Mobile WebKit verified health/build, both picker tabs, and a synthetic SSE result arriving under its status before the stream closes, followed by dismissal; no page errors. Normal production API rate limits stayed enabled. - After incorporating the unrelated staging update (#5882), `pnpm check` and all 8 focused browser checks passed again. The existing agent-progress Node regression also passed. - CodeRabbit's follow-up review covers `c9ca7176bc831fec6c763bfef5008f51413e61b4` with no new actionable comments; all five initial test-fixture comments are addressed. The follow-up is test-only; `pnpm check` and all 8 focused browser checks pass at this head. All required CI checks and the full Release Regression Matrix passed before merge. - Merged into staging as `4666e71ce4344f6526e53ce7fa22c686c6dac8d1`; main is unchanged. Human verification to-do list (intentionally unchecked): - [ ] `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 - Manually compare both mobile Roleplay picker tabs with the character response selector using your theme. - Manually verify live agent results appear beneath their own reports, and dismiss/edit controls still work. - Manually verify the separate Echo Chamber window is unchanged on iPhone Home Screen. Browser proof uses synthetic fixtures; no private screenshots or paid providers. Physical iPhone Home Screen/live provider generations were not exercised. This focused UI PR makes no claim about the separate black-screen investigation (#5870). ## Docs and release impact CHANGELOG updated. No user-guide or version/release changes; no docs-i18n follow-up needed. ## UI evidence [Before/after browser screenshots and proof details](https://gist.github.com/SpicyMarinara/6aa19cf0b1a6a5dabe52a2725083d02c). Download and open `proof.html` to view the embedded synthetic screenshots. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:15:28 +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#6984
No description provided.