Compare commits

..
13 changed files with 175 additions and 30 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
"hasInstallScript": true,
"dependencies": {
"@noble/hashes": "^2.2.0",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.22.tgz",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.32.tgz",
"@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react",
"@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns",
"@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens",
@@ -884,9 +884,9 @@
}
},
"node_modules/@nodedc/bim-viewer": {
"version": "0.2.22",
"resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.22.tgz",
"integrity": "sha512-Nl2PffhxaiSAdFZpHR5O2oYqxih/csC3fvIUl7EDnWWlDG7j1xKHtLo65suM9EaeAjx1GMUQsjTmF/I7VeI6Ow==",
"version": "0.2.32",
"resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.32.tgz",
"integrity": "sha512-672oj6S4Mps1JsTUhdUE4VKfJPuwTJqJ8KZMHXCW1k2slpdpz9IXLeUANdImyDaXlvaPGUGwvI8Ml8M9ftPArg==",
"peerDependencies": {
"@nodedc/ui-react": "0.7.0",
"react": ">=19 <20",
+1 -1
View File
@@ -15,7 +15,7 @@
},
"dependencies": {
"@noble/hashes": "^2.2.0",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.22.tgz",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.32.tgz",
"@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react",
"@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns",
"@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens",
@@ -0,0 +1,45 @@
# Collapsible application navigation
Owner request: 2026-11-15. This is shared application chrome, applying to Park,
Control, Missions, Data, System and LAB. The operator collapses the left navigation
to gain workspace width while keeping direct route access.
## Composition and ownership
Use the Design Guideline `ApplicationShell` + `AdminNavigationPanel` contract.
The shell owns a single collapse state and synchronizes column width with the
workspace offset. Individual roots, including SystemNavigationPanel, consume the
same provider. No BIM-specific sidebar or application-local control CSS is added.
A separate BIM implementation was rejected because all application roots need
identical behavior; hiding the whole navigation was rejected because routes must
remain directly accessible.
Expanded: a circular left chevron beside the existing close control.
Collapsed: a 4.55rem icon rail, a right chevron, no title, text or close control.
Icon routes retain their names, active state and keyboard/hover tooltips. Escape
closes a tooltip, not the navigation. Context selectors and secondary header
controls return when expanded. Keyboard focus colors only the icon circle.
The 440ms shell easing animates the navigation width and workspace position
together. Reduced-motion mode disables the animation. Workspace content remains
mounted; renderer geometry follows its existing resize observer. The right
application panel keeps its original width. Existing mobile single-panel
presentation remains in effect.
Collapse state persists between roots and workspace closes/reopens in the mounted
shell. The shared component does not write browser storage. It exposes controlled
state callbacks for a host-owned persistent preference if needed.
## Acceptance
- Shared DOM interaction check: controlled and standalone use, collapse/expand,
route changes, close/reopen, hidden actions, accessible names, tooltip Escape,
retained workspace instance and unsaved input.
- Registry, theme and typography checks; all Design Guideline workspace types and
catalog production build.
- Mission Core architecture gate, full TypeScript, 1,605 frontend tests and
production build.
- Canonical 127.0.0.1:8000 browser: all six roots retain compact navigation;
expanded and compact layouts, Enter/Tab/Escape and real project/fleet navigation.
At 1440px: rail width 72.8px, workspace left edge 112.8px (20px outer pad +
rail + 20px gap). Temporary browser viewport override reset after QA.
+93 -1
View File
@@ -1,7 +1,99 @@
# Portable BIM module in Mission Core
## Current delivery · 16 November 2026
## Current cloud slice · 15 November 2026
Portable client **0.2.32**, host and single BIM Worker **0.2.12**. The current
release identities and artifact hashes are in `vendor/bim/*release.json`.
The sections below are dated earlier qualifications, not the current package pins.
Each material root in Hierarchy opens its own dockable Notes window. Notes have
list/tiles views, prepared thumbnails, same-version photo navigation, a separate
camera-view action, editing and deletion. File/storage actions remain with the
material in Hierarchy; active/error transfers use a separate temporary Uploads
window. Original photos remain on Worker; display/thumbnail WebP and the bounded
Core preview cache are unchanged. No new photos were admitted.
Each project owns a durable `project-views/<id>/meta.json`: camera, projection,
loaded/hidden layers, viewport preferences and docked/floating windows. KU Leuven
→ another project → KU Leuven preserved every viewer field exactly. Concurrent
conflicting edits showed a visible conflict and retained the newer document.
Project roots now have full-deletion confirmation and a durable retirement
outbox. Worker confirmation and local cleanup precede removal of the row;
shared data is retained for remaining owners. Only open/cancel was exercised
live; destructive/restart paths were covered with synthetic regression cases.
Interrupted chunk transfers reappear after reload. Reselecting a matching file
checks its full SHA-256 and resumes its acknowledged Worker offset without a
new version. No original file is cached on Core. Transient failures reconcile
Worker acknowledgement before bounded retries. SSH cleanup cannot leak a
capacity slot, and photo preview concurrency leaves capacity for source uploads.
Browser restart still requires file reselection; autonomous access to an old
File handle is not claimed. See the module's `docs/upload-recovery.md`.
Keyboard flight and mouse orbit now run together: movement key repeats do not
release the orbit pointer, and surface-pivot picking no longer clears held flight
keys. The actual-controller regression covers WASD/QE/arrows and changing heading.
Large-file acceptance: the Sadovaya LAS (7,448,522,823 bytes) resumed the existing
2 GiB partial upload after exact reselection, retained all 219,074,194 points,
and produced 1,944,796,856 bytes of ready Potree data. The complete product was
verified in Core and rendered in the viewport, including a fresh-page reopening
regression. Worker retains the source; staging and job scratch are empty.
The accepted source SHA-256 and conversion details are in the module's upload
recovery document. Native multi-GB intake across arbitrary browser termination
still requires reselecting the file; a disconnected browser cannot read it alone.
Validation: 107 module client, 161 module server, 2 Core adapter and 1608 Core
frontend tests passed; architecture, typography, types and production build
passed. Live notes list/tiles, gallery next/previous, keyboard and Escape passed.
IAB rejected native fullscreen, so that action is not newly accepted here.
Complete multiuser authorization and physical power-loss qualification remain open.
## LAS normalization correction · 15 November 2026
Only Worker advanced to module 0.2.10 / source 5029a39; host 0.2.9 and client
0.2.27 remain as installed below. A LAS 1.1 export using point format 3 now gets
a compatible 1.2 working header during conversion, without changing its archived
bytes. Nineteen targeted checks passed. Existing Novinskiy Boulevard intake was
retried through UI, converted (18,289,361 points), downloaded (202,335,776 bytes)
and rendered. Its original SHA-256 is unchanged and scratch is empty. No new
source upload, duplicate material or Core restart was needed.
## Notes and photo fixes · 15 November 2026
The preceding notes delivery used portable client 0.2.27 / host and single BIM Worker
0.2.9, from module source `60b88af9e84496191451819dd3ef19e9ec9b1c81`.
The Layers panel owns text/photo/camera notes beneath each material version.
Worker retains immutable originals and prepares bounded WebP images; Core keeps
metadata and a 64 MiB preview LRU. Originals stream only on explicit download.
Camera JPEGs carrying an MPF auxiliary frame now pass the same upload path as
ordinary JPEGs; viewing uses the primary frame and preserves every original byte.
Worker error codes survive the host/client boundary. Marker placement takes
priority over viewport gestures; camera viewpoint activation restores perspective.
Repeated archive admission preserves deleted-note tombstones and serializes each
archive batch. A retained project photo archive is an independent owner; deleting
a note does not implicitly destroy that archive.
The operator stopped further image downloads/imports. Final UI inventory is 1970
photographs (week17: 412, week18: 639, week20: 919) and one week21 text note.
1895 camera notes have source poses, 75 photos remain explicitly unplaced.
All original/display/thumbnail members exist. Incomplete download parts and photo
staging are empty; 6790 completed archive members remain on Worker, independently
of the smaller UI inventory. No more imports are queued.
Final live UI reupload of DSC_1777.JPG preserved SHA-256
`46539b1eeee91014ef8503b0d362c8c04c18c3994223fa2225e662484ea5e091` and
the shared archive inode, with the same 1971 notes before/after. The 14,806,653-byte
original renders through a 311,534-byte WebP. 13 focused notes/photo regressions,
93 module client checks, 1605 Core frontend baseline checks and the final
architecture/typecheck/production build passed. No claim of exact photo
reprojection, full multiuser/crash qualification or newly verified live deletion/
native fullscreen is made. Core :8000 and the qualified Worker remain running.
## Previous cloud slice · 15 November 2026
Host package 0.2.6 / Worker 0.2.3, portable viewer 0.2.22. PTS/LAS/LAZ are converted on the single isolated BIM Worker into immutable Potree 2 products. The actual Bridge_2 1.pts was uploaded through the LivingBIM Dataset UI: 85,515,903 points, 3,323,939,155 source bytes, 897,877,195 ready bytes. Only the verified ready set enters Core; source/CAS remain on Worker and owned staging/scratch are empty.
+2 -2
View File
@@ -18,7 +18,7 @@ dependencies = [
"httpx>=0.28,<1",
"lz4>=4.4,<5",
"missioncore-plugin-sdk",
"nodedc-bim-module==0.2.6",
"nodedc-bim-module==0.2.12",
"paho-mqtt>=2.1,<3",
"pillow>=12,<13",
"pyyaml>=6.0,<7",
@@ -29,7 +29,7 @@ dependencies = [
]
[tool.uv.sources]
nodedc-bim-module = { path = "vendor/bim/nodedc_bim_module-0.2.6-py3-none-any.whl" }
nodedc-bim-module = { path = "vendor/bim/nodedc_bim_module-0.2.12-py3-none-any.whl" }
missioncore-plugin-sdk = { path = "packages/plugin-sdk", editable = true }
[project.optional-dependencies]
Generated
+5 -4
View File
@@ -479,8 +479,8 @@ wheels = [
[[package]]
name = "nodedc-bim-module"
version = "0.2.6"
source = { path = "vendor/bim/nodedc_bim_module-0.2.6-py3-none-any.whl" }
version = "0.2.12"
source = { path = "vendor/bim/nodedc_bim_module-0.2.12-py3-none-any.whl" }
dependencies = [
{ name = "fastapi" },
{ name = "httpx" },
@@ -488,7 +488,7 @@ dependencies = [
{ name = "uvicorn" },
]
wheels = [
{ filename = "nodedc_bim_module-0.2.6-py3-none-any.whl", hash = "sha256:0f7f8e5764b2881fd28c02956c4de743b9b75de40544b23f31f6bbeb584df537" },
{ filename = "nodedc_bim_module-0.2.12-py3-none-any.whl", hash = "sha256:f88640ddf2dc2f8a01111dda8a78654a79b615f3d56e69e468d7fc34dd4b0061" },
]
[package.metadata]
@@ -498,6 +498,7 @@ requires-dist = [
{ name = "laspy", marker = "extra == 'worker'", specifier = "==2.7.0" },
{ name = "lazrs", marker = "extra == 'worker'", specifier = "==0.8.2" },
{ name = "numpy", marker = "extra == 'worker'", specifier = "==2.2.6" },
{ name = "pillow", marker = "extra == 'worker'", specifier = "==13.0.0" },
{ name = "pydantic", specifier = ">=2.11,<3" },
{ name = "uvicorn", specifier = ">=0.35,<1" },
]
@@ -560,7 +561,7 @@ requires-dist = [
{ name = "httpx", specifier = ">=0.28,<1" },
{ name = "lz4", specifier = ">=4.4,<5" },
{ name = "missioncore-plugin-sdk", editable = "packages/plugin-sdk" },
{ name = "nodedc-bim-module", path = "vendor/bim/nodedc_bim_module-0.2.6-py3-none-any.whl" },
{ name = "nodedc-bim-module", path = "vendor/bim/nodedc_bim_module-0.2.12-py3-none-any.whl" },
{ name = "paho-mqtt", specifier = ">=2.1,<3" },
{ name = "pillow", specifier = ">=12,<13" },
{ name = "pyyaml", specifier = ">=6.0,<7" },
+12 -9
View File
@@ -1,18 +1,18 @@
{
"schema_version": "missioncore.bim-client-release/v1",
"repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD",
"source_commit": "3ff31ddc66b2528cc39a2b2b68c985e94389b23f",
"package": "nodedc-bim-viewer-0.2.22.tgz",
"sha256": "e32c21e151901a108761b7d5ee2856e9e1a8ee98f4e3ac818fd89b3d83b7139d",
"source_commit": "d38173085654b63d4440f0574a889b3ef125185b",
"package": "nodedc-bim-viewer-0.2.32.tgz",
"sha256": "425395c61783251ac0b67a8b114593cbfa1346112f30828a60e828776ed3e2ff",
"types": "pass",
"contract_tests": 93,
"visual_acceptance": "LivingBIM: native scene cloud selection highlights its hierarchy row; whole BIM root and IFC element selection checked. Thin speed rail without enclosing surface shown in normal/fullscreen viewport, native keyboard adjustment, ten-second auto-hide and brief-key reappearance verified. Narrow viewport hints no longer overlap rail. Existing placement and source data preserved; host and Worker unchanged.",
"contract_tests": 107,
"visual_acceptance": "KU layer notes list/tiles/gallery and exact per-project view roundtrip passed; project deletion confirmation open/cancel only; 219074194-point LAS rendered and reopened after full page reload; IAB held W and mouse drag changed heading and displayed flight speed, then Fit restored cloud overview",
"evidence": "docs/BIM_MODULE.md",
"qualification_date": "2026-11-15",
"qualification_date": "2026-11-16",
"design_guideline_commit": "d0648014f58daf9b94b6bf8ba681ef0aa82c1e82",
"core_frontend_tests": 1604,
"core_frontend_tests": 1608,
"core_frontend_failures": 0,
"validation_context": "shared canonical working checkout; unrelated concurrent edits preserved",
"validation_context": "107 module client and 1608 Core frontend checks; architecture, typography, typecheck and build passed. Large LAS upload/reload/reopen and notes acceptance recorded in docs/BIM_MODULE.md.",
"visual_limits": [
"Native RMB drag not independently automated; actual OrbitControls pan regression passed",
"Native OS layout switch not exercised; physical code fixtures cover Cyrillic/IME labels",
@@ -21,6 +21,9 @@
"Preflight File handles remain browser-session resources; full reload/browser shutdown does not resume local checks or unsubmitted drafts.",
"Native Ctrl+drag was not independently automated; actual gesture/runtime tests cover both configured rotation modes.",
"Manual whole-material placement supports translation and vertical-axis rotation; no scale, roll/pitch or automatic scan registration.",
"Thin range variant uses canonical theme tokens; light theme and every accent palette were not independently visually qualified."
"Thin range variant uses canonical theme tokens; light theme and every accent palette were not independently visually qualified.",
"Live note deletion and native fullscreen were not newly qualified; note deletion/recovery is covered by focused tests.",
"1895 imported camera notes have source poses; 75 photographs remain explicitly unplaced. Exact pixel reprojection, lens distortion and roll are not qualified.",
"The operator stopped further photo admission at 1970 photographs plus one text note. No additional image imports are pending."
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+13 -9
View File
@@ -1,14 +1,18 @@
{
"schema_version": "missioncore.bim-release/v1",
"repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD",
"source_commit": "d8c837d14e3c861fb2ca5d8fafc5ab6210d05b48",
"package": "nodedc_bim_module-0.2.6-py3-none-any.whl",
"sha256": "0f7f8e5764b2881fd28c02956c4de743b9b75de40544b23f31f6bbeb584df537",
"python_tests": 124,
"source_commit": "dd201554220a10d3825b04a146f0f044f47355c5",
"package": "nodedc_bim_module-0.2.12-py3-none-any.whl",
"sha256": "f88640ddf2dc2f8a01111dda8a78654a79b615f3d56e69e468d7fc34dd4b0061",
"python_tests": 161,
"node_reader_tests": 1,
"scope": "Project-owned per-revision display labels with authorization, optimistic revision checks, offline persistence and acknowledged deletion cleanup; immutable source/product and Worker recipes unchanged",
"qualification_date": "2026-11-15",
"worker_source_commit": "2fd1ab52b10aee516a964b095b9cace05b9f4a5f",
"worker_image": "sha256:46b481a9712543a091ec1eea247af51da8d7af69423358f089c8d1958d7ff760",
"core_adapter_tests": 2
"scope": "Project retirement, per-project viewer metadata, interrupted upload recovery and bounded transport retries",
"qualification_date": "2026-11-16",
"worker_source_commit": "dd201554220a10d3825b04a146f0f044f47355c5",
"worker_image": "sha256:dd987e8201391ec92cc8a6f9e10f9d4b9e50ada45fb6a68f31d2f5775925af32",
"core_adapter_tests": 2,
"notes_regression_tests": 13,
"validation_context": "161 server checks, 2 Core adapter checks; installed Core host and single Worker 0.2.12 healthy. Existing 7448522823-byte LAS upload resumed, SHA verified, 219074194 points published, Core ready copy verified; no transfer/job scratch remains.",
"worker_package_version": "0.2.12",
"worker_cloud_regression_tests": 19
}