refactor(control-station): separate lidar diagnostics from datasets
This commit is contained in:
@@ -421,6 +421,7 @@ export default function App() {
|
||||
setActiveRoot(rootId);
|
||||
if (rootId === "polygon") {
|
||||
workspace.openView("polygon-run");
|
||||
workspace.openNavigation();
|
||||
return;
|
||||
}
|
||||
workspace.closeView();
|
||||
@@ -652,7 +653,7 @@ export default function App() {
|
||||
className="control-station"
|
||||
data-observation-fullscreen={observationFullscreenActive ? "true" : undefined}
|
||||
navigationOpen={
|
||||
workspace.navigationOpen && activeRoot !== null && activeRoot !== "polygon"
|
||||
workspace.navigationOpen && activeRoot !== null
|
||||
}
|
||||
contentOpen={workspace.contentOpen && activeDefinition !== null}
|
||||
contentExpanded={workspace.contentExpanded}
|
||||
@@ -667,7 +668,7 @@ export default function App() {
|
||||
onOpenDevice={() => openView("local-device")}
|
||||
/>
|
||||
}
|
||||
navigation={currentRoot && activeRoot !== "polygon" ? (
|
||||
navigation={currentRoot ? (
|
||||
<AdminNavigationPanel
|
||||
eyebrow="MISSION CORE"
|
||||
title={currentRoot.title}
|
||||
@@ -746,6 +747,8 @@ export default function App() {
|
||||
</div>
|
||||
) : activeDefinition.kind === "polygon-run" ? (
|
||||
<StatusBadge tone="accent">Virtual only</StatusBadge>
|
||||
) : activeDefinition.kind === "polygon-datasets" ? (
|
||||
<StatusBadge tone="neutral">Offline evaluation</StatusBadge>
|
||||
) : (
|
||||
<StatusBadge tone="warning">Интерфейс готов</StatusBadge>
|
||||
)
|
||||
@@ -775,6 +778,7 @@ export default function App() {
|
||||
onLivePerceptionLayersChange={changeLivePerceptionLayers}
|
||||
observationLayout={observationLayout}
|
||||
polygonRunRoute={polygonRunRoute}
|
||||
deviceLabel={selection?.model.displayName ?? null}
|
||||
spatialControls={selection?.SpatialControlsView
|
||||
? {
|
||||
View: selection.SpatialControlsView,
|
||||
|
||||
Reference in New Issue
Block a user