Commit Graph

11 Commits

Author SHA1 Message Date
bf775f3745 feat: Add QR code size setting for fixed-size QR codes
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 23:30:11 -06:00
d17a66b0ec feat: Add configurable QR code sizing options (#3)
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
Addresses https://github.com/Donkie/Spoolman/issues/671

Changes:
- Remove fixed 50% max-width constraint on QR code container
- Add qrCodePadding setting (0-10mm, default 2mm) for white space
- Add qrCodeMaxWidth setting (0-100%, 0 = auto/fit-content)
- Add UI controls (slider + input) for both new settings
- Settings are disabled when QR code is turned off

The previous behavior forced QR codes to 50% width when label text
was shown, wasting label space on small labels. New default uses
fit-content for optimal sizing while allowing manual control.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 19:57:52 -06:00
Donkie
cd274a9968 Updated client dependencies 2025-02-24 21:46:56 +01:00
Donkie
755e06c989 Now goes back to loc page on edit submit 2024-11-24 12:31:38 +01:00
Thomas White
813d299c8c allow prefix and suffix with double braces 2024-08-14 21:16:18 +08:00
Donkie
ae26bf5733 Fixed label template error if invalid extra field 2024-08-07 14:26:50 +02:00
Donkie
7082c5206b Added ability to hide qr code entirely when printing
Resolves #231
2024-08-07 13:09:43 +02:00
Donkie
7108b0e7a1 Optimized and organized all clients imports 2024-08-07 12:46:37 +02:00
Donkie
f8c518e808 Added print page header and back functionality 2024-08-05 18:11:44 +02:00
Donkie
71f6ce55f5 Renamed print settings to presets instead, manual preset store button 2024-08-05 16:06:00 +02:00
Donkie
9318ef5c19 Label printing page updates
No longer a modal
Use flex divs instead of a table
2024-08-05 15:39:38 +02:00