fix(rectification): drop 没有/记不清 collect chips (BUG-626)
Users consistently rejected skip chips on spoken collect. Typing those phrases still declines or skips the domain. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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