CSE-112-Team-3 / FoodJournal2.0

our new repository
1 stars 2 forks source link

added check for too large image #92

Closed lkimdaryl closed 2 weeks ago

lkimdaryl commented 2 weeks ago

Abstract

This PR checks for size of the image uploaded. Since this is only for demoing purpose, I've added a check to alert users that their uploaded image when making a post review is too large, and prevent them from uploading it. This prevents the app from breaking due to image size being too large.

Closes #91

Type of Change

Testing

Manually tested

Checklist

Perform a self-review using the following checklist. Some items may not apply to your PR if it is for a bug fix. You can check an item by replacing the [ ] with [x].

github-actions[bot] commented 2 weeks ago

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

netlify[bot] commented 2 weeks ago

Deploy Preview for foodjournal2 ready!

Name Link
Latest commit 4557b8b087b71973b502964c4db45db4c39c463c
Latest deploy log https://app.netlify.com/sites/foodjournal2/deploys/66614f6abc35b0000809396d
Deploy Preview https://deploy-preview-92--foodjournal2.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.