feat: Add optional date picker to photos

This commit is contained in:
gpt-engineer-app[bot]
2025-09-29 18:36:33 +00:00
parent 0801f6fd1d
commit 3499c4891f
2 changed files with 61 additions and 1 deletions

View File

@@ -198,6 +198,7 @@ export function UppyPhotoSubmissionUpload({
url: photo.uploadStatus === 'uploaded' ? photo.url : uploadedPhotos.find(p => p.order === photo.order)?.url || photo.url,
caption: photo.caption.trim(),
title: photo.title?.trim(),
date: photo.date?.toISOString(),
order: index,
})),
// NEW STRUCTURE: context as string, IDs at top level