[PR #3798] [MERGED] fix: restore chroma styling for Roleplay transcript controls #6107

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

📋 Pull Request Information

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

Base: staging ← Head: agent/3797-roleplay-transcript-chroma


📝 Commits (4)

  • 33c88ae chore: start issue 3797
  • b6a307d Merge branch 'staging' into agent/3797-roleplay-transcript-chroma
  • 1ec1f77 fix: restore chroma transcript controls
  • 631df46 Merge remote-tracking branch 'origin/agent/3797-roleplay-transcript-chroma' into agent/3797-roleplay-transcript-chroma

📊 Changes

2 files changed (+18 additions, -12 deletions)

View changed files

📝 packages/client/src/components/chat/TranscriptWindowControls.tsx (+5 -12)
📝 scripts/regressions/open-issues.regression.ts (+13 -0)

📄 Description

Linked issue

Closes #3797

Why this change

  • Roleplay's upper transcript-window control retained legacy muted text and secondary-button styling, so Show older (number) ignored the configured chroma accent and no longer matched the current controls.

What changed

  • Replace the shared transcript-window control's legacy button utilities with the existing small mari-chrome-control treatment.
  • Apply the chroma-aware design consistently to Show older, Show newer, and Latest without changing their pagination behavior.
  • Add a regression guard that rejects the legacy muted-foreground styling and verifies all three controls reuse the shared class.

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 locally.
  • Automated: pnpm build:shared followed by pnpm regression:issues passed on the final pushed staging lineage.
  • Automated: the existing Roleplay surface smoke passed on desktop and mobile Chromium (2/2).
  • Manual browser inspection was not completed because the in-app browser connection could not initialize. Verify a windowed Roleplay transcript with a non-default chroma accent before merge.
  • A broader smoke invocation was stopped after encountering the unrelated existing desktop Roleplay panel timing failure; the correctly scoped Roleplay rerun passed.

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)

  • Not captured because the in-app browser connection was unavailable.

Summary by CodeRabbit

  • Style
    • Standardized styling for transcript navigation buttons, including “Show older,” “Show newer,” and “Latest.”
    • Updated the button appearance to use the intended text color styling consistently.
  • Tests
    • Added regression coverage to verify consistent transcript navigation button styling.

🔄 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/3798 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/18/2026 **Status:** ✅ Merged **Merged:** 7/18/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/3797-roleplay-transcript-chroma` --- ### 📝 Commits (4) - [`33c88ae`](https://github.com/Pasta-Devs/Marinara-Engine/commit/33c88ae926cf56d7320eea156b1a60ad4cea54d0) chore: start issue 3797 - [`b6a307d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b6a307db270717a3dbea1da4fe6eaeec23e67e22) Merge branch 'staging' into agent/3797-roleplay-transcript-chroma - [`1ec1f77`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1ec1f77ba28d78097c8b5b4857c6a0bd46074f79) fix: restore chroma transcript controls - [`631df46`](https://github.com/Pasta-Devs/Marinara-Engine/commit/631df4609fe5ab8537d1cb37124c91631892868e) Merge remote-tracking branch 'origin/agent/3797-roleplay-transcript-chroma' into agent/3797-roleplay-transcript-chroma ### 📊 Changes **2 files changed** (+18 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/TranscriptWindowControls.tsx` (+5 -12) 📝 `scripts/regressions/open-issues.regression.ts` (+13 -0) </details> ### 📄 Description ## Linked issue Closes #3797 ## Why this change - Roleplay's upper transcript-window control retained legacy muted text and secondary-button styling, so `Show older (number)` ignored the configured chroma accent and no longer matched the current controls. ## What changed - Replace the shared transcript-window control's legacy button utilities with the existing small `mari-chrome-control` treatment. - Apply the chroma-aware design consistently to `Show older`, `Show newer`, and `Latest` without changing their pagination behavior. - Add a regression guard that rejects the legacy muted-foreground styling and verifies all three controls reuse the shared class. ## 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 locally. - Automated: `pnpm build:shared` followed by `pnpm regression:issues` passed on the final pushed staging lineage. - Automated: the existing Roleplay surface smoke passed on desktop and mobile Chromium (2/2). - Manual browser inspection was not completed because the in-app browser connection could not initialize. Verify a windowed Roleplay transcript with a non-default chroma accent before merge. - A broader smoke invocation was stopped after encountering the unrelated existing desktop Roleplay panel timing failure; the correctly scoped Roleplay rerun passed. ## 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) - Not captured because the in-app browser connection was unavailable. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Standardized styling for transcript navigation buttons, including “Show older,” “Show newer,” and “Latest.” * Updated the button appearance to use the intended text color styling consistently. * **Tests** * Added regression coverage to verify consistent transcript navigation button styling. <!-- 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:07:09 +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#6107
No description provided.