Color Picker Preset Swatches & "Copy from Slot" button for Spool Backup alignment #73
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
On the Anycubic Kobra X / ACE system, the automatic filament backup function (switching to an identical spool when one runs out) relies heavily on a perfect material and color match. If two spools don't share the exact same color values, the automatic rollover won't trigger.
Motivation
When configuring our spools inside the KX-Bridge Edit Slot dialog,

if we want to set two or more slots to the exact same color (e.g., two spools of identical Black or Grey for backup purposes), we currently have to manually re-type the exact RGB/HEX values or guess the spot on the gradient spectrum every single time.
Proposed Implementation
To make setting up backup spools seamless and prevent numeric color typos that silently break the printer's backup logic, I propose adding two simple UX features to the color selection layout:
Custom/Recent Color Swatches: Implement a "Custom" or "Saved" colors grid at the bottom of the color picker popup, similar to the classic Windows color dialog. This allows users to store their active filament inventory colors locally.
"Copy color from Slot..." Button: Add a quick action button or dropdown right below the color picker. Clicking it would allow the user to instantly clone the exact color hex/RGB from any of the other active ACE slots (e.g., "Copy from Slot 3").
This combination would make identical color mapping effortless without adding clutter to the UI.
Implemented in the current nightly build:
1. Pickr color picker — the native browser color input is replaced with a proper HSV wheel + hex input field (Pickr, served locally so it works without internet access).
2. Recent color swatches — the last 16 used colors are stored in the browser (localStorage) and shown as clickable swatches below the picker. Clicking a swatch applies it instantly.
3. "Copy color from slot" dropdown — appears when other occupied slots are available. Selecting one copies its exact hex color into the picker — no manual typing needed for identical backup spool setups.
All three features are in the slot edit dialog. Pull a
docker compose pull && docker compose up -dto get the update.