Add manual AMS slot selection for prints (#76)

- ReprintModal: Dropdown to override auto-matched AMS slots
- AddToQueueModal: Collapsible filament mapping section
- Backend: Store ams_mapping in print queue, apply when print starts
- Color names in dropdowns (decoded from Bambu codes or derived from hex)
- Blue ring indicator for manually selected vs auto-matched slots
- Status indicators: green (match), yellow (type only), orange (not found)

Closes #76

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
maziggy
2026-01-12 08:37:47 +01:00
co-authored by Claude Opus 4.5
parent e2ace4f946
commit ad4e4fc3a2
15 changed files with 1065 additions and 454 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-B03CK04P.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-48h_gFgJ.css">
<script type="module" crossorigin src="/assets/index-C_Su2_85.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DSlUhPr3.css">
</head>
<body>
<div id="root"></div>
+2 -2
View File
@@ -1,6 +1,6 @@
// Bambuddy Service Worker
const CACHE_NAME = 'bambuddy-v16';
const STATIC_CACHE = 'bambuddy-static-v16';
const CACHE_NAME = 'bambuddy-v19';
const STATIC_CACHE = 'bambuddy-static-v19';
// Static assets to cache on install
const STATIC_ASSETS = [