diff --git a/_business_logic/documents.md b/_business_logic/documents.md new file mode 100644 index 000000000..7291c0a58 --- /dev/null +++ b/_business_logic/documents.md @@ -0,0 +1,8 @@ +**S3 Folder Structure** +/{shopID}/{jobID}/imagename.ext + +**Logic** +1. Get a presigned URL by hitting our own express server with a unique key. +2. Use this presigned URL to upload an individual file. +3. Store the key + the bucket name to the documents record. +4. ???Figure out how to add thumbnails. \ No newline at end of file diff --git a/client/src/components/job-tombstone/job-tombstone.component.jsx b/client/src/components/job-tombstone/job-tombstone.component.jsx index 0f56000e9..102b8f120 100644 --- a/client/src/components/job-tombstone/job-tombstone.component.jsx +++ b/client/src/components/job-tombstone/job-tombstone.component.jsx @@ -75,7 +75,9 @@ function JobTombstone({ job, ...otherProps }) { const tombstoneTitle = (