diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index 44c5bce6..ac031394 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -2483,7 +2483,7 @@ export default function Home() {
{birthTimeDisplay?.kind === "candidate" - ? "当前使用候选时间排盘;原始填报范围仍保留。" + ? <>当前使用候选时间排盘;原始填报范围仍保留。 : birthTimeDisplay?.kind === "confirmed" ? "当前排盘时间已经确认。" : "不能直接改写默认星盘;需事件证据验证。"} diff --git a/frontend/src/components/birth-time-candidate-result.tsx b/frontend/src/components/birth-time-candidate-result.tsx index 61a94a23..f26de885 100644 --- a/frontend/src/components/birth-time-candidate-result.tsx +++ b/frontend/src/components/birth-time-candidate-result.tsx @@ -106,7 +106,7 @@ function TerminalAction({ controller, error, path }: { return (
评估已完成,下一步 -

点击后将使用 {path.time} 作为当前排盘时间并进入对话;原始填报和本次候选结果仍会保留。

+

点击后将使用 {path.time} 作为当前排盘时间并进入对话;原始填报和本次候选结果仍会保留。

diff --git a/frontend/tests/birth-time-guided-review-fixes.test.ts b/frontend/tests/birth-time-guided-review-fixes.test.ts index f7d23106..8399164e 100644 --- a/frontend/tests/birth-time-guided-review-fixes.test.ts +++ b/frontend/tests/birth-time-guided-review-fixes.test.ts @@ -136,6 +136,14 @@ test("terminal candidate owns one explicit next step and its completion error", assert.match(globalCssSource, /\.birth-time-next-step/); }); +test("terminal and entrypoint CJK phrases stay intact at narrow widths", () => { + const candidateResultSource = readFileSync(new URL("../src/components/birth-time-candidate-result.tsx", import.meta.url), "utf8"); + const pageSource = readFileSync(new URL("../src/app/page.tsx", import.meta.url), "utf8"); + + assert.match(candidateResultSource, /作为当前排盘时间<\/span>并进入对话;原始填报<\/span>和本次候选结果<\/span>仍会保留。/); + assert.match(pageSource, /当前使用候选时间排盘;原始填报范围<\/span>仍保留。/); +}); + test("completed rectification transcript does not repeat the birth place turn", () => { const pageSource = readFileSync(new URL("../src/app/page.tsx", import.meta.url), "utf8");