send the map selection to change detection and show the modified class

The comparison hook runs before the selection state is declared in App, so the
selection is read through a getter at the moment the run starts rather than
captured at render. The panel gains the modified count, which until now was
folded into removed plus added.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Jens
2026-08-22 14:56:37 +02:00
co-authored by Claude Opus 5
parent ea0e401690
commit 9614307669
4 changed files with 34 additions and 1 deletions
+2
View File
@@ -305,6 +305,8 @@ function WorkbenchApp({ username, accessMode, loggingOut, onLogout }: WorkbenchA
selectedProjectId,
availableVectorDatasets,
loadDatasetJobs,
// Bind the comparison to whatever the operator has selected on the map.
getSelection: () => ({ bbox: mapSelectionBbox ?? null, areaId: selectedMapAreaId ?? null }),
})
const {
qaCandidateDatasetId,