mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8405] [MERGED] fix(mari): header focus and Open-at-field on held character cards #8580
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#8580
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/8405
Author: @Gunterlie
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @Gunterlie
Base:
feat/mari-companion← Head:fix/mari-field-anchors-live📝 Commits (1)
65bca12fix(mari): header focus and Open-at-field on held character cards📊 Changes
4 files changed (+28 additions, -3 deletions)
View changed files
📝
packages/client/src/components/characters/CharacterEditor.tsx(+1 -0)📝
packages/client/src/components/chat/MariApprovalCards.tsx(+22 -0)📝
packages/client/src/hooks/use-mari-editor-fields.ts(+4 -2)📝
packages/client/src/lib/mari-editor-fields.ts(+1 -1)📄 Description
Linked issue
No issue: planned work, follow-up to slice 2 (#8403) of the Professor Mari companion feature. PRed into the integration branch
feat/mari-companion.Why this change
A live test of slice 2 with a real model (MiniMax M3 via Bifrost) found two gaps:
MariEditEasyViewer, so it had no "Open at this field" link.What changed
use-mari-editor-fields.ts: the focus listener sits on the editor shell (.mari-editor-shell), so header inputs report or clear the field too. Reveal and glow still search only the scroll root.CharacterEditor.tsx: the header Name input carriesdata-mari-field="name".MariApprovalCards.tsx(MariHeldChangeCard): for one heldcharacter.update(server action aliases included), each anchored field box gets the same "Open at this field" link as the change card. ReusesopenCharacterAtField,characterPatchFieldIdand the existing strings.lib/mari-editor-fields.ts: exportsappDataAction.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run (not manual): client
tsc -bexit 0, ESLint and Prettier clean on the touched files,mari-editor-fieldsregression passed. Live Playwright run on a throwaway instance (copied data, MiniMax M3 via Bifrost, 1 model run):Not covered by the live run: clicking the link from another page (editor not open). The same
openCharacterAtFieldpath is used by the change-card link from #8403.Also seen in the live run, no change here: the working glow on
character.updatelasts only ~30–50 ms because the step is fast; it becomes useful with streaming (slice 8).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 at 1440 and 390 px were taken locally (
.tmp/mari-companion/live2/r3-*); attach on request.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.