fix(web): keep unrectified birth data usable without inventing a minute

Rectification stays optional. Reported minutes can consult and generate reports; date-plus-period uses a declared window instead of a midpoint or 00:00. Updates BUG-341.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-21 15:29:58 +08:00
parent e7f4030e3f
commit 9958e00abc
34 changed files with 1441 additions and 169 deletions
@@ -195,7 +195,7 @@ export function GeneratePersonalReportButton({
className="inline-flex min-h-11 shrink-0 items-center gap-1.5 whitespace-nowrap rounded-lg border border-border bg-canvas px-3 py-1.5 text-sm text-ink transition-colors hover:bg-canvas-muted disabled:pointer-events-none disabled:opacity-50"
onClick={() => void handleGenerate()}
disabled={submitting}
title="根据已采用或已确认的个人出生资料生成完整报告"
title="根据已保存的具体出生分钟生成完整报告;未校正会标明方向性参考"
>
<FileText aria-hidden="true" className="size-4" />
{submitting ? "正在创建…" : "生成完整报告"}
@@ -153,7 +153,7 @@ export function PersonalReportCenter() {
<section className="report-center-hero">
<div>
<h1></h1>
<p></p>
<p></p>
<p className="report-center-meta" aria-label="报告概览">
{state.reports.length} · {state.reports.filter((report) => report.status === "ready").length} · {hasGenerating ? "有报告生成中" : latestReady ? "最新报告可查看" : "尚待生成"}
</p>