[PR #5320] [MERGED] fix(chat settings): neutralize stop generation action #6727

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

📋 Pull Request Information

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

Base: staging ← Head: fix/chat-settings-generation-action-style


📝 Commits (1)

  • 5234e48 fix(chat-settings): neutralize stop generation action

📊 Changes

3 files changed (+17 additions, -4 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+4 -4)
📝 scripts/regressions/open-issues.regression.ts (+12 -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 #5319

Why this change

  • The transient Stop Active Generation action used red destructive styling, which made it look like a persistent setting the user had enabled. It should read as a contextual action alongside the other neutral Chat Settings controls.

What changed

  • Reused the drawer's existing secondary, accent, and muted theme tokens for the action.
  • Preserved the existing conditional visibility and stop behavior.
  • Added a focused source regression guard 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

Automated validation performed before submission:

  • pnpm check
  • node ./scripts/run-regressions.mjs --filter scripts/regressions/open-issues.regression.ts
  • pnpm --filter @marinara-engine/client lint
  • git diff --check

Manual verification notes

  • Manual browser verification remains for the maintainer: start a Roleplay generation or agent run, open Chat Settings, and confirm the transient action matches neighboring controls in light and dark themes.

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 § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

A user-facing [Unreleased] changelog entry is included. No user documentation, translated documentation, or version files changed.

UI evidence (if applicable)

  • No screenshot attached; manual visual verification is called out above.

Summary by CodeRabbit

  • Style
    • Updated the Chat Settings “Stop Active Generation” action with a neutral visual style instead of destructive red styling.
    • Improved consistency across the button, description text, and icons.
  • Tests
    • Added regression coverage to verify the updated styling and hover behavior.

🔄 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/5320 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/20/2026 **Status:** ✅ Merged **Merged:** 8/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/chat-settings-generation-action-style` --- ### 📝 Commits (1) - [`5234e48`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5234e48574698b1d7c1f1e99205b72da1d1ac200) fix(chat-settings): neutralize stop generation action ### 📊 Changes **3 files changed** (+17 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+4 -4) 📝 `scripts/regressions/open-issues.regression.ts` (+12 -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 § Branches. --> ## Linked issue Closes #5319 ## Why this change - The transient Stop Active Generation action used red destructive styling, which made it look like a persistent setting the user had enabled. It should read as a contextual action alongside the other neutral Chat Settings controls. ## What changed - Reused the drawer's existing secondary, accent, and muted theme tokens for the action. - Preserved the existing conditional visibility and stop behavior. - Added a focused source regression guard 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` Automated validation performed before submission: - `pnpm check` - `node ./scripts/run-regressions.mjs --filter scripts/regressions/open-issues.regression.ts` - `pnpm --filter @marinara-engine/client lint` - `git diff --check` ### Manual verification notes - Manual browser verification remains for the maintainer: start a Roleplay generation or agent run, open Chat Settings, and confirm the transient action matches neighboring controls in light and dark themes. ## 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 § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) A user-facing `[Unreleased]` changelog entry is included. No user documentation, translated documentation, or version files changed. ## UI evidence (if applicable) - No screenshot attached; manual visual verification is called out above. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Updated the Chat Settings “Stop Active Generation” action with a neutral visual style instead of destructive red styling. * Improved consistency across the button, description text, and icons. * **Tests** * Added regression coverage to verify the updated styling and hover behavior. <!-- 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:13:07 +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#6727
No description provided.