Commit Graph
10 Commits
Author SHA1 Message Date
Krikorios 54dd52639d Fix startup and Gemini provider handling 2026-05-07 12:45:01 +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
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 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 7305e54f66 Initial commit: Real Estate Registry app 2026-04-10 15:24:22 +03:00