fix(results): gate operational AI exports on QA
This commit is contained in:
@@ -49,7 +49,7 @@ function formatExportType(value: string): string {
|
||||
map_analysis_json: 'Gebiedsanalyse (JSON)',
|
||||
map_evolution_json: 'Historische vergelijking (JSON)',
|
||||
dataset_geojson: 'Kaartlaag (GeoJSON)',
|
||||
detection_geojson: 'Gebouwdetecties (GeoJSON)',
|
||||
detection_geojson: 'Gebouwdetecties - controlelaag (GeoJSON)',
|
||||
segmentation_geojson: 'Segmentaties (GeoJSON)',
|
||||
project_metadata_json: 'Werkruimtedata (JSON)',
|
||||
project_report_html: 'Projectrapport (HTML)',
|
||||
@@ -155,7 +155,7 @@ export function ExportCenter({
|
||||
},
|
||||
{
|
||||
key: 'detection_geojson',
|
||||
label: 'Herkende gebouwen (GeoJSON)',
|
||||
label: 'Herkende gebouwen - controlelaag (GeoJSON)',
|
||||
detail: 'Bewaarde geometrieën uit beeldanalyse',
|
||||
item: getLatestExportByType(exports, 'detection_geojson'),
|
||||
},
|
||||
@@ -337,7 +337,7 @@ export function ExportCenter({
|
||||
</div>
|
||||
{selectedDetectionRunId ? <div className="handoff-action-card">
|
||||
<span>Gebouwanalyse</span>
|
||||
<strong>Herkende gebouwen (GeoJSON)</strong>
|
||||
<strong>Herkende gebouwen - controlelaag (GeoJSON)</strong>
|
||||
<p>Bewaar de persistente detectiegeometrie van de geselecteerde analyserun.</p>
|
||||
<button type="button" className="secondary-action" onClick={onExportDetectionRun} disabled={!selectedDetectionRunId || exporting}>
|
||||
Gebouwanalyse bewaren
|
||||
|
||||
@@ -84,6 +84,7 @@ export function useExportWorkflow({
|
||||
const response = await exportsApi.exportGeojson(selectedProjectId, {
|
||||
analysis_run_id: selectedDetectionRunId,
|
||||
export_kind: 'detection_run',
|
||||
intended_use: 'review',
|
||||
})
|
||||
setLatestExport(response)
|
||||
await loadExports(selectedProjectId)
|
||||
|
||||
@@ -21,6 +21,7 @@ export const exportsApi = {
|
||||
name?: string
|
||||
bbox?: VectorSelectionBBox
|
||||
limit?: number
|
||||
intended_use?: 'review' | 'operational'
|
||||
}
|
||||
| string,
|
||||
): Promise<ExportCreateResponse> => {
|
||||
|
||||
Reference in New Issue
Block a user