[PR #540] [MERGED] Filter incompatible model picker connections #4662

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/540
Author: @cha1latte
Created: 5/7/2026
Status: ✅ Merged
Merged: 5/7/2026
Merged by: @cha1latte

Base: main ← Head: fix/issue-532-model-picker-filters


📝 Commits (1)

  • 4651044 Filter incompatible model picker connections

📊 Changes

6 files changed (+8 additions, -3 deletions)

View changed files

➕ docs/pr-evidence/issue-532/conversation-picker-after.png (+0 -0)
➕ docs/pr-evidence/issue-532/conversation-picker-before.png (+0 -0)
➕ docs/pr-evidence/issue-532/selfie-picker-after.png (+0 -0)
➕ docs/pr-evidence/issue-532/selfie-picker-before.png (+0 -0)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+1 -1)
📝 packages/client/src/components/chat/ChatSetupWizard.tsx (+7 -2)

📄 Description

Linked issue

Closes #532

Why this change

  • Some model pickers offered incompatible connection types: conversation selfies could select text models, and new conversation setup could select image-generation models.

What changed

  • Filter the Conversation Selfie Connection picker to the existing image-generation connection list.
  • Filter the new Conversation setup connection picker to non-image-generation connections while still using the full connection list to read selected defaults.
  • Add scoped before/after UI evidence for the affected pickers.

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

  • pnpm check passed locally in D:\dev\Marinara-Engine-issue-532.
  • Scratch repro node scratch\issue-532\model-picker-filter-repro.mjs failed before the fix for the Selfie and new Conversation pickers, then passed after the fix.
  • Ran an isolated local app with fixture text and image-generation connections.
  • Verified the patched Selfie Connection dropdown shows only the image-generation fixture and excludes the text fixture.
  • Verified the patched new Conversation setup dropdown shows only the text fixture and excludes the image-generation fixture.
  • Verified the existing Game Mode image picker reference remains image-only in the scratch harness.
  • Container build/run was not performed; this change is client-only picker filtering and was covered by pnpm check plus local browser verification.

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)

Before, the Selfie Connection picker included both image and text connections:

Selfie picker before

After, the Selfie Connection picker only includes image-generation connections:

Selfie picker after

Before, the new Conversation setup picker included both image and text connections:

Conversation picker before

After, the new Conversation setup picker only includes text-capable connections:

Conversation picker after

Summary by CodeRabbit

  • Bug Fixes
    • Fixed connection dropdown filters in chat settings and setup wizard to display only relevant providers for each context (image generation for selfie settings, text-capable providers for conversation setup).

🔄 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/540 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/7/2026 **Status:** ✅ Merged **Merged:** 5/7/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `main` ← **Head:** `fix/issue-532-model-picker-filters` --- ### 📝 Commits (1) - [`4651044`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4651044637a82e8c34a527b58db4c315aa876500) Filter incompatible model picker connections ### 📊 Changes **6 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/issue-532/conversation-picker-after.png` (+0 -0) ➕ `docs/pr-evidence/issue-532/conversation-picker-before.png` (+0 -0) ➕ `docs/pr-evidence/issue-532/selfie-picker-after.png` (+0 -0) ➕ `docs/pr-evidence/issue-532/selfie-picker-before.png` (+0 -0) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+1 -1) 📝 `packages/client/src/components/chat/ChatSetupWizard.tsx` (+7 -2) </details> ### 📄 Description ## Linked issue <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> Closes #532 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - Some model pickers offered incompatible connection types: conversation selfies could select text models, and new conversation setup could select image-generation models. ## What changed <!-- List the key changes in this PR --> - Filter the Conversation Selfie Connection picker to the existing image-generation connection list. - Filter the new Conversation setup connection picker to non-image-generation connections while still using the full connection list to read selected defaults. - Add scoped before/after UI evidence for the affected pickers. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes <!-- Describe exactly what you tested in a real browser/app, step by step. --> <!-- ⚠️ If an AI agent filled out or ticked these boxes for you, treat them --> <!-- as a TO-DO LIST, not as proof the work is done. Verify each item yourself --> <!-- before submitting. If you haven't verified it, untick the box. --> - `pnpm check` passed locally in `D:\dev\Marinara-Engine-issue-532`. - Scratch repro `node scratch\issue-532\model-picker-filter-repro.mjs` failed before the fix for the Selfie and new Conversation pickers, then passed after the fix. - Ran an isolated local app with fixture text and image-generation connections. - Verified the patched Selfie Connection dropdown shows only the image-generation fixture and excludes the text fixture. - Verified the patched new Conversation setup dropdown shows only the text fixture and excludes the image-generation fixture. - Verified the existing Game Mode image picker reference remains image-only in the scratch harness. - Container build/run was not performed; this change is client-only picker filtering and was covered by `pnpm check` plus local browser verification. ## Docs and release impact - [x] 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) Before, the Selfie Connection picker included both image and text connections: ![Selfie picker before](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/4651044637a82e8c34a527b58db4c315aa876500/docs/pr-evidence/issue-532/selfie-picker-before.png) After, the Selfie Connection picker only includes image-generation connections: ![Selfie picker after](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/4651044637a82e8c34a527b58db4c315aa876500/docs/pr-evidence/issue-532/selfie-picker-after.png) Before, the new Conversation setup picker included both image and text connections: ![Conversation picker before](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/4651044637a82e8c34a527b58db4c315aa876500/docs/pr-evidence/issue-532/conversation-picker-before.png) After, the new Conversation setup picker only includes text-capable connections: ![Conversation picker after](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/4651044637a82e8c34a527b58db4c315aa876500/docs/pr-evidence/issue-532/conversation-picker-after.png) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed connection dropdown filters in chat settings and setup wizard to display only relevant providers for each context (image generation for selfie settings, text-capable providers for conversation setup). <!-- 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-22 04:09:35 +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#4662
No description provided.