marthaegrimaldi / marthaegrimaldi/zomato-clone-app-source-code
Enatega Admin Dashboard: Remove Image upload orientation error, showing up once user uploads a wrong image size
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Unnecessary orientation error appears when a user uploads an image with an incorrect size. Allow the User to upload image of any size no restrictions for image orientation.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Enatega Admin Dashboard'.
2. Navigate to the image upload sections on Store, Vendor, Cuisine pages.
3.Upload an image that does not meet the expected size requirements.
4.Observe the error message displayed, remove that restriction and error message also.
**Expected behavior**
The system should accept images of any size.
No error should be shown regarding image orientation.
**Desktop (please complete the following information):**
- OS: [e.g. Windows]
- Browser [e.g. Chrome]
- Version [e.g. Latest]
**Describe the bug**
Unnecessary orientation error appears when a user uploads an image with an incorrect size. Allow the User to upload image of any size no restrictions for image orientation.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Enatega Admin Dashboard'.
2. Navigate to the image upload sections on Store, Vendor, Cuisine pages.
3.Upload an image that does not meet the expected size requirements.
4.Observe the error message displayed, remove that restriction and error message also.
**Expected behavior**
The system should accept images of any size.
No error should be shown regarding image orientation.
**Desktop (please complete the following information):**
- OS: [e.g. Windows]
- Browser [e.g. Chrome]
- Version [e.g. Latest]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the upload behavior in the Enatega Admin Dashboard on the Store, Vendor, and Cuisine image upload sections with an image that does not meet the expected size. Trace the orientation validation and error display in those upload paths. Done means images of any size are accepted and no orientation error appears in any of the three sections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100