История коммитов

simba77
feat(collections): add an optional item ID column
simba77
fix(collections): move item filters into dropdown controls
simba77
feat(collections): pick related items in the item form with a live search
The search with suggestions of the field defaults becomes a shared component and serves the item form too: one relation shows its name in the search field, several form an ordered list within the field limit. The chosen ids post as hidden fields.
simba77
refactor(collections): drop the no-script fallbacks of the item form
Rows, file uploads and relation search work through the script alone; the item form posts plain fields without multipart, and files go up through the upload endpoint. The unused repeated-values service is removed.
simba77
refactor(collections): drop the no-script fallbacks of the field form
The panel needs JavaScript for its interactive parts; the guide for templates now says so. The field form keeps posting and validating as a plain form, while reordering, picking defaults and choosing a related record work only through the script.
simba77
feat(collections): select items across the list and confirm bulk actions in a dialog
A box in the head selects the page, the selection survives the live list, and a bar at the foot offers the actions. The confirmation opens in the modal, names the field and record that keep an item from deletion, and can leave such items out. A form or button with data-admin-modal now posts into the modal.
simba77
feat(collections): sort the item list from the filters and the column heads
The order is a dropdown beside the filters and applies at once; sortable heads order by their column and turn the direction over on a second click. The list options card now only holds the extra filters a collection enables.
simba77
fix(files): lock a stored path while storing and deleting it
Identical contents share a path. A copy stored while the last other copy was deleted could end up as a row without its bytes; checking for the bytes and inserting the row, and checking for other rows and removing the bytes, now hold a lock of the path.
simba77
feat(collections): move and remove repeated values with icon buttons
The buttons sit beside the value; an arrow with nowhere to go stays disabled, and a single value offers only removal. A file in a row of a multiple field is removed with its row.
simba77
feat(collections): accept office, archive and media formats in file fields
The format of an upload comes from its content, and the name only tells apart what the content cannot, such as an office document inside an archive. An extension is kept only when it fits the format. A new field offers images and documents.