[PR #1265] [MERGED] Fix Character Library mobile actions #5012

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

📋 Pull Request Information

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

Base: refactor ← Head: fix/refactor-issue-1226-character-library-toolbar


📝 Commits (1)

  • 7e3f9ea Fix character library mobile actions

📊 Changes

1 file changed (+7 additions, -7 deletions)

View changed files

📝 src/features/catalog/characters/components/CharacterLibraryView.tsx (+7 -7)

📄 Description

Linked issue

Closes #1226

Why this change

  • The Character Library mobile header clipped the AI Maker action offscreen at a 320px viewport, leaving the action row visually broken on narrow phones.

What changed

  • Changed the Character Library header actions from a fixed-width horizontal scroller to a compact wrapping/flexing row on mobile.
  • Kept the existing larger tablet/desktop button widths and layout behavior.

Refactor impact

Primary owner:

  • Catalog resources: src/features/catalog/characters/components/CharacterLibraryView.tsx

Impact areas reviewed:

  • Character Library full-page surface
  • Mobile Characters panel path into the full library
  • Current refactor mobile catalog action wrapping work

Boundary notes:

  • UI-only catalog layout fix; no engine, shared API, Rust, storage, auth, prompt, or remote-runtime boundary changes.

Pressure points touched:

  • None of the listed pressure points were touched. This stays inside the Character Library leaf component.

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 issue at 320x568: before fix, AI Maker measured right: 340.8125px in a 320px viewport.
  • Codex reran the original Playwright path after the fix and after rebasing onto current upstream/refactor: AI Maker measured right: 307.25px in a 320px viewport, with no horizontal document/body overflow.
  • Codex also checked adjacent mobile widths:
    • 375x667: AI Maker fully visible, right: 362.25px <= 375px.
    • 390x844: AI Maker fully visible, right: 377.25px <= 390px.
    • 280x568 stress case: row wraps instead of clipping, AI Maker right: 267.25px <= 280px.
  • Codex ran pnpm check after the rebase; it passed architecture, frontend TypeScript, Rust cargo check, and docs.
  • Codex ran node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json; it passed.
  • No human-only verification is 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:

Before: AI Maker clipped offscreen

After:

After: AI Maker visible at 320px


🔄 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/1265 **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-1226-character-library-toolbar` --- ### 📝 Commits (1) - [`7e3f9ea`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7e3f9ea74668ef0f49ed30054ac335623618d31b) Fix character library mobile actions ### 📊 Changes **1 file changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/features/catalog/characters/components/CharacterLibraryView.tsx` (+7 -7) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue Closes #1226 ## Why this change - The Character Library mobile header clipped the `AI Maker` action offscreen at a 320px viewport, leaving the action row visually broken on narrow phones. ## What changed - Changed the Character Library header actions from a fixed-width horizontal scroller to a compact wrapping/flexing row on mobile. - Kept the existing larger tablet/desktop button widths and layout behavior. ## Refactor impact Primary owner: - Catalog resources: `src/features/catalog/characters/components/CharacterLibraryView.tsx` Impact areas reviewed: - Character Library full-page surface - Mobile Characters panel path into the full library - Current `refactor` mobile catalog action wrapping work Boundary notes: - UI-only catalog layout fix; no engine, shared API, Rust, storage, auth, prompt, or remote-runtime boundary changes. Pressure points touched: - None of the listed pressure points were touched. This stays inside the Character Library leaf component. ## Validation <!-- Check only what you personally ran or manually verified. Treat unchecked items as explicit TODOs. --> - [ ] `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 issue at `320x568`: before fix, `AI Maker` measured `right: 340.8125px` in a `320px` viewport. - Codex reran the original Playwright path after the fix and after rebasing onto current `upstream/refactor`: `AI Maker` measured `right: 307.25px` in a `320px` viewport, with no horizontal document/body overflow. - Codex also checked adjacent mobile widths: - `375x667`: `AI Maker` fully visible, `right: 362.25px <= 375px`. - `390x844`: `AI Maker` fully visible, `right: 377.25px <= 390px`. - `280x568` stress case: row wraps instead of clipping, `AI Maker right: 267.25px <= 280px`. - Codex ran `pnpm check` after the rebase; it passed architecture, frontend TypeScript, Rust `cargo check`, and docs. - Codex ran `node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json`; it passed. - No human-only verification is 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: ![Before: AI Maker clipped offscreen](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/evidence/issue-1226-character-library-toolbar/docs/evidence/issue-1226/before.png) After: ![After: AI Maker visible at 320px](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/evidence/issue-1226-character-library-toolbar/docs/evidence/issue-1226/after.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:28 +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#5012
No description provided.