Files
Jyotisha/frontend/src/components/rectification-verification-report.tsx
T
Jesse_ChenandCursor 7e3b6cdc7a
Independent Staging Quality Gate / validate (push) Successful in 25m9s
Independent Staging Quality Gate / publish (push) Successful in 37m19s
fix(rectification): simplify delivery card and guard double turns (BUG-595, BUG-596)
Make the range card row-select, drop the composer 先这样 control and adopt status bar, keep delivery copy to three sentences with a folded verification report, and skip a second no-message agent run after a terminal delivery turn.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 19:56:48 +08:00

20 lines
632 B
TypeScript

"use client";
import { renderChatMarkdown } from "@/components/chat-markdown-view";
import { RECTIFICATION_USER_COPY } from "@/lib/rectification-agentic/user-copy";
export function RectificationVerificationReport({
markdown,
}: Readonly<{ markdown: string | null | undefined }>) {
const body = markdown?.trim() ?? "";
if (!body) return null;
return (
<details className="rectification-verification-report">
<summary>{RECTIFICATION_USER_COPY.verificationReportSummary}</summary>
<div className="rectification-verification-report__body">
{renderChatMarkdown(body)}
</div>
</details>
);
}