fix(chat): fold natal reports and drop homepage topic cards
Independent Staging Quality Gate / validate (push) Failing after 9m47s
Independent Staging Quality Gate / publish (push) Skipped

Homepage no longer waits on /api/onboarding for six starter questions.
Natal answers show the spoken layer first; the Level 2 skeleton sits in a
collapsed 完整分析 block. Wide tables scroll sideways on a phone. Form
inputs are 16px so iOS does not zoom on focus.
This commit is contained in:
jesse-ux
2026-09-15 12:27:16 +08:00
parent 899f955d4b
commit 8144fca27d
46 changed files with 966 additions and 2303 deletions
+4 -2
View File
@@ -68,7 +68,9 @@ test("the streaming renderer parses the prefix and the tail as two separate docu
assert.match(contentSource, /const StableMarkdownPrefix = memo\(function StableMarkdownPrefix/);
assert.match(contentSource, /splitStableMarkdown\(text\)/);
assert.match(contentSource, /streaming\s*\?\s*<StreamingMarkdown/);
// Settled answers still parse once as one document.
assert.match(contentSource, /: renderMarkdown\s*\?\s*renderMarkdown\(spoken\)/);
// 原值: `: renderMarkdown ? renderMarkdown(spoken)` 只给口语层走 markdown。
// 新值: 口语层与报告层都走 `renderProse`。
// 原因: 两层可见性后,折叠内外共用同一套解析,避免两套 fallback。
assert.match(contentSource, /: renderProse\(spoken, renderMarkdown\)/);
assert.match(messageRowSource, /streaming=\{message\.state !== "settled"\}/);
});