feat(home): 首页开场语改成一行问候,占位符改「想聊什么都可以」
Independent Staging Quality Gate / validate (push) Failing after 6m23s
Independent Staging Quality Gate / publish (push) Skipped

开场语从「称呼行 + 追问句」收成 claude.ai 式的单行问候:时段池、
星期池、回访池按顺序拼成一个数组,按 variantSelection 确定性取一条;
名字为空时跳过带称呼的条目。副标题行与 .starter-salutation 下线,
h1 降到 clamp(24px, 2.8vw, 30px) / line-height 1.25。追问改由输入框
占位符承担。

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JUei7K13cYxLHE3Axe4A45
This commit is contained in:
Jesse_Chen
2026-09-17 15:54:20 +00:00
co-authored by Claude Fable 5.1
parent dd281dd9c9
commit ff0427cf08
13 changed files with 318 additions and 97 deletions
@@ -69,7 +69,7 @@ export function ordinaryComposerPlaceholder(input: {
return input.presetMessageFinished ? "输入你的称呼" : "Jyotisha 正在输入…";
}
if (input.creditsEmpty) return "余额不足,可在账户与点数中补充";
return "例如:未来半年是否适合换工作?";
return "想聊什么都可以";
}
export function rectificationOrdinaryComposerReopen(input: {