mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 09:23:17 +08:00
Fix empty BGP route false positives and add batch alias UX.
Skip Dest/Network headers when Total routes is 0; capture direction from match groups; expose workbook compare/data/sheet stats and prefer batch aliases in compare/cutover pickers. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
f321413dbf
commit
1fcd613bc6
16 changed files with 327 additions and 39 deletions
|
|
@ -1837,6 +1837,12 @@ export const bizStateSetBatchBaseline = (batchId: string, marked: boolean) =>
|
|||
{ marked },
|
||||
);
|
||||
|
||||
export const bizStateSetBatchAlias = (batchId: string, alias: string) =>
|
||||
apiPatch<Record<string, unknown>>(
|
||||
`/v1/biz-state/batches/${encodeURIComponent(batchId)}/alias`,
|
||||
{ alias },
|
||||
);
|
||||
|
||||
export const bizStateDeleteBatch = (batchId: string) =>
|
||||
apiDelete<{ ok: boolean }>(`/v1/biz-state/batches/${encodeURIComponent(batchId)}`);
|
||||
|
||||
|
|
@ -2063,7 +2069,13 @@ export const bizMigrationNePortrait = (params: { source: string; ne_id: string;
|
|||
source: string;
|
||||
ne_id: string;
|
||||
task: Record<string, unknown> | null;
|
||||
batches: Array<{ id: string; started_at?: string | null; status?: string; row_count?: number }>;
|
||||
batches: Array<{
|
||||
id: string;
|
||||
started_at?: string | null;
|
||||
status?: string;
|
||||
row_count?: number;
|
||||
alias?: string;
|
||||
}>;
|
||||
hint?: string;
|
||||
}>(`/v1/biz-migration/ne-portrait?${q.toString()}`);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue