fix(results): gate operational AI exports on QA
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Jens
2026-08-09 11:31:51 +02:00
parent b76cd1837b
commit 0209167cfd
10 changed files with 313 additions and 8 deletions
@@ -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
+1
View File
@@ -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)
+1
View File
@@ -21,6 +21,7 @@ export const exportsApi = {
name?: string
bbox?: VectorSelectionBBox
limit?: number
intended_use?: 'review' | 'operational'
}
| string,
): Promise<ExportCreateResponse> => {