mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8561] [MERGED] feat(mari): companion docks in tighter space, editor peek count, smooth sheet snaps #8671
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8671
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8561
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/mari-companion-polish📝 Commits (1)
350f7e3feat(mari): companion docks in tighter space, editor peek count, smooth sheet snaps📊 Changes
8 files changed (+85 additions, -10 deletions)
View changed files
📝
packages/client/src/components/characters/CharacterEditor.tsx(+1 -1)📝
packages/client/src/components/characters/MariFieldReview.tsx(+6 -0)📝
packages/client/src/components/chat/mari/MariOmnibarHeaderChrome.tsx(+6 -1)📝
packages/client/src/components/layout/omnibar/use-mari-companion.tsx(+50 -3)📝
packages/client/src/components/personas/PersonaEditor.tsx(+1 -1)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/client/src/stores/ui.store.ts(+10 -4)📝
packages/client/src/styles/mari.css(+9 -0)📄 Description
Linked issue
No issue: follow-up to the Professor Mari companion (#8418).
Why this change
Three rough edges in Prof. Mari's companion. At 1440 px with both sidebars open she could not dock beside the editor and fell back to the centered window. On a phone, the peek line did not say that her change waits in the editor. Snapping the phone sheet between peek, half and full jumped.
What changed
flex-wrap, so Reset and the "N saved" badge wrap in the narrower column.useMariFieldReviewitself (open character, minus fields the user edited) through a transient store valuemariFieldWaitingCount; it is not persisted or synced.height: auto, which CSS cannot transition). No motion during a drag, on a pull-down release, with reduced motion, or when the keyboard opens; a running glide stops when the sheet shape changes or the keyboard opens.useMariFieldReview): no textual conflict today; after it lands, the count follows whatever editor uses the hook.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks (Playwright, Chromium, no model; a stored Mari answer holds a
character.updatefor two characters):tsc --noEmit,eslintandprettier --checkon the changed files,pnpm localization:check: pass. Fullpnpm checkwas not run.omnibar-settings-sync,mobile-safe-area-inset,mari-editor-fields: pass.Not verified: software keyboard opening during a glide, an upward drag release, 768 px, light mode, Safari / a real phone.
To verify manually:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Screenshots were taken locally (1440, 1024 and 390 px) and are not attached.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.