mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3752] [CLOSED] feat: Author's Notes — ordered, independently toggleable entries #6089
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#6089
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/3752
Author: @Trade-Mottoes
Created: 7/17/2026
Status: ❌ Closed
Base:
main← Head:feat/author-notes-entries📝 Commits (1)
dcecd82feat: Author's Notes — ordered, independently toggleable entries📊 Changes
5 files changed (+240 additions, -33 deletions)
View changed files
📝
packages/client/src/components/chat/ChatRoleplayPanels.tsx(+167 -30)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+2 -1)📝
packages/server/src/routes/generate.routes.ts(+4 -2)📝
packages/shared/src/index.ts(+1 -0)➕
packages/shared/src/types/author-notes.ts(+66 -0)📄 Description
Replaces the single Author's Notes textarea with an ordered list of entries, each of which can be toggled off without deleting it, reordered, or removed.
Rebuilt against current staging rather than rebased from the May fork of this feature. The old branch forked AuthorNotesPanel into a private file to keep the merge surface narrow; that froze it in May while upstream kept fixing the real one (per-chat save refs for #3079, the unmount-flush for outside-click dismissal, the shared popover style tokens). This version extends upstream's panel in place so those fixes keep flowing in.
A chat is "migrated" iff its metadata carries an authorNoteEntries array — not iff that array is non-empty. Branching on length instead means disabling or deleting every entry falls through to the legacy authorNotes string and silently re-injects it forever, which is what the old branch did.
Legacy notes are pipe-split for display only, and written back (clearing the legacy key) on the first real edit.
Linked issue
Closes #
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.