- Enhanced skip objects feature with visual improvements and better UX

- Skip Objects Modal:
    - Object ID markers overlaid on preview image (grid layout)
    - Large prominent ID badges to match printer display
    - Info banner explaining to match IDs with printer screen
    - Layer warning when skip unavailable (layer <= 1)
    - Red badge on button showing skipped count
    - Preview image now shown when paused (not just running)
    - Close with ESC key or click outside modal
    - Full light/dark theme support

  - Backend:
    - Extract object positions from 3MF (include_positions=True)
    - API returns x/y coordinates for objects (when available)
    - Parse s_obj from printer MQTT for skipped state persistence
    - Cover URL available in PAUSE/PAUSED states

  - Tests:
    - Added test for objects with position data
This commit is contained in:
maziggy
2026-01-01 18:01:41 +01:00
parent fe250b9b7f
commit 2dcd1a2ef2
16 changed files with 1237 additions and 401 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -23,8 +23,8 @@
<!-- Splash screens for iOS -->
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
<script type="module" crossorigin src="/assets/index-3UvyJ1HQ.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BJk0xs4c.css">
<script type="module" crossorigin src="/assets/index-Cciht2VR.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CPQbpodw.css">
</head>
<body>
<div id="root"></div>