mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8555] [MERGED] feat(chat-profiles): settings profile builder with slots, Edit and New #8666
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#8666
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/8555
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/settings-profile-builder📝 Commits (5)
e6c6973feat(chat-profiles): store persona, lorebooks and background as starting pickse5b68d4feat(chat-profiles): add the settings profile builder with Edit and New entry points36ff050fix(chat-profiles): treat the background as a starting pick and address review findings4c7d316fix(chat-profiles): clear the character identity on persona apply and undo a wizard persona seed2bfeb23fix(chat-profiles): show the profile persona in quick setup without writing it📊 Changes
13 files changed (+1079 additions, -80 deletions)
View changed files
📝
docs/chats/settings-profiles.md(+23 -10)➕
packages/client/src/components/chat/ChatProfileBuilder.tsx(+683 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+47 -40)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+76 -18)📝
packages/client/src/hooks/use-chat-presets.ts(+9 -0)📝
packages/client/src/lib/chat-preset-apply.ts(+16 -0)📝
packages/client/src/lib/chat-setup-draft.ts(+4 -1)📝
packages/client/src/localization/locales/en.json(+56 -5)📝
packages/server/src/routes/chat-presets.routes.ts(+4 -2)📝
packages/server/src/services/storage/chat-presets.storage.ts(+24 -3)📝
packages/shared/src/schemas/chat-preset.schema.ts(+2 -0)📝
packages/shared/src/types/chat-preset.ts(+11 -1)➕
scripts/regressions/chat-profile-starting-picks.regression.ts(+124 -0)📄 Description
Linked issue
No linked issue. This is planned work from a Discord design discussion (Promansis / gunterlie): "make creating a profile easier, with open slots like the Jobs list".
Why this change
Today a chat settings profile can only be made with "Save current chat settings as a new profile" from an open chat. There is no blank start, no edit view, and you cannot see what a profile contains. Users asked for a builder with open slots: put something into a slot or leave it empty, then pick the chats that should use the profile.
Users also expect a profile to set up a persona, lorebooks and a background. Profiles left these out on purpose, because the chat owns them. This PR keeps that promise: these three are starting picks. A profile copies them into a chat when you apply it by hand. The chat is never linked to the profile, and chats that follow a profile never get them.
What changed
ChatProfileBuilder.tsx, new): full-width dashed fields per slot (connection, prompt preset, agents, tools, persona, background, lorebooks, image style), in the type colours. Fill a field by click (inline picker) or by dragging from the "Your library" tray. Agent chips use the existingAgentArtworktile. Parameters, memory and translation show a summary.3384d025dfor existing profiles).docs/chats/settings-profiles.md. Removed three unused locale keys (action.saveAs,dialog.createTitle,dialog.newName).scripts/regressions/chat-profile-starting-picks.regression.ts(new).Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run (not human-verified): full
pnpm check, client and servertsc, ESLint on changed files,pnpm localization:check, regressionschat-profile-starting-picksandchat-profile-followersall passed. A Playwright run on a local instance applied a profile and checked the chat over the API, and took screenshots at 390/768/1440 px. An Opus review found 4 issues; all are fixed in36ff050a9.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)docs-i18n follow-up: #8554
UI evidence (if applicable)
Screenshots at 390/768/1440 px are on the devbox (
~/scratch/profile-builder/shots/). They still need to be uploaded here. Approved design mockup: builder with full-width dashed slot fields, library tray, step 2 chat checklist.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.