marthaegrimaldi / marthaegrimaldi/zomato-clone-app-source-code

Enatega Admin Dashboard: Remove Image upload orientation error, showing up once user uploads a wrong image size

Open
#202 0 comments 0 reactions 0 assignees View on GitHub

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.

Image

**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.

Image

**Desktop (please complete the following information):**
- OS: [e.g. Windows]
- Browser [e.g. Chrome]
- Version [e.g. Latest]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.