[PR #3576] [MERGED] Fix Professor Mari mobile chat and persona helpers #5998

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3576
Author: @SpicyMarinara
Created: 7/13/2026
Status: ✅ Merged
Merged: 7/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/fix-3569-3571-mari-mobile-personas


📝 Commits (2)

  • a3907f0 Fix Professor Mari mobile chat and persona helpers
  • f8a9a68 Merge staging into mobile persona fixes

📊 Changes

5 files changed (+192 additions, -58 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 e2e/core-flows.e2e.ts (+33 -0)
📝 packages/client/src/components/chat/HomeProfessorMariChat.tsx (+21 -3)
📝 packages/server/src/services/mari-db/mari-db.service.ts (+106 -55)
📝 scripts/regressions/open-issues.regression.ts (+30 -0)

📄 Description

Why

Professor Mari's expanded chat regressed on mobile after the responsive home changes. A transformed home ancestor captured the fixed panel, leaving it inset and shortened so the composer could become inaccessible on iPhones. Separately, the persona schema gained required Conversation profile columns while Professor Mari's structured and CLI creation helpers continued constructing the older row shape.

What changed

  • Portal the expanded Professor Mari chat to the document shell on mobile so transformed home content cannot constrain it.
  • Anchor the mobile chat beneath the safe-area-aware top bar, extend it to the viewport bottom, and reserve the iPhone bottom inset.
  • Keep the desktop Professor Mari chat inline with its existing layout.
  • Add a shared persona row builder used by both app_data persona.create and mari personas create.
  • Always populate required phoneticName, convoDisplayName, aboutMe, and convoBehavior columns with safe defaults.
  • Accept those fields through both create and update helpers, including plain-text or JSON Convo behavior input.
  • Synchronize CLI help and Professor Mari helper guidance.
  • Audit character and lorebook creation against their current schemas; their existing builders already populate all required fields.
  • Add mobile browser and helper regression coverage, plus Unreleased changelog notes.

Issues

Resolves #3569
Resolves #3571

Validation

  • pnpm check
  • pnpm regression:issues
  • Targeted Playwright mobile regression for Professor Mari viewport and composer visibility
  • pnpm version:check
  • git diff --check

Manual review checklist

  • Manually verify Professor Mari fills the usable viewport beneath the top bar on an iPhone with a display cutout and home indicator.
  • Manually verify focusing the Professor Mari composer with the iOS keyboard open keeps the input reachable.
  • Manually create a persona through Professor Mari's app_data helper and confirm all Conversation profile fields persist.
  • Manually create a persona through mari personas create with both plain-text and JSON Convo behavior input.

Risk notes

The mobile layout is covered in Chromium with explicit top-bar, viewport-bottom, and composer geometry assertions. Physical iOS keyboard and safe-area behavior still require device confirmation. Persona creation is covered at the shared row-construction boundary used by both helpers; character and lorebook helpers were audited but not changed.


🔄 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/3576 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/13/2026 **Status:** ✅ Merged **Merged:** 7/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/fix-3569-3571-mari-mobile-personas` --- ### 📝 Commits (2) - [`a3907f0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a3907f0a935fd48f929ba72e4135c86f68864b07) Fix Professor Mari mobile chat and persona helpers - [`f8a9a68`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f8a9a683589e976df48143cd5286c5d85f393a96) Merge staging into mobile persona fixes ### 📊 Changes **5 files changed** (+192 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/core-flows.e2e.ts` (+33 -0) 📝 `packages/client/src/components/chat/HomeProfessorMariChat.tsx` (+21 -3) 📝 `packages/server/src/services/mari-db/mari-db.service.ts` (+106 -55) 📝 `scripts/regressions/open-issues.regression.ts` (+30 -0) </details> ### 📄 Description ## Why Professor Mari's expanded chat regressed on mobile after the responsive home changes. A transformed home ancestor captured the fixed panel, leaving it inset and shortened so the composer could become inaccessible on iPhones. Separately, the persona schema gained required Conversation profile columns while Professor Mari's structured and CLI creation helpers continued constructing the older row shape. ## What changed - Portal the expanded Professor Mari chat to the document shell on mobile so transformed home content cannot constrain it. - Anchor the mobile chat beneath the safe-area-aware top bar, extend it to the viewport bottom, and reserve the iPhone bottom inset. - Keep the desktop Professor Mari chat inline with its existing layout. - Add a shared persona row builder used by both `app_data persona.create` and `mari personas create`. - Always populate required `phoneticName`, `convoDisplayName`, `aboutMe`, and `convoBehavior` columns with safe defaults. - Accept those fields through both create and update helpers, including plain-text or JSON Convo behavior input. - Synchronize CLI help and Professor Mari helper guidance. - Audit character and lorebook creation against their current schemas; their existing builders already populate all required fields. - Add mobile browser and helper regression coverage, plus Unreleased changelog notes. ## Issues Resolves #3569 Resolves #3571 ## Validation - `pnpm check` - `pnpm regression:issues` - Targeted Playwright mobile regression for Professor Mari viewport and composer visibility - `pnpm version:check` - `git diff --check` ## Manual review checklist - [ ] Manually verify Professor Mari fills the usable viewport beneath the top bar on an iPhone with a display cutout and home indicator. - [ ] Manually verify focusing the Professor Mari composer with the iOS keyboard open keeps the input reachable. - [ ] Manually create a persona through Professor Mari's `app_data` helper and confirm all Conversation profile fields persist. - [ ] Manually create a persona through `mari personas create` with both plain-text and JSON Convo behavior input. ## Risk notes The mobile layout is covered in Chromium with explicit top-bar, viewport-bottom, and composer geometry assertions. Physical iOS keyboard and safe-area behavior still require device confirmation. Persona creation is covered at the shared row-construction boundary used by both helpers; character and lorebook helpers were audited but not changed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:06:03 +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#5998
No description provided.