Commit Graph

14 Commits

Author SHA1 Message Date
dc6c24ca6d fixes 2026-01-27 22:06:18 -08:00
6cde9ab75f progress 2026-01-03 21:28:34 -08:00
234578b646 supports lookup by domains 2025-12-09 22:01:06 -08:00
5afb05d261 adds per page 2025-11-20 22:42:33 -08:00
d7afd31911 swaps column order 2025-11-20 22:20:45 -08:00
0bb071f337 formatting improvements. 2025-11-18 23:11:14 -08:00
5524d7308c only load 7 days 2025-11-10 10:52:57 -08:00
a52dc04844 syncing 2025-11-09 21:46:35 -08:00
82d2269566 changes 2025-11-09 21:38:45 -08:00
bafa9190e2 much better 2025-11-09 20:44:26 -08:00
662be72f6a feat: Implement comprehensive project data model and synchronization system
- Added ProjectModel class in models/project_model.py to define structure for Filevine project data with proper type hints and conversion methods (to_dict/from_dict)
- Implemented get_firestore_document() helper function in app.py for retrieving specific Firestore documents
- Enhanced dashboard pagination in app.py with improved error handling and debugging output for property contacts and project IDs
- Overhauled sync.py with:
  * Parallel processing using ThreadPoolExecutor for efficient project synchronization
  * Comprehensive extraction of project data from Filevine forms (newFileReview, datesAndDeadlines, propertyInfo, etc.)
  * Improved error handling and logging throughout the sync process
  * Proper handling of date conversions and field mappings from Filevine to Firestore
  * Added property contacts email extraction and viewing_emails array population
  * Added support for filtering projects by specific ProjectId (15914808) for targeted sync
- Added proper initialization of Filevine client in worker threads using thread-local storage
- Improved handling of optional fields and default values in ProjectModel
- Added detailed logging for progress tracking during synchronization

This implementation enables reliable synchronization of Filevine project data to Firestore with proper data modeling and error handling, supporting the dashboard's data requirements.
2025-11-09 20:21:53 -08:00
Bryce
903ffbbf42 progress 2025-11-09 19:41:37 -08:00
0022bb5abe most feedback applied. 2025-11-06 22:00:43 -08:00
dd13ed1711 separates syncing 2025-11-05 21:58:36 -08:00