chore(case-ui): הסרת כפתור "פתח עורך החלטה" הכפול + regen api types
הכפתור בבאנר-התיק רק ביצע setTab("decision") — כפילות מדויקת של טאב
"ההחלטה" שכבר קיים ברצועת-הטאבים (עורך-ההחלטה אוחד לתוכה, /compose נמחק).
שריד שאיבד משמעות אחרי איחוד-המסכים; הוסר.
בנוסף: regen של src/lib/api/types.ts מול הסכמה החיה — קולט את שדות
DocumentPatchRequest (is_post_hearing/protocol_scope) שנוספו ב-#390.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -104,12 +104,6 @@ export default function CaseDetailPage({
|
||||
<>
|
||||
{data && <CaseEditDialog data={data} />}
|
||||
<UploadSheet caseNumber={caseNumber} />
|
||||
<Button
|
||||
className="bg-gold text-white hover:bg-gold-deep border-transparent"
|
||||
onClick={() => setTab("decision")}
|
||||
>
|
||||
פתח עורך החלטה
|
||||
</Button>
|
||||
{canStartWorkflow && (
|
||||
<Button
|
||||
className="bg-gold-deep hover:bg-gold-deep/90 text-parchment"
|
||||
|
||||
@@ -2127,6 +2127,30 @@ export interface paths {
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/cases/{case_number}/agents/interaction-dismiss": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/**
|
||||
* Api Dismiss Interaction
|
||||
* @description Dismiss a pending interaction WITHOUT waking the issue assignee.
|
||||
*
|
||||
* For stale/duplicate questions (TaskMaster #215). Unlike interaction-response,
|
||||
* this does not resolve via Paperclip's wake_assignee path — it cancels the row
|
||||
* so the chair can clear noise without triggering an agent run.
|
||||
*/
|
||||
post: operations["api_dismiss_interaction_api_cases__case_number__agents_interaction_dismiss_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/cases/{case_number}/agents/reset": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
@@ -4653,13 +4677,19 @@ export interface components {
|
||||
};
|
||||
/**
|
||||
* DocumentPatchRequest
|
||||
* @description Patch payload for a single document. Both fields are optional.
|
||||
* @description Patch payload for a single document. All fields are optional; only the
|
||||
* ones present are applied. The metadata.* flags are display/processing hints
|
||||
* that never change the stored doc_type.
|
||||
*/
|
||||
DocumentPatchRequest: {
|
||||
/** Doc Type */
|
||||
doc_type?: string | null;
|
||||
/** Appraiser Side */
|
||||
appraiser_side?: string | null;
|
||||
/** Is Post Hearing */
|
||||
is_post_hearing?: boolean | null;
|
||||
/** Protocol Scope */
|
||||
protocol_scope?: string | null;
|
||||
};
|
||||
/** EquivalentLinkRequest */
|
||||
EquivalentLinkRequest: {
|
||||
@@ -4824,6 +4854,13 @@ export interface components {
|
||||
/** Canonical Statement */
|
||||
canonical_statement?: string | null;
|
||||
};
|
||||
/** InteractionDismissRequest */
|
||||
InteractionDismissRequest: {
|
||||
/** Issue Id */
|
||||
issue_id: string;
|
||||
/** Interaction Id */
|
||||
interaction_id: string;
|
||||
};
|
||||
/** InteractionResponseRequest */
|
||||
InteractionResponseRequest: {
|
||||
/** Issue Id */
|
||||
@@ -8372,6 +8409,41 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
};
|
||||
api_dismiss_interaction_api_cases__case_number__agents_interaction_dismiss_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path: {
|
||||
case_number: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["InteractionDismissRequest"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": unknown;
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
api_reset_case_agents_api_cases__case_number__agents_reset_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
||||
Reference in New Issue
Block a user