Documents and cloud sync
Files are filed by year, month, and job. Customer, property, payment status, and document type are filters in the app, not folders — so each file exists exactly once.
Business filing system
13 folders ready
Preview structure shown. The folders become live after the document migration is applied to Supabase.
Primary cloud mirror
No Google account connected
Not synced yet
The app requests access only to folders and files it creates or that the user explicitly shares with it—not the entire Drive.
File naming standard
2026-09-23_JOB-1045_John-Smith_Photo-Before_Main-Panel.jpgDate → job number → document type → short description. The original file extension is preserved.
The Google OAuth credentials and encrypted server key still need to be added from the laptop before an owner can connect Drive.
Refresh tokens are encrypted before storage and never sent to the phone or browser.
The same folder and sync records support OneDrive. Google Drive is implemented first so users never maintain two competing folder trees.
Estimate PDFs stay with the job that created them.
Document records preserve versions and sync state.
Row-level rules isolate every contractor’s files.