PhoenixKit 2.47.0: Save buttons for storage profiles and libraries
PhoenixKit 2.47.0 replaces instant saves on storage profiles and libraries with Save buttons, and explains better what a profile’s buckets and copy counts do.
Save buttons
A bucket row on the Storage profiles tab saved the moment a control changed, with no sign that it had. A library’s profile, rendition set and annotated thumbnails saved on every dropdown change, even though a different profile moves and resizes the library’s files. Each of these is now a form with one Save button: disabled until something changes, then Unsaved changes, then Saved, with the usual confirmation at the top of the page. Before, only a profile’s name and copy counts waited for their button or for Enter.
Clearer bucket roles
Removing a bucket from a profile is now Remove from profile, and the confirmation says the files are copied to the profile’s other buckets, then deleted from this one, and that the bucket itself stays.
With one Primary and a Replica or Backup at one copy, the second bucket holds nothing. The tab now says so and offers a button to keep every original on two buckets, after a confirmation that existing files are copied in the background. The line under the copy counts used to say files were spread across both buckets; it now says the copy goes to the primary. Creating a bucket that leaves the Default profile spreading files rather than mirroring them now says so, with where to change it.
With several primaries, a higher count would also put every file on every primary, so the tab then only names the idle buckets and offers no button.
No migration.
Full release notes: PhoenixKit 2.47.0
2.47.0 · 3 October 2026
Changed
- The bucket rows of a storage profile, and a library’s storage, are saved with a Save button.
Changing a row of the Storage profiles tab (role, stores, upload order, serve order, status) saved
the instant a control changed or a number stopped moving, with no sign that anything had; the
profile’s own name and copy counts saved only on their button or on Enter. Libraries → a
library’s profile, variant set and annotated thumbnails saved on every dropdown change, and a
different profile or variant set moves and resizes the library’s files. Each of these is a form with
one Save button now: disabled until something changes, then “Unsaved changes”, then “Saved” (and the
usual confirmation at the top).
Core.SaveButtonis the component, opt-in likedate_nav. - Removing a bucket from a profile says what it does. The “x” is “Remove from profile”, and the confirmation says the files are copied to the profile’s other buckets and then deleted from this bucket, that the bucket itself stays, and that the profile stops sending it files.
Added
- The Storage profiles tab says when a bucket is idle and offers the count that uses it. With
one Primary and a Replica or Backup at one copy, the other bucket holds nothing, so a line under the
copy counts names it (“Not used at this copy count: …”) and a button — “Keep every original on 2
buckets” — sets the count after a confirmation that says existing files are copied in the
background. The count is offered only where it is unambiguous (one primary, one copy, a bucket
waiting); with several primaries a higher count would also put every file on every primary, so the
line only names the idle buckets. The server applies only the count it would itself recommend.
Profiles.copies_advice/1is the one reading of what a count means for a profile’s buckets. - Creating a bucket says when the Default now spreads files. A new bucket joins the Default as a primary; when that leaves it keeping fewer copies than it has primaries, the confirmation adds “Each original is stored on 1 of the 2 primary buckets, so files are spread across them, not mirrored”, with where to change it.
Fixed
- The line under a profile’s copy counts treated every bucket as equal. With one Primary and one Replica at one copy it said files were spread at random across both; in fact the copy goes to the primary and the replica holds nothing unless a write to the primary fails. It now says so and, with several primaries, counts only them.
i18n
- The strings the Save buttons, the idle-bucket line and the copy-count button added (9 in all) are extracted and translated in de, es, et, fr, it, pl and ru; no entry is fuzzy.
PhoenixKit 2.47.0. Install or update: {:phoenix_kit, "~> 2.47"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.