Projects 0.27.0: Edit forms open in the language you are viewing
Projects 0.27.0 opens project, template and task edit forms in the language you are viewing, names the record in the admin breadcrumb, and moves project files and activity logging onto PhoenixKit’s shared code. Two folder bugs for sites with a custom folder hook are fixed.
Forms open in the language you are viewing
On a multilingual site, editing a project, template, library task or project task used to open the form on the main language, whatever language the page was showing. Edit forms now open on the language being viewed, so a translator lands on the text they were reading. New forms still open on the main language, because it holds the required fields.
A clearer breadcrumb
Edit pages now show the record as its own crumb and end in “Edit”, for example Projects / Test / Edit, instead of a final crumb that named the record. A form opened in the side drawer has no breadcrumb, so it keeps a heading that names what is being edited.
Shared building blocks
Project files, the media reorganizer, file icons and activity logging now use PhoenixKit’s shared toolkits instead of the module’s own copies. Behaviour is meant to stay the same. The person recorded on an activity entry is now read from the signed-in scope first, the same way as in other modules.
Folder fixes for custom folder hooks
These only matter if your app sets the :attachments_parent_folder hook:
- A hook that answered the “create” call differently from the plain lookup made the module create a second project folder on the next upload. It no longer does.
- A hook with no answer for the “create” call put a new folder at the storage root, where the Files page could not find a folder with a custom name. The folder now goes under the hook’s normal parent.
Upgrading
Projects 0.27 needs PhoenixKit 2.38.0 or later (below 3.0); earlier releases accepted any 2.x. Update core first if it is older. No migration.
Full release notes: Projects 0.27.0
0.27.0 · 26 September 2026
PR #46 plus its post-merge review
(dev_docs/pull_requests/2026/46-core-resource-folders/CLAUDE_REVIEW.md).
Changed
- Requires
phoenix_kit>= 2.38.0 (pin>= 2.38.0 and < 3.0.0). Project files, the media reorganizer, file icons and activity logging now run on core’s shared toolkits instead of local copies:Storage.ResourceFolders,Reorganizer.ResourceSource,Utils.Format,PhoenixKitWeb.ActorandPhoenixKit.Activity.log/3. Behaviour is unchanged;MediaReorganizershrinks to a declaration. - The activity actor is read from the scope first, then the bare current user, the same way every module now reads it.
- Edit forms (project, template, task, assignment) open on the language being viewed; new forms still open on the main language, which holds the required fields.
- Edit pages’ admin trail names the record as a crumb and titles the page
“Edit” (
… / Projects / Test / Edit); a form opened in the drawer keeps a heading that names the record.
Fixed
- A parent hook answering the ensure form differently from the bare form no longer creates a second project folder on the next upload.
- A parent hook with no clause for the ensure form no longer places a new folder at the root, where the Files page could not find a host-named one.
Projects 0.27.0. Install or update: {:phoenix_kit_projects, "~> 0.27"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.