Spaces:
Sleeping
Sleeping
Commit History
-
Update template sizing/box wrapping fixes
dd94ad9 -
Merge branch 'main' into dev
8cdcbe1
-
Version Update
95eabf0 -
V0.1.5
74b1b27
-
Merge branch 'dev'
8cc6d9b -
Normalize uploaded photos' EXIF orientation
Add image normalization for uploaded photos using Pillow. Import Image, ImageOps and UnidentifiedImageError; introduce EXIF_NORMALIZE_EXTS and a _normalize_uploaded_photo(path) helper that applies ImageOps.exif_transpose, converts incompatible modes for JPEG, and saves with reasonable JPEG options. Call the normalizer for files categorized as "photos" and update the stored file size afterward. Errors decoding the image are caught and the original bytes are preserved.b434fc2 -
Standardize rating labels and sync PDF export
Harmonize rating/priority text and badge formatting across frontend and PDF generation, and convert Playwright PDF export to the sync API. Front-end: updated rating/priority labels to include parentheses, removed the hyphen in badge text ("key - label" -> "key label"), changed empty-badge fallback from "-" to empty string, adjusted rating key extraction logic in several components, and added an empty PdfPreviewPanel.tsx placeholder. Also minor cleanup of an effect cleanup callback in EditReportPage. Server: pdf_export switched from async Playwright to the sync API (render_pdf now returns Path), simplified lifecycle handling and removed the asyncio/proactor helper, and increased PDF page margins to 10mm. pdf_reportlab was updated to match the new label formatting and use empty strings where badges/fields are missing so frontend and PDF outputs are consistent.1ebea81 -
Make category/priority badges adaptive
Replace qualitative category labels with percentage-based labels (e.g. 100% Original Strength, 95-100% Original Strength, 75-95%, 50-75%, <50%). Replace the fixed badge width with dynamic sizing: measure text widths via pdf.stringWidth (Helvetica-Bold, size 10), add padding, clamp to min/max widths, and compute badge_gap so both badges stay centered. If badges overflow the content area, shrink the gap or scale badge widths to fit. Update label positions and roundedRect draws to use the computed cat_w/pr_w values and adjust minor layout constants for improved responsiveness and readability.e722874 -
Standardize category labels to 'Original Strength'
Replace existing category labels (e.g. "Excellent", "Good", "Fair", etc.) with a consistent "<percent> Original Strength" phrasing across components. Updates are limited to label strings in frontend/src/components/JobSheetTemplate.tsx and frontend/src/components/report-editor.js; no class names or logic were changed.cf17e86 -
Clarify category labels with percentage ranges
Update CATEGORY_SCALE labels to include score ranges and clearer wording across JobSheetTemplate.tsx and report-editor.js. Several labels were adjusted (e.g. "Excellent" -> "Excellent (100%)", "Poor" -> "Unsatisfactory (75-95%)", "Worse" -> "Poor (50-75%)") to make severity/score meaning explicit. No class names or other logic were changed—this is a UI label update for clearer reporting.8e10042
-
Merge dev into main for Space update
08113a7 -
Bump app version to V0.1.4
Update APP_VERSION in frontend/src/lib/version.ts from V0.1.3 to V0.1.4 to reflect the new patch release.310edf0 -
Add page template system and UI
Introduce a reusable page template feature and related UX. Adds a new LayoutTemplatesPage for creating, editing and persisting custom page templates and a built-in template list (frontend/src/lib/pageTemplates.ts). Integrates templates into EditLayoutsPage (select defaults per-section, pick template per-page, apply templates when adding pages) and exposes a Templates navigation link. Adds page_template field and PageTemplateDefinition types to session types. Enhance report editor to support selecting/uploading a company logo for page templates and update photo-splitting logic to use primary (2) and continuation (6) photo limits. ImagePlacementPage now offers photo-layout presets and drag/drop application. UploadPage includes an Excel data template download (public/templates/repex-data-input-template.xlsx) and guidance. Server API/schemas/services updated to handle page_templates and related import/upload flows. Misc: various UI and state wiring to merge, persist and apply templates acr…25058c7
-
Cleanup
28157f5 -
PDF Template Update
802cdd2 -
Update Version Number
de747ba -
Updated version number
0bc4be2 -
Refresh sections UI and templates
Normalize sections/headings storage and guard autosave to prevent headings flicker. Improve Edit Layouts UX (collapsible sections, page counts, clearer controls). Align job sheet templates in viewer/editor/PDF and remove the redundant 'Document No' label. Add ImagePlacementPage scaffold.15a4294
-
Remove Playwright install from Docker build
6842961 -
Add footer version V0.1.2
61c7e5b -
Merge dev into main
45527f3 -
Paginate photo-only PDF pages by capacity
Compute the max number of images that can fit on a photo-only page based on available height and minimum cell size. Chunk overflow photos across additional continued pages instead of shrinking frames too far. Align spacing constants for photo grids so continued pages match the main template.4bed098 -
Fix PDF export to honor section page variants
<body above>1f0784e -
Multi-Image Web Fixed
ed33547 -
Pre Data Trans
bcb6323 -
Update pdf_reportlab.py
6df55ab -
PDF Export V1
8c60160 -
Install git for HF build step
299d3ff -
Fix Rollup optional dep in Docker build
26c14b9 -
Fix Rollup optional deps in Docker build
ef8c27b -
Add Dockerfile for HF Space
002212a -
Add Space metadata
0418ff4 -
Ignore local docx
2ccef16 -
Website
eb56c6b
-
PDF Export
39f81e0 -
Imported Data Rework
303d067
-
Data Input Rework
41178f4 -
Report Edit
58c8c26 -
Legacy Files
9b70d7b -
Initial React Transcription
1643ce8 -
HTML Static Setup Web
51c39cf
-
Root HTML files added
Base HTML build4297738 -
Industry Standard
f48f5c4 -
Trim
minimal server + web starterbdfdb65 -
Init
73b6f92