feat(post-form): enable adding photos when editing an entry (M2/R9)
Re-enable the FilePond browse/drop affordance in edit mode. On submit, existing locals + new uploads ride the photo_order manifest and cache-on-save reconciles the folder (delete dropped, renumber survivors photo-1..N, first = cover), so an entry's photos can now be added, removed and reordered from the front-end edit form. Verified end-to-end: add, remove, reorder, and all three in one save, plus create-with-photos and edit remove/reorder regressions. Depends on a local fix to add-page-by-form (its Grav-2.0 edit-mode header cast fatals on a new upload); that plugin is git-ignored, so the fix ships as a tracked patch in the superproject (deploy/patches/) rather than here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user