Preserve map analysis across workspaces
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
governed raster analyses and complete historical comparisons.
|
||||
- Added compact post-analysis actions for the local grounded Ollama assistant
|
||||
and the existing Downloads workspace, preserving the active area context.
|
||||
- Kept the map workspace mounted while visiting AI, Downloads or another
|
||||
workspace so the selected theme, computed result and evolution comparison
|
||||
remain available when the operator returns to the map.
|
||||
- Replaced the accumulated TODO lists as the product roadmap with one current
|
||||
V1 completion board; historical sprint checklists remain retained as
|
||||
implementation evidence.
|
||||
|
||||
@@ -39,5 +39,9 @@ def test_completed_analysis_hands_off_to_ai_and_downloads_responsively() -> None
|
||||
assert "Open downloads" in workspace
|
||||
assert "onOpenAssistant={() => setActiveWorkspace('assistant')}" in app
|
||||
assert "onOpenExports={() => setActiveWorkspace('exports')}" in app
|
||||
assert 'className="workspace-persistent-map"' in app
|
||||
assert "hidden={activeWorkspace !== 'map'}" in app
|
||||
assert "{activeWorkspace === 'map' ? (" not in app
|
||||
assert ".geo-result-next-actions" in styles
|
||||
assert ".geo-results-panel > .geo-result-next-actions" in styles
|
||||
assert ".workspace-persistent-map[hidden]" in styles
|
||||
|
||||
@@ -9854,6 +9854,10 @@ Implemented:
|
||||
analysis response rather than an empty raster GeoJSON shell.
|
||||
- Added direct post-analysis handoff buttons to `AI-vragen` and `Downloads`.
|
||||
The selected Area or drawn bbox remains in shared App state.
|
||||
- Kept the geographic explorer mounted while other workspaces are active so
|
||||
its selected theme, analysis result and temporal comparison survive the
|
||||
round trip to AI or Downloads. Hidden workspaces remain non-interactive and
|
||||
MapLibre resizes through its existing `ResizeObserver` when shown again.
|
||||
- Added one current V1 completion board to `docs/TODO.md`; legacy checklists
|
||||
remain preserved but no longer define product readiness.
|
||||
|
||||
|
||||
+2
-1
@@ -19,7 +19,8 @@ geen open productroadmap meer.
|
||||
- [x] Download vectorresultaten als GeoJSON, rasteranalyses als JSON en
|
||||
historische vergelijkingen als JSON; kopieren blijft voor alle drie mogelijk.
|
||||
- [x] Ga vanuit een afgeronde analyse rechtstreeks naar de lokale
|
||||
brongebonden Ollama-assistent of naar Downloads.
|
||||
brongebonden Ollama-assistent of naar Downloads en keer terug zonder het
|
||||
zichtbare kaartresultaat of de evolutievergelijking te verliezen.
|
||||
- [x] Gebruik de operationele lokale YOLO/PyTorch-keten alleen met persisted
|
||||
detecties, GRB-QA en expliciete controlewaarschuwingen.
|
||||
- [x] Draai de volledige applicatie in de beheersbare Unraid-container op poort
|
||||
|
||||
@@ -999,7 +999,7 @@ function App(): JSX.Element {
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{activeWorkspace === 'map' ? (
|
||||
<div className="workspace-persistent-map" hidden={activeWorkspace !== 'map'}>
|
||||
<MapWorkspace
|
||||
selectedProjectId={selectedProjectId}
|
||||
projects={projects}
|
||||
@@ -1082,7 +1082,7 @@ function App(): JSX.Element {
|
||||
onOpenAssistant={() => setActiveWorkspace('assistant')}
|
||||
onOpenExports={() => setActiveWorkspace('exports')}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
{activeWorkspace === 'analysis' ? (
|
||||
<div className="workspace-grid workspace-grid-analysis">
|
||||
|
||||
@@ -7262,3 +7262,6 @@ section {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
.workspace-persistent-map[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user