Merge origin/staging into consultation family-contract fix.
Keep BUG-628 collect-chip history and add BUG-630 natal homepage contract fix. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3105,18 +3105,6 @@ input:not([type="radio"]):not([type="checkbox"]):not([class^="ant-"]):not([class
|
||||
font-weight: 600;
|
||||
line-height: 1.55;
|
||||
}
|
||||
.rectification-collect-replies {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.rectification-collect-reply {
|
||||
min-height: 44px;
|
||||
min-width: 44px;
|
||||
width: auto;
|
||||
flex: 0 0 auto;
|
||||
padding: 0 var(--space-4);
|
||||
}
|
||||
/* The gap between a settled turn and its next question, as the last entry of the
|
||||
transcript: a live timeline row while refetching, then copy and a reload. */
|
||||
.rectification-question-gap {
|
||||
|
||||
@@ -187,34 +187,6 @@ function RectificationReadonlyRange({
|
||||
);
|
||||
}
|
||||
|
||||
function CollectSpokenReplies({
|
||||
onChoose,
|
||||
}: Readonly<{
|
||||
onChoose: (text: "没有" | "记不清") => void;
|
||||
}>) {
|
||||
return (
|
||||
<div className="rectification-collect-replies" role="group" aria-label="采集题快捷回答">
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
className="rectification-collect-reply"
|
||||
onClick={() => onChoose("没有")}
|
||||
>
|
||||
没有
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
className="rectification-collect-reply"
|
||||
onClick={() => onChoose("记不清")}
|
||||
>
|
||||
记不清
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
type RectificationAgenticChatProps = Readonly<{
|
||||
caseId: string;
|
||||
sessionId: string;
|
||||
@@ -1701,9 +1673,6 @@ export function RectificationAgenticChat(props: RectificationAgenticChatProps) {
|
||||
onStop={submitStop}
|
||||
/>
|
||||
)}
|
||||
{liveQuestion && question.kind === "collect_spoken" && (
|
||||
<CollectSpokenReplies onChoose={(text) => void send("message", text)} />
|
||||
)}
|
||||
{question.status === "skipped" && (
|
||||
<p className="rectification-question-skipped" role="status">
|
||||
{savedTime ? `已跳过(已采用 ${savedTime})` : "已跳过"}
|
||||
|
||||
Reference in New Issue
Block a user