feat: reveal device cards progressively with camera zoom

This commit is contained in:
jhartworks committed 2026-11-12 15:41:35 +01:00
1 parent e62f987563
commit a2a119d3ee
18 files changed
+458 -265

No files matched your search

+2 -1
View File
@@ -115,7 +115,8 @@ function copySymconAssets() {
// Hydronic geometry/readouts load separately; only model references, anchors and the loader join the host.
// Metered-device detail discovery adds about 2 KB; keep a small, explicit margin.
// Charging telemetry, native time/duration formatting and labels add another 5 KB.
const BUDGET = { "nextfloor.js": 680 * 1024, "nextfloor-3d.js": 1000 * 1024, "nextfloor-editor.js": 720 * 1024, "nextfloor-card-editor.js": 240 * 1024, "nextfloor-trend.js": 100 * 1024, "nextfloor-hydronics.js": 100 * 1024 };
// Zoom detail levels and bounded device-card layouts add about 1.5 KB.
const BUDGET = { "nextfloor.js": 682 * 1024, "nextfloor-3d.js": 1000 * 1024, "nextfloor-editor.js": 720 * 1024, "nextfloor-card-editor.js": 240 * 1024, "nextfloor-trend.js": 100 * 1024, "nextfloor-hydronics.js": 100 * 1024 };
copyAssets();
copySymconAssets();