[PR #1261] [MERGED] Fix mobile catalog action wrapping #5009

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

📋 Pull Request Information

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

Base: refactor ← Head: fix/refactor-issue-1225-mobile-catalog-actions


📝 Commits (1)

  • a1a961e Fix mobile catalog action wrapping

📊 Changes

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

View changed files

📝 src/features/catalog/characters/components/CharactersPanel.tsx (+1 -1)
📝 src/features/catalog/personas/components/PersonasPanel.tsx (+1 -1)

📄 Description

Linked issue

Closes #1225

Why this change

  • On 320px mobile viewports, the Characters and Personas catalog action rows could force the rightmost Select button offscreen.

What changed

  • Changed the Characters panel action row from a single flex row to a responsive grid that wraps into two columns on narrow mobile widths.
  • Changed the Personas panel action row the same way so the shared catalog toolbar pattern behaves consistently.

Refactor impact

Primary owner:

Catalog resources.

Impact areas reviewed:

  • Characters catalog panel
  • Personas catalog panel
  • Mobile Tools/right-panel flow used to reach those panels

Boundary notes:

  • UI-only feature code change under src/features/catalog.
  • No engine, shared API, Rust, storage, schema, dependency, auth, remote-runtime, or prompt pipeline changes.

Pressure points touched:

  • None.

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex reproduced the original 320x568 mobile clipping with Playwright before the fix: Characters Select measured right: 354px, Personas Select measured right: 355px.
  • Codex reran the original 320x568 Playwright flow after the fix on current upstream/refactor; all Characters and Personas action buttons measured within the viewport.
  • Codex also ran adjacent viewport checks at 390x844 and 768x768; all target action buttons stayed within the viewport.
  • Codex ran pnpm check successfully on the updated refactor base.
  • No human-only verification is currently blocking the core claim.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

Before, Characters at 320x568:

Before Characters

After, Characters at 320x568:

After Characters

Before, Personas at 320x568:

Before Personas

After, Personas at 320x568:

After Personas


🔄 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/1261 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/26/2026 **Status:** ✅ Merged **Merged:** 5/26/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `fix/refactor-issue-1225-mobile-catalog-actions` --- ### 📝 Commits (1) - [`a1a961e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a1a961e46dca90593e8c2beb0d376de5547595c6) Fix mobile catalog action wrapping ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/features/catalog/characters/components/CharactersPanel.tsx` (+1 -1) 📝 `src/features/catalog/personas/components/PersonasPanel.tsx` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #1225 ## Why this change - On 320px mobile viewports, the Characters and Personas catalog action rows could force the rightmost Select button offscreen. ## What changed - Changed the Characters panel action row from a single flex row to a responsive grid that wraps into two columns on narrow mobile widths. - Changed the Personas panel action row the same way so the shared catalog toolbar pattern behaves consistently. ## Refactor impact Primary owner: Catalog resources. Impact areas reviewed: - Characters catalog panel - Personas catalog panel - Mobile Tools/right-panel flow used to reach those panels Boundary notes: - UI-only feature code change under `src/features/catalog`. - No engine, shared API, Rust, storage, schema, dependency, auth, remote-runtime, or prompt pipeline changes. Pressure points touched: - None. ## Validation - [ ] `pnpm check` passes locally - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex reproduced the original `320x568` mobile clipping with Playwright before the fix: Characters Select measured `right: 354px`, Personas Select measured `right: 355px`. - Codex reran the original `320x568` Playwright flow after the fix on current `upstream/refactor`; all Characters and Personas action buttons measured within the viewport. - Codex also ran adjacent viewport checks at `390x844` and `768x768`; all target action buttons stayed within the viewport. - Codex ran `pnpm check` successfully on the updated refactor base. - No human-only verification is currently blocking the core claim. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence Before, Characters at 320x568: ![Before Characters](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/evidence/issue-1225-mobile-catalog-actions/docs/evidence/issue-1225/before-characters.png) After, Characters at 320x568: ![After Characters](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/evidence/issue-1225-mobile-catalog-actions/docs/evidence/issue-1225/after-characters.png) Before, Personas at 320x568: ![Before Personas](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/evidence/issue-1225-mobile-catalog-actions/docs/evidence/issue-1225/before-personas.png) After, Personas at 320x568: ![After Personas](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/evidence/issue-1225-mobile-catalog-actions/docs/evidence/issue-1225/after-personas.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:12:26 +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#5009
No description provided.