[PR #5449] [MERGED] fix(ui): keep responsive editors within their intended bounds #6770

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5447-5448-responsive-editors


📝 Commits (2)

  • 58dc2b5 chore: start responsive editor fixes
  • c32dae4 fix(ui): keep responsive editors contained

📊 Changes

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

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/chat/ChatMessage.tsx (+2 -2)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+8 -6)

📄 Description

Linked issues

Closes #5447
Closes #5448

Why this change

  • Image Connection model fields could force the settings layout wider than an Android viewport.
  • Long message editors should retain the mobile scrolling safeguard without imposing the same fixed maximum height on desktop.

What changed

  • Let model selectors and manual model inputs shrink within narrow connection-editor rows, truncating only the non-editing display label.
  • Apply the existing message-editor height cap below the desktop breakpoint only.
  • Document both user-facing fixes in the changelog.

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 (formatting, lint, localization/context checks, and shared/server/client production builds).
  • git diff --check passed.
  • pnpm smoke:ui exercised all 384 desktop/mobile cases: 263 passed, 108 skipped, and 13 failed after the host ran out of disk space while Playwright wrote artifacts. The failures are outside the two touched components; adjacent connection, responsive-layout, Roleplay growth, editing, and streaming-height cases passed.
  • Direct Android Firefox and interactive long-message editing still need manual verification.

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

UI evidence (if applicable)

  • Existing issue screenshots define the overflow and desktop height regressions; this focused patch does not include new manual screenshots.

Summary by CodeRabbit

  • Bug Fixes
    • Improved Android layout behavior for Image Connection model controls.
    • Updated desktop message editors to expand with content while preserving mobile height limits.
    • Improved model selector and manual input behavior in narrow layouts, preventing overflow and enabling proper text truncation.

🔄 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/5449 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/23/2026 **Status:** ✅ Merged **Merged:** 8/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5447-5448-responsive-editors` --- ### 📝 Commits (2) - [`58dc2b5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/58dc2b5583896ec4d020906eb1d39d1717486c76) chore: start responsive editor fixes - [`c32dae4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c32dae485daa545f5adf8c4835e85f14e6768e79) fix(ui): keep responsive editors contained ### 📊 Changes **3 files changed** (+11 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+2 -2) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+8 -6) </details> ### 📄 Description ## Linked issues Closes #5447 Closes #5448 ## Why this change - Image Connection model fields could force the settings layout wider than an Android viewport. - Long message editors should retain the mobile scrolling safeguard without imposing the same fixed maximum height on desktop. ## What changed - Let model selectors and manual model inputs shrink within narrow connection-editor rows, truncating only the non-editing display label. - Apply the existing message-editor height cap below the desktop breakpoint only. - Document both user-facing fixes in the changelog. ## 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 (formatting, lint, localization/context checks, and shared/server/client production builds). - `git diff --check` passed. - `pnpm smoke:ui` exercised all 384 desktop/mobile cases: 263 passed, 108 skipped, and 13 failed after the host ran out of disk space while Playwright wrote artifacts. The failures are outside the two touched components; adjacent connection, responsive-layout, Roleplay growth, editing, and streaming-height cases passed. - Direct Android Firefox and interactive long-message editing still need manual verification. ## 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 - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Existing issue screenshots define the overflow and desktop height regressions; this focused patch does not include new manual screenshots. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved Android layout behavior for Image Connection model controls. * Updated desktop message editors to expand with content while preserving mobile height limits. * Improved model selector and manual input behavior in narrow layouts, preventing overflow and enabling proper text truncation. <!-- 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:33 +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#6770
No description provided.