[PR #2813] [MERGED] Fix mobile editor navigation and lorebook controls #5746

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

📋 Pull Request Information

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

Base: staging ← Head: codex/mobile-editor-lorebook-fixes


📝 Commits (1)

  • 115a2b3 Fix mobile editor navigation and lorebook controls

📊 Changes

6 files changed (+157 additions, -15 deletions)

View changed files

📝 packages/client/src/components/layout/AppShell.tsx (+1 -1)
📝 packages/client/src/components/layout/RightPanel.tsx (+2 -2)
📝 packages/client/src/components/layout/TopBar.tsx (+26 -5)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+27 -3)
📝 packages/client/src/components/panels/LorebooksPanel.tsx (+70 -4)
📝 packages/client/src/styles/globals.css (+31 -0)

📄 Description

Linked issue

N/A

Why this change

  • Mobile editor overlays trapped users because topbar panel buttons opened panels behind the editor instead of leaving the editor first.
  • Lorebook category controls overflowed on mobile because long button labels were forced into cramped rows.

What changed

  • Close active detail editors before mobile topbar panel navigation.
  • Restore mobile editor section rails to horizontal scrolling with stable editor content scrolling.
  • Convert Lorebook panel and Lorebook editor category controls to mobile dropdowns while preserving desktop buttons.
  • Disable native draggable lorebook cards on mobile so normal list scrolling wins, with grip drag still available.

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 --filter @marinara-engine/client lint
  • Confirmed the Drama icon is available from the client lucide-react package.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Not captured locally; this is a mobile layout and navigation patch based on reported mobile regressions.

🔄 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/2813 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/23/2026 **Status:** ✅ Merged **Merged:** 6/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/mobile-editor-lorebook-fixes` --- ### 📝 Commits (1) - [`115a2b3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/115a2b3a23b6e97a30faf43025a7f0c290e7d8ca) Fix mobile editor navigation and lorebook controls ### 📊 Changes **6 files changed** (+157 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/layout/AppShell.tsx` (+1 -1) 📝 `packages/client/src/components/layout/RightPanel.tsx` (+2 -2) 📝 `packages/client/src/components/layout/TopBar.tsx` (+26 -5) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+27 -3) 📝 `packages/client/src/components/panels/LorebooksPanel.tsx` (+70 -4) 📝 `packages/client/src/styles/globals.css` (+31 -0) </details> ### 📄 Description ## Linked issue N/A ## Why this change - Mobile editor overlays trapped users because topbar panel buttons opened panels behind the editor instead of leaving the editor first. - Lorebook category controls overflowed on mobile because long button labels were forced into cramped rows. ## What changed - Close active detail editors before mobile topbar panel navigation. - Restore mobile editor section rails to horizontal scrolling with stable editor content scrolling. - Convert Lorebook panel and Lorebook editor category controls to mobile dropdowns while preserving desktop buttons. - Disable native draggable lorebook cards on mobile so normal list scrolling wins, with grip drag still available. ## 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 --filter @marinara-engine/client lint` - Confirmed the `Drama` icon is available from the client lucide-react package. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Not captured locally; this is a mobile layout and navigation patch based on reported mobile regressions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:19:09 +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#5746
No description provided.