Commit Graph
23 Commits
Author SHA1 Message Date
Krikorios 54dd52639d Fix startup and Gemini provider handling 2026-05-07 12:45:01 +03:00
Georges Haddad b9b3c5512f Mobile: stats-bar as horizontal scrollable pill strip instead of stacked boxes 2026-04-22 13:10:04 +03:00
Georges Haddad 153d1216b9 Mobile: render persons-grid as flat list instead of card boxes 2026-04-22 13:05:27 +03:00
Georges Haddad d1bcf3c9d5 Mobile: show tables in desktop layout with horizontal scroll instead of card stack 2026-04-22 13:03:07 +03:00
Georges Haddad f6c87e761e Mobile UI: compact card layout for tables; switch Gemini default to 2.5-pro 2026-04-22 12:58:35 +03:00
Krikorios 4cbaa640fd perf: paginate docs list, lazy thumbnails, static cache headers 2026-04-19 08:26:05 +03:00
Krikorios 08ebc2e790 perf: paginate docs list, lazy thumbnails, static cache headers 2026-04-19 00:31:59 +03:00
Krikorios ef1d55f82f perf: paginate docs list, lazy thumbnails, static cache headers 2026-04-19 00:16:50 +03:00
Krikorios 95650e4c17 perf: paginate docs list, lazy thumbnails, static cache headers 2026-04-19 00:08:56 +03:00
Krikorios da900cab2d perf: paginate docs list, lazy thumbnails, static cache headers 2026-04-19 00:05:09 +03:00
Krikorios 5b1e770948 perf: paginate docs list, lazy thumbnails, static cache headers 2026-04-18 23:58:21 +03:00
Krikorios 379359be20 perf: paginate docs list, lazy thumbnails, static cache headers 2026-04-18 23:42:06 +03:00
Georges Haddad 86ff96816a Fix merge not working for candidates with no scope or All Lebanon scope 2026-04-15 10:29:41 +03:00
Georges Haddad 88f047a654 Fix extraction for companies and religious entities 2026-04-15 10:07:57 +03:00
Georges Haddad 85b5b21106 feat: mobile-friendly camera upload workflow
- Redesigned upload page into single unified card with camera/gallery buttons
- Large touch-friendly capture buttons for mobile devices
- Staging gallery grid (3 columns on mobile, auto-fill on desktop)
- Sticky add-more bar and process button on mobile
- Drag-and-drop support on desktop
- Responsive CSS with mobile-first breakpoints
2026-04-11 18:31:01 +03:00
Georges Haddad eb79b3781f fix: prevent cross-person contamination + fix merge scope matching
Critical fixes:
- Sibling matching now requires BOTH request_number AND search_scope
  (previously matched on request_number alone, mixing different people)
- If page 2 has no search_scope, inheritance is skipped (safe default)
- Inherit search_scope from sibling doc during confirm so merge validation works
- Normalize scope values on both sides when checking merge_allowed
- Merge was blocked because page 2 had empty search_scope, making same_scope always false
2026-04-11 18:11:36 +03:00
Georges Haddad 123492ae90 fix: inherit person data via request_number for individually uploaded pages
- Detect page 2+ from page_info field (e.g. صفحة ٢ من 5) with Arabic digit support
- Find sibling documents by matching request_number, not just pdf_group_id
- Works for both PDF splits AND individually photographed pages
- Inherit all person fields (name, father, family, registry, etc.) from confirmed sibling
- Update review banner to show for all subsequent pages
2026-04-11 17:25:25 +03:00
Georges Haddad 6ba5e7ee79 fix: inherit person name from page 1 during confirmation for multi-page PDFs
- Move first_name validation after document load so page 2+ can inherit
- Resolve page 1's confirmed person and auto-fill name/father/family/registry
- Fixes 'First name is required' error on subsequent PDF pages
2026-04-11 17:16:15 +03:00
Georges Haddad 3b3bcf2cf2 feat: two-step staging upload + multi-page PDF person inheritance
- Add stage/process-staged/remove-staged endpoints for batch upload workflow
- Add staging gallery UI with thumbnail previews and per-image removal
- Inherit person info & doc fields from page 1 for multi-page PDFs
- Auto-link page 2+ to same person on confirmation
- Show info banner on review page for multi-page documents
- Exclude staged docs from stats counters
2026-04-11 17:09:48 +03:00
Georges Haddad 1b6d5543a6 UI beautification: SVG icons, polished buttons, glass navbar, refined login, animated orbs, modern cards 2026-04-11 02:31:11 +03:00
Georges Haddad 7e1e0ac426 Mobile-friendly UI: hamburger nav, responsive layouts, restyle login/admin pages, fix iOS upload 2026-04-10 16:50:15 +03:00
Georges Haddad 61b9c23803 Fix: secure cookie only over HTTPS, not plain HTTP 2026-04-10 16:15:37 +03:00
Georges Haddad 7305e54f66 Initial commit: Real Estate Registry app 2026-04-10 15:24:22 +03:00