mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
After clicking "Clear Plate & Start Next", refreshing the page showed the button again because the frontend determined the state purely from the printer's FINISH/FAILED status. The backend already tracked a plate_cleared flag in memory but never exposed it to the frontend. - Add plate_cleared field to PrinterStatus schema and API response - Pass plateCleared prop to PrinterQueueWidget - Skip clear plate UI when plate is already acknowledged - Add 2 tests for plateCleared=true behavior