zov-tech/miniapp
wasrusgen a084542bbf measurements: photo upload + measurement detail page + PDF/print
Wizard: new 'photos' step (6 total) — camera/gallery input, client-side
canvas compression to 1600px @ ~78% JPEG, max 12 photos. Thumbnails
with delete in step; preview in summary.

Backend: POST /api/measurement now decodes data-URL photos and saves
to /app/photos/<id>/N.jpg (volume-mounted). New GET /api/photo/{id}/{n}
serves files with path-traversal protection. New POST /api/measurement_detail
returns full measurement record (walls/openings/photos/notes/...).

Clients page: measurement rows now clickable → renderMeasurement detail
view with key-value grid + photo gallery + 'Скачать PDF / Печать'.
Print stylesheet (@media print) hides navigation/buttons/uploaders and
prints clean A4-friendly layout.

Podbor report: existing 'Печать → PDF' now falls back to inline
window.print() inside Telegram WebApp (popups are blocked there).

Cache bust v=20260513a.
2026-05-12 18:11:29 +03:00
..
assets measurements: photo upload + measurement detail page + PDF/print 2026-05-12 18:11:29 +03:00
index.html measurements: photo upload + measurement detail page + PDF/print 2026-05-12 18:11:29 +03:00
preview-all-picts.html miniapp: 25 SVG pictograms for 7 remaining categories (style D · 3D) 2026-05-11 21:27:40 +03:00
preview-fridge-styles.html miniapp: add fridge style preview — 4 styles × 4 variants for comparison 2026-05-10 23:26:30 +03:00
preview-fridges.html miniapp: redraw fridge pictograms in style D (3D perspective with shadow) 2026-05-10 23:33:07 +03:00
preview-report.html user feedback batch: model count, specs, manual link, dimensions, export 2026-05-11 17:11:30 +03:00