From 9c9f0f2d9bd423e7b967f43f8eff1cce70c2ef7e Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 31 Aug 2026 17:01:28 +0200 Subject: [PATCH] stash --- .../src/components/LabelLayoutPreview.vue | 13 +- frontend/src/label-layouts.js | 221 ++++-------------- frontend/src/label.js | 56 ++++- frontend/src/views/Print.vue | 6 +- 4 files changed, 117 insertions(+), 179 deletions(-) diff --git a/frontend/src/components/LabelLayoutPreview.vue b/frontend/src/components/LabelLayoutPreview.vue index 4dbec85..4d43902 100644 --- a/frontend/src/components/LabelLayoutPreview.vue +++ b/frontend/src/components/LabelLayoutPreview.vue @@ -79,7 +79,7 @@ } /* Corner badge flagging *why* a layout failed to render - a capacity error (label.js's "bigger - code than the tape allows"/"doesn't fit on this tape") or label-layouts.js's templateContent + code than the tape allows"/"doesn't fit on this tape") or label.js's templateContent throwing "missing data" because a field it needs isn't filled in yet (see redraw()'s catch). Shows the short label directly (e.g. "too big", "missing data") rather than just an icon, so the reason reads at a glance; the full sentence is still the title tooltip. Layered on top of the @@ -113,8 +113,15 @@