[PR #4980] [MERGED] fix(client): scroll Professor Mari suggestions on mobile #6567

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

📋 Pull Request Information

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

Base: staging ← Head: super-mari-o-scroll


📝 Commits (1)

  • 5d25077 fix(client): scroll Mari suggestions on mobile

📊 Changes

2 files changed (+24 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/styles/globals.css (+23 -0)

📄 Description

Linked issue

Closes #4979

Why this change

  • Professor Mari suggestion chips currently wrap into a vertical stack on narrow mobile screens, taking space away from the chat composer and making the suggestions slower to scan.

What changed

  • Keep Professor Mari suggestion chips in one non-wrapping row below 768px.
  • Enable momentum touch scrolling, contained horizontal overscroll, and proximity snapping.
  • Keep individual chips readable without allowing one long label to consume the full row.
  • Preserve the existing desktop wrapping behavior and document the fix 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

  • git diff --check passed.
  • Local TypeScript/build and browser verification could not be run because this worktree shell does not provide Node.js or pnpm. CI and the manual mobile viewport check remain required.
  • Manually verify on a mobile viewport that multiple Professor Mari suggestions stay on one row, swipe horizontally, and do not trigger page-level horizontal scrolling.
  • Manually verify on desktop that the existing wrapping behavior remains unchanged.

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)

The [Unreleased] changelog is updated. No user-facing documentation, translated documentation, or version metadata changes are needed.

UI evidence (if applicable)

No screenshot is attached because a browser runtime is unavailable in this shell. The PR still requires a mobile viewport check before merge.

Summary by CodeRabbit

  • Bug Fixes
    • Improved mobile suggestion chips so they remain in a single horizontally scrollable row.
    • Added smoother touch scrolling and snap-to-start behavior for easier navigation.
    • Hidden scrollbars provide a cleaner mobile presentation while preserving horizontal scrolling.
  • Documentation
    • Added an unreleased changelog entry describing the mobile suggestion-chip fix.

🔄 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/4980 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/13/2026 **Status:** ✅ Merged **Merged:** 8/13/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `super-mari-o-scroll` --- ### 📝 Commits (1) - [`5d25077`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5d250774029008d0f1f8edf1627075f6664b358a) fix(client): scroll Mari suggestions on mobile ### 📊 Changes **2 files changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/styles/globals.css` (+23 -0) </details> ### 📄 Description ## Linked issue Closes #4979 ## Why this change - Professor Mari suggestion chips currently wrap into a vertical stack on narrow mobile screens, taking space away from the chat composer and making the suggestions slower to scan. ## What changed - Keep Professor Mari suggestion chips in one non-wrapping row below 768px. - Enable momentum touch scrolling, contained horizontal overscroll, and proximity snapping. - Keep individual chips readable without allowing one long label to consume the full row. - Preserve the existing desktop wrapping behavior and document the fix 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 - `git diff --check` passed. - Local TypeScript/build and browser verification could not be run because this worktree shell does not provide Node.js or pnpm. CI and the manual mobile viewport check remain required. - Manually verify on a mobile viewport that multiple Professor Mari suggestions stay on one row, swipe horizontally, and do not trigger page-level horizontal scrolling. - Manually verify on desktop that the existing wrapping behavior remains unchanged. ## 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) The `[Unreleased]` changelog is updated. No user-facing documentation, translated documentation, or version metadata changes are needed. ## UI evidence (if applicable) No screenshot is attached because a browser runtime is unavailable in this shell. The PR still requires a mobile viewport check before merge. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved mobile suggestion chips so they remain in a single horizontally scrollable row. - Added smoother touch scrolling and snap-to-start behavior for easier navigation. - Hidden scrollbars provide a cleaner mobile presentation while preserving horizontal scrolling. - **Documentation** - Added an unreleased changelog entry describing the mobile suggestion-chip fix. <!-- 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:39 +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#6567
No description provided.