Skip to content

Document Creator 0.2.4: Fast lists from the database, lost and unfiled files

Document Creator 0.2.4 makes the templates and documents pages open quickly: they now list files from the site’s database, with cached thumbnails, while a background sync with Google Drive keeps the list up to date.

The sync also checks where each file is. A file that is gone from Drive gets a lost badge (File not found in Google Drive). A file that sits outside its expected Drive folder gets an unfiled badge; clicking the badge opens Resolve Unfiled Item, with Set This As Correct Location, Move To Documents and Move To Templates. Creating, moving, deleting and exporting files are now recorded in the activity log, and the page texts can be translated.

If saving a newly created file to the database fails, the Google Doc is still returned and the next sync picks it up. Sync errors are now logged with their reason instead of being dropped.

Full release notes: Document Creator 0.2.4

0.2.4 · 9 April 2026

Fixed

  • Fix 3 dialyzer errors (invalid contract, pattern match issues)
  • Fix sync_from_drive error swallowing (now logs reason)
  • Fix schema field access (direct instead of Map.get)

Changed

  • Refactor create_document: extract persist_created_document/5
  • Remove dead list_templates/list_documents (replaced by DB versions)
  • Graceful DB insert failure (Drive doc still returned, sync picks it up)

Document Creator 0.2.4. Install or update: {:phoenix_kit_document_creator, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.