Fetch fresh calibration on every print #19

Merged
rhino merged 1 commits from cursor/fresh-print-calibration into main 2026-10-05 11:04:29 +00:00
Owner

Summary

  • Print pages fetch /api/calibration with no-store and rewrite CSS vars before Print is enabled.
  • Cache-bust print URLs and @never_cache on print/calibrate; README documents the Calibrate UI.

Test plan

  • Save new positions on Calibrate, open Print on an order without hard refresh — positions match
  • Print same order twice — second open still gets latest calibration
  • Print button stays disabled briefly until calibration fetch finishes
## Summary - Print pages fetch `/api/calibration` with no-store and rewrite CSS vars before Print is enabled. - Cache-bust print URLs and `@never_cache` on print/calibrate; README documents the Calibrate UI. ## Test plan - [ ] Save new positions on Calibrate, open Print on an order without hard refresh — positions match - [ ] Print same order twice — second open still gets latest calibration - [ ] Print button stays disabled briefly until calibration fetch finishes
rhino added 1 commit 2026-10-05 10:38:23 +00:00
rhino merged commit fc57578ac1 into main 2026-10-05 11:04:29 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rhino/product-slip#19