mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8509] [MERGED] Ask a card's questions before its greeting, and let greetings use the answers #8643
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#8643
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/8509
Author: @ylli-selmani
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @ylli-selmani
Base:
staging← Head:fix/greeting-flow📝 Commits (7)
0575d3ffeat(onboarding): show chat variables in chat messages3956221fix(onboarding): leave contexts without chat variables as they were644855bfeat(onboarding): ask a card's questions before its greeting2c1dcf1feat(onboarding): fill a card's greetings from the persona answersf8fa656docs(onboarding): shorten the greeting warning and docs copyba0e32efeat(characters): offer both question groups as chips on greetingsa655016fix(chat): keep the created persona when Back reopens the card questions📊 Changes
18 files changed (+1123 additions, -274 deletions)
View changed files
📝
docs/characters/interactive-onboarding.md(+5 -1)📝
packages/client/src/components/characters/CharacterEditor.tsx(+128 -45)📝
packages/client/src/components/characters/CharacterOnboardingModal.tsx(+24 -7)📝
packages/client/src/components/chat/ChatCharacterDropOptions.tsx(+199 -120)📝
packages/client/src/components/chat/ChatMessage.tsx(+76 -23)📝
packages/client/src/components/chat/ChatResourceDropOverlay.tsx(+9 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+83 -18)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+74 -5)📝
packages/client/src/components/chat/ConversationMessage.tsx(+4 -0)📝
packages/client/src/lib/chat-macros.ts(+70 -9)➕
packages/client/src/lib/onboarding-add-card.ts(+34 -0)📝
packages/client/src/lib/onboarding-preview-highlight.ts(+22 -0)📝
packages/client/src/localization/locales/en.json(+2 -2)📝
packages/shared/src/utils/onboarding.ts(+82 -23)➕
scripts/regressions/onboarding-add-card-flow.regression.ts(+66 -0)➕
scripts/regressions/onboarding-greeting-bake.regression.ts(+170 -0)➕
scripts/regressions/onboarding-greeting-display.regression.ts(+75 -0)📝
scripts/regressions/onboarding-s3.regression.ts(+0 -20)📄 Description
Linked issue
Closes #8505
Closes #8506
Why this change
Both issues are the same moment seen from two sides: a card with questions and a greeting joining a chat.
{{relationshipToUser}}shows as written although the model reads the value, and persona questions like{{class}}reach nothing at all.Fixing only the first would ask the questions, then show a greeting that ignores the answers.
What changed
Chat variables in messages (slice 1)
{{setvar}}in a message can't change the chat's variables.{{getvar::name}}now reads chat variables only in display when a chat has variables, as it already does in the prompt. A name that exists only as a preset variable returns empty there, where it used to show the preset value.Questions before the greeting (slice 2)
Persona answers in greetings (slice 3)
Ah, so you are a {{class}}is saved asAh, so you are a Ranger, and alternate greetings become swipes as they do today.{{user}}and{{char}}stay live. Persona answers are not saved as chat variables, so they can't drift from the persona.Accepted costs
{{random}}and{{time}}in it freeze when the chat starts, as they do in a persona.{{player}}counts as a persona name for that check.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Not yet clicked through in a browser. The checks to run:
{{name}}shows the answer, and updates after changing the answer in Chat Settings.Regressions run locally:
--filter onboarding(11/11),--filter prompt.regression(8/8).Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)docs/characters/interactive-onboarding.mdchanged.UI evidence (if applicable)
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.