Skip to content

Document Creator 0.4.2: Search, filters and pages in the documents list

Document Creator 0.4.2 makes long lists of documents and templates manageable: they now have a search box, filters and pages of 20.

Above the list, Search by name… finds files by name, and selects filter by category (All Categories), type (All Types) and status (All Statuses: Published, Lost or Unfiled). On the templates list a language filter (All Languages) appears when the site has languages enabled. The filters, the page, the view (cards or table) and the active or trash tab are kept in the page address. The table gains a Created column.

A document composed from templates that all share one type now gets that type too, so the list shows it next to the category.

Also fixed: a file name containing a backslash no longer breaks an image upload to Google Drive.

Full release notes: Document Creator 0.4.2

0.4.2 · 21 May 2026

Fixed

  • Documents listing compiles clean again. Removed the card_grid_class attr passed to <.table_default> in DocumentsLive — it is not defined in the released phoenix_kit core component, so it failed mix precommit (compile --warnings-as-errors) and was silently dropped at runtime by the component’s :global attr (no effect on the card grid). The denser grid awaits a core release that ships the attr; see the marker comment at the call site.
  • Drive image upload hardened. GoogleDocsClient.upload_image_for_embedding/3 now escapes backslashes (before quotes) when building the multipart metadata JSON, so a file name containing \ can no longer produce an invalid metadata object. Manual JSON construction is retained to avoid a transitive Jason dependency.

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