Integrate BIM entry hierarchy, durable retirement and viewport glass
This commit is contained in:
@@ -454,7 +454,7 @@ export function E30EvidencePointCloud({ detail }: E30EvidencePointCloudProps) {
|
||||
<span>ПКМ · панорама</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="e30-evidence-scene__legend" aria-label="Легенда 3D-доказательства">
|
||||
<div data-glass-context="scene" className="e30-evidence-scene__legend nodedc-viewport-surface" aria-label="Легенда 3D-доказательства">
|
||||
<span data-point="context">
|
||||
Контекст · {detail.projection.pointsMapXyzM.length}
|
||||
</span>
|
||||
|
||||
@@ -198,7 +198,7 @@ export function E30EvidenceProjection({
|
||||
) : null}
|
||||
{pointLayerVisible ? (
|
||||
<div
|
||||
className="e30-evidence-scene__legend"
|
||||
data-glass-context="scene" className="e30-evidence-scene__legend nodedc-viewport-surface"
|
||||
aria-label="Легенда camera-LiDAR доказательства"
|
||||
>
|
||||
<span data-point="depth">
|
||||
|
||||
@@ -453,7 +453,7 @@ export function WorkspaceRenderer(props: WorkspaceRendererProps) {
|
||||
case "network-monitor":
|
||||
return <NetworkWorkspace />;
|
||||
case "architectural-projects":
|
||||
return <ArchitecturalProjectsWorkspace />;
|
||||
return <ArchitecturalProjectsWorkspace headerToolsHost={props.headerToolsHost} />;
|
||||
case "datasets":
|
||||
return <DatasetGatewayWorkspace />;
|
||||
case "artifact-health":
|
||||
|
||||
@@ -12,7 +12,7 @@ const Workspace = lazy(async () => {
|
||||
});
|
||||
|
||||
/** Host composition only: the module owns its catalog, intake, maps and renderer. */
|
||||
export function ArchitecturalProjectsWorkspace() {
|
||||
export function ArchitecturalProjectsWorkspace({headerToolsHost}:{headerToolsHost?:HTMLElement|null}) {
|
||||
const [toasts, setToasts] = useState<NotificationMessage[]>([]);
|
||||
const notify = useCallback((notice: Notice) => {
|
||||
setToasts(items => [...items, {...notice, id: 'bim:' + crypto.randomUUID()}].slice(-5));
|
||||
@@ -22,7 +22,7 @@ export function ArchitecturalProjectsWorkspace() {
|
||||
}), [notify]);
|
||||
return <>
|
||||
<Suspense fallback={<Description role="status">Открываем архитектурные проекты…</Description>}>
|
||||
<Workspace host={host}/>
|
||||
<Workspace host={host} headerToolsHost={headerToolsHost}/>
|
||||
</Suspense>
|
||||
<ToastStack items={toasts} onDismiss={id => setToasts(items => items.filter(item => item.id !== id))}/>
|
||||
</>;
|
||||
|
||||
@@ -350,7 +350,7 @@ export function E34TemporalLayerScene({
|
||||
<span>ПКМ · панорама</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="e34-temporal-scene__legend">
|
||||
<div data-glass-context="scene" className="e34-temporal-scene__legend nodedc-viewport-surface">
|
||||
<span data-state="cells">
|
||||
Ячейки · {frame.cellCentersMapXyzM.length}
|
||||
</span>
|
||||
|
||||
@@ -499,7 +499,7 @@ export function SpatialWorkspace({
|
||||
</strong>
|
||||
</div>
|
||||
) : null}</>} overlays={<> {!visualProfile && !pointCloudFocused && !floatingSourceMaximized && state?.sourceMode && state.sourceMode !== "idle" && !sourceUrl.trim() ? (
|
||||
<div className="scene-adapter-note">
|
||||
<div data-glass-context="scene" className="scene-adapter-note nodedc-viewport-surface">
|
||||
<Icon name="alert" />
|
||||
<span>
|
||||
Локальный поток <strong>{sourceModeLabel(state.sourceMode).toLocaleLowerCase("ru-RU")}</strong> активен,
|
||||
@@ -509,7 +509,7 @@ export function SpatialWorkspace({
|
||||
) : null}
|
||||
|
||||
{!pointCloudFocused && !floatingSourceMaximized && selection ? (
|
||||
<div className="scene-selection">
|
||||
<div data-glass-context="scene" className="scene-selection nodedc-viewport-surface">
|
||||
<span>Выбрано</span>
|
||||
<strong>{selection.entityPath}</strong>
|
||||
{selection.viewName ? <small>{selection.viewName}</small> : null}
|
||||
@@ -575,7 +575,7 @@ export function SpatialWorkspace({
|
||||
accumulationMaxSeconds={sceneSettings.accumulationMaxSeconds}
|
||||
onAccumulationChange={onAccumulationChange}
|
||||
onAccumulationCommit={onAccumulationCommit}
|
||||
className="scene-timeline"
|
||||
data-glass-context="scene" className="scene-timeline nodedc-viewport-surface"
|
||||
/>
|
||||
) : null}
|
||||
</>}
|
||||
|
||||
Reference in New Issue
Block a user