feat: add manual Paperless ID synchronization for email attachments and update default barcode margins to 7mm.
Build and Push Multi-Platform Images / build-and-push (push) Successful in 36s

This commit is contained in:
2026-05-18 09:14:26 +02:00
parent 76ce4cf900
commit 11bed63bad
6 changed files with 78 additions and 34 deletions
@@ -116,8 +116,8 @@ export default function BarcodePositioner({
py += containerRef.current.scrollTop;
}
// Constraints: 6mm margin from edge
const margin = 6 * scale;
// Constraints: 7mm margin from edge
const margin = 7 * scale;
px = Math.max(margin, Math.min(px, cr.width - barcodeW - margin));
const pageHeightPx = PAGE_HEIGHT_MM * scale;
py = Math.max(margin, Math.min(py, pageHeightPx - barcodeH - margin));
@@ -65,8 +65,8 @@ export default function MailImportWizard({ visible, onClose, email, attachments
initialData.forEach(d => {
initialDates[d.virtualId] = mailDate;
initialBarcodes[d.virtualId] = {
x: 6,
y: 6,
x: 7,
y: 7,
datum: mailDate.format('YYYY-MM-DD'),
jahr: mailDate.format('YYYY'),
isNeu: true,