[PR #4975] [MERGED] fix: keep avatar scale slider interactive in Chrome #6562

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

📋 Pull Request Information

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

Base: staging ← Head: agent/fix-avatar-scale-slider


📝 Commits (4)

  • e614afd test: reproduce avatar scale slider regression
  • a36b3ba fix: keep avatar scale sliders usable
  • c594376 Merge remote-tracking branch 'origin/staging' into agent/fix-avatar-scale-slider
  • 26820fc test: cover all art scale sliders

📊 Changes

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

View changed files

📝 CHANGELOG.md (+1 -0)
📝 e2e/core-flows.e2e.ts (+42 -0)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+4 -4)

📄 Description

Linked issue

Closes #4974

Why this change

  • Chrome users can adjust Message Avatar Scale only once per refresh, and the control disappears at larger interface display sizes.
  • The preview and controls were forced side by side from the viewport sm breakpoint onward. Inside the fixed-width Settings panel this left the range input only 48 px wide at the default display size and zero width at Huge.

What changed

  • Let the existing roleplay and game art-size rows wrap when their controls need more than the available panel width.
  • Give the control group a small minimum width so each slider keeps a usable pointer target.
  • Add Chromium desktop and mobile regression coverage that adjusts Message Avatar Scale repeatedly before and after switching to Huge.
  • Add 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 proof completed:

  • pnpm check
  • pnpm --filter @marinara-engine/client lint
  • pnpm exec playwright test -c playwright.config.ts --project desktop-chromium --grep "Message avatar scale stays interactive"
  • pnpm exec playwright test -c playwright.config.ts --project mobile-chromium --grep "Message avatar scale stays interactive"
  • git diff --check

Manual verification notes

  • The focused Playwright browser proof exercises repeated pointer clicks at Default and Huge in desktop Chromium and mobile Chromium.
  • No human manual browser verification was claimed.

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)

  • Automated Chromium proof covers both desktop and mobile layouts at Default and Huge display sizes.

Summary by CodeRabbit

  • Bug Fixes

    • Fixed a Chrome layout issue that could hide Message Avatar Scale and related art-size sliders.
    • Sliders now remain visible, properly sized, and adjustable across display sizes.
    • Improved responsive wrapping for roleplay and game art previews on smaller screens.
  • Tests

    • Added coverage confirming avatar scale slider visibility and interaction at default and largest display sizes.

🔄 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/4975 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/13/2026 **Status:** ✅ Merged **Merged:** 8/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/fix-avatar-scale-slider` --- ### 📝 Commits (4) - [`e614afd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e614afdc3b3363468c702b6896791b51fef86415) test: reproduce avatar scale slider regression - [`a36b3ba`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a36b3baf4edc082d4e249be61c46faec39cb07bf) fix: keep avatar scale sliders usable - [`c594376`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c59437636a5f4175857e3284bcc393b5ff0dba56) Merge remote-tracking branch 'origin/staging' into agent/fix-avatar-scale-slider - [`26820fc`](https://github.com/Pasta-Devs/Marinara-Engine/commit/26820fc9becec4ed0429e1bf7953a9505214e528) test: cover all art scale sliders ### 📊 Changes **3 files changed** (+47 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `e2e/core-flows.e2e.ts` (+42 -0) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+4 -4) </details> ### 📄 Description ## Linked issue Closes #4974 ## Why this change - Chrome users can adjust Message Avatar Scale only once per refresh, and the control disappears at larger interface display sizes. - The preview and controls were forced side by side from the viewport `sm` breakpoint onward. Inside the fixed-width Settings panel this left the range input only 48 px wide at the default display size and zero width at Huge. ## What changed - Let the existing roleplay and game art-size rows wrap when their controls need more than the available panel width. - Give the control group a small minimum width so each slider keeps a usable pointer target. - Add Chromium desktop and mobile regression coverage that adjusts Message Avatar Scale repeatedly before and after switching to Huge. - Add 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 proof completed: - `pnpm check` - `pnpm --filter @marinara-engine/client lint` - `pnpm exec playwright test -c playwright.config.ts --project desktop-chromium --grep "Message avatar scale stays interactive"` - `pnpm exec playwright test -c playwright.config.ts --project mobile-chromium --grep "Message avatar scale stays interactive"` - `git diff --check` ### Manual verification notes - The focused Playwright browser proof exercises repeated pointer clicks at Default and Huge in desktop Chromium and mobile Chromium. - No human manual browser verification was claimed. ## 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) - Automated Chromium proof covers both desktop and mobile layouts at Default and Huge display sizes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed a Chrome layout issue that could hide Message Avatar Scale and related art-size sliders. * Sliders now remain visible, properly sized, and adjustable across display sizes. * Improved responsive wrapping for roleplay and game art previews on smaller screens. * **Tests** * Added coverage confirming avatar scale slider visibility and interaction at default and largest display sizes. <!-- 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:11:37 +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#6562
No description provided.