[PR #5769] [MERGED] feat: add toggle for recurring paid connection warning #6925

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5769
Author: @Gunterlie
Created: 9/2/2026
Status: ✅ Merged
Merged: 9/2/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/5767-paid-connection-warning


📝 Commits (4)

  • 8707b91 feat: add paid agent connection warning toggle
  • d394df4 Merge remote-tracking branch 'origin/staging' into fix/5767-paid-connection-warning
  • 40435ec fix: correct Anthropic regression request index
  • d8f58b2 fix: address PR review warnings

📊 Changes

6 files changed (+31 additions, -2 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+16 -1)
📝 packages/client/src/hooks/use-generate.ts (+2 -0)
📝 packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/client/src/stores/ui.store.ts (+7 -0)
📝 scripts/regressions/provider-compat.regression.ts (+2 -1)

📄 Description

Linked issue

Closes #5767

Why this change

Users who keep agents on a paid connection see the same warning again after returning to Marinara Engine, especially on Android. The warning is useful by default, but some users need a persistent way to disable it.

What changed

  • Added a persisted toggle under Connections -> Defaults -> Agents.
  • The toggle defaults to enabled.
  • Disabling the toggle suppresses only the default agent connection warning.
  • Added English localization 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 validation completed locally: pnpm check, pnpm regression:prompt, pnpm localization:check, pnpm guard:installer-artifacts.
  • Manual browser verification remains required for the human contributor.

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)

UI evidence (if applicable)

  • Add before/after screenshots after manual browser verification.

Summary by CodeRabbit

  • New Features

    • Added a setting under Connections → Defaults → Agents to show or hide recurring warnings when agents use the configured default connection.
    • The preference is saved and synchronized across sessions.
    • Added explanatory help text for the new setting.
  • Bug Fixes

    • The recurring warning now respects the configured preference and remains hidden when disabled.
  • Documentation

    • Added an Unreleased changelog entry describing the new warning preference.

🔄 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/5769 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/2/2026 **Status:** ✅ Merged **Merged:** 9/2/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/5767-paid-connection-warning` --- ### 📝 Commits (4) - [`8707b91`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8707b91984037a40698bfa32697df378d7a7699b) feat: add paid agent connection warning toggle - [`d394df4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d394df4c6a81bbf4b91a937201ba5a0516168493) Merge remote-tracking branch 'origin/staging' into fix/5767-paid-connection-warning - [`40435ec`](https://github.com/Pasta-Devs/Marinara-Engine/commit/40435ec56cc240b7159ccab79429df0a65af1dc5) fix: correct Anthropic regression request index - [`d8f58b2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d8f58b2f10371453dfe38cfd237144ab562b2327) fix: address PR review warnings ### 📊 Changes **6 files changed** (+31 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+16 -1) 📝 `packages/client/src/hooks/use-generate.ts` (+2 -0) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/client/src/stores/ui.store.ts` (+7 -0) 📝 `scripts/regressions/provider-compat.regression.ts` (+2 -1) </details> ### 📄 Description ## Linked issue Closes #5767 ## Why this change Users who keep agents on a paid connection see the same warning again after returning to Marinara Engine, especially on Android. The warning is useful by default, but some users need a persistent way to disable it. ## What changed - Added a persisted toggle under Connections -> Defaults -> Agents. - The toggle defaults to enabled. - Disabling the toggle suppresses only the default agent connection warning. - Added English localization 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 validation completed locally: `pnpm check`, `pnpm regression:prompt`, `pnpm localization:check`, `pnpm guard:installer-artifacts`. - Manual browser verification remains required for the human contributor. ## 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 § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Add before/after screenshots after manual browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a setting under **Connections → Defaults → Agents** to show or hide recurring warnings when agents use the configured default connection. * The preference is saved and synchronized across sessions. * Added explanatory help text for the new setting. * **Bug Fixes** * The recurring warning now respects the configured preference and remains hidden when disabled. * **Documentation** * Added an Unreleased changelog entry describing the new warning preference. <!-- 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:14:56 +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#6925
No description provided.