[PR #1196] [CLOSED] Add mobile Tracker dock states #4973

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1196
Author: @Xelvanis
Created: 5/25/2026
Status: ❌ Closed

Base: refactor ← Head: feat/mobile-tracker-dock


📝 Commits (1)

  • 9fe5bb4 feat: add mobile tracker dock states

📊 Changes

15 files changed (+1096 additions, -102 deletions)

View changed files

📝 src/app/shell/AppShell.tsx (+370 -48)
📝 src/app/shell/PanelNavButtons.tsx (+43 -0)
📝 src/features/modes/roleplay/components/RoleplayHUD.tsx (+12 -2)
📝 src/features/modes/shared/chat-ui/components/ChatInput.tsx (+75 -21)
📝 src/features/runtime/tracker/components/FeaturedCharacterFields.tsx (+2 -1)
📝 src/features/runtime/tracker/components/FeaturedCharacterTrackerCard.tsx (+2 -2)
📝 src/features/runtime/tracker/components/PersonaTrackerPanel.tsx (+6 -6)
📝 src/features/runtime/tracker/components/TrackerDataSidebar.tsx (+30 -3)
📝 src/features/runtime/tracker/components/TrackerSectionList.tsx (+16 -3)
📝 src/features/runtime/tracker/components/TrackerSidebarHeader.css (+33 -0)
📝 src/features/runtime/tracker/components/TrackerSidebarHeader.tsx (+17 -10)
📝 src/features/runtime/tracker/components/tracker-data-sidebar.constants.ts (+2 -2)
📝 src/features/runtime/tracker/components/tracker-data-sidebar.controls.tsx (+7 -1)
📝 src/features/runtime/tracker/lib/tracker-profile-layout.ts (+3 -3)
📝 src/styles/globals.css (+478 -0)

📄 Description

Summary

  • Reworks the Roleplay mobile Tracker panel from a modal overlay into a split dock beside the chat.
  • Adds collapsed, compact, and expanded mobile dock states with swipe/tap/keyboard controls on the tracker grip.
  • Lets the Roleplay composer span the full bottom width while reserving message-list clearance so input cannot overlap chat content.
  • Tunes compact/expanded Tracker presentation for mobile density, including profile card sizing, header controls, section spacing, and collapsed chat breathing room.

Refs #1195. This PR is the first implementation slice; the issue remains open for follow-up validation and polish.

Impact / Areas Reviewed

  • Roleplay mobile shell layout and panel inert/focus behavior.
  • Shared chat input mobile wrapping and fixed composer clearance.
  • Tracker runtime sidebar/header/section presentation only.
  • No engine, storage, provider, prompt, generation, Tauri, or Rust behavior changed.

Verification

  • pnpm build
  • pnpm check:architecture
  • git diff --check origin/refactor...HEAD
  • Pixel/WebView manual pass using the already-running Android app:
    • compact dock rendered beside chat
    • swipe inward collapsed to rail
    • tap rail restored compact
    • swipe outward expanded inspect view
    • composer/message overlap measured at 0px in tested states

Changelog

Relevant user-facing UI change, but this branch has no CHANGELOG.md; no changelog entry added.

Remaining Risk

  • Light theme not separately verified.
  • Right-side docking behavior still needs a focused manual pass.
  • Smaller/narrower Android viewports still need tuning proof.
  • Gesture discoverability may need another UX pass after real use.

🔄 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/1196 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 5/25/2026 **Status:** ❌ Closed **Base:** `refactor` ← **Head:** `feat/mobile-tracker-dock` --- ### 📝 Commits (1) - [`9fe5bb4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9fe5bb4d75f06d2ca2a25150703969db6a040b14) feat: add mobile tracker dock states ### 📊 Changes **15 files changed** (+1096 additions, -102 deletions) <details> <summary>View changed files</summary> 📝 `src/app/shell/AppShell.tsx` (+370 -48) 📝 `src/app/shell/PanelNavButtons.tsx` (+43 -0) 📝 `src/features/modes/roleplay/components/RoleplayHUD.tsx` (+12 -2) 📝 `src/features/modes/shared/chat-ui/components/ChatInput.tsx` (+75 -21) 📝 `src/features/runtime/tracker/components/FeaturedCharacterFields.tsx` (+2 -1) 📝 `src/features/runtime/tracker/components/FeaturedCharacterTrackerCard.tsx` (+2 -2) 📝 `src/features/runtime/tracker/components/PersonaTrackerPanel.tsx` (+6 -6) 📝 `src/features/runtime/tracker/components/TrackerDataSidebar.tsx` (+30 -3) 📝 `src/features/runtime/tracker/components/TrackerSectionList.tsx` (+16 -3) 📝 `src/features/runtime/tracker/components/TrackerSidebarHeader.css` (+33 -0) 📝 `src/features/runtime/tracker/components/TrackerSidebarHeader.tsx` (+17 -10) 📝 `src/features/runtime/tracker/components/tracker-data-sidebar.constants.ts` (+2 -2) 📝 `src/features/runtime/tracker/components/tracker-data-sidebar.controls.tsx` (+7 -1) 📝 `src/features/runtime/tracker/lib/tracker-profile-layout.ts` (+3 -3) 📝 `src/styles/globals.css` (+478 -0) </details> ### 📄 Description ## Summary - Reworks the Roleplay mobile Tracker panel from a modal overlay into a split dock beside the chat. - Adds collapsed, compact, and expanded mobile dock states with swipe/tap/keyboard controls on the tracker grip. - Lets the Roleplay composer span the full bottom width while reserving message-list clearance so input cannot overlap chat content. - Tunes compact/expanded Tracker presentation for mobile density, including profile card sizing, header controls, section spacing, and collapsed chat breathing room. Refs #1195. This PR is the first implementation slice; the issue remains open for follow-up validation and polish. ## Impact / Areas Reviewed - Roleplay mobile shell layout and panel inert/focus behavior. - Shared chat input mobile wrapping and fixed composer clearance. - Tracker runtime sidebar/header/section presentation only. - No engine, storage, provider, prompt, generation, Tauri, or Rust behavior changed. ## Verification - `pnpm build` - `pnpm check:architecture` - `git diff --check origin/refactor...HEAD` - Pixel/WebView manual pass using the already-running Android app: - compact dock rendered beside chat - swipe inward collapsed to rail - tap rail restored compact - swipe outward expanded inspect view - composer/message overlap measured at `0px` in tested states ## Changelog Relevant user-facing UI change, but this branch has no `CHANGELOG.md`; no changelog entry added. ## Remaining Risk - Light theme not separately verified. - Right-side docking behavior still needs a focused manual pass. - Smaller/narrower Android viewports still need tuning proof. - Gesture discoverability may need another UX pass after real use. --- <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:08 +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#4973
No description provided.