gray-mueller / gray-mueller/food-delivery-clone-app-using-react

Enatega Customer + Admin : Cuisine image is not showing default image, when no image is uploaded by the user

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Cuisine image is not showing default image, when no image is uploaded by the user. The default image should show up in case when no image is attached by the user.
AND
In restaurant screen there are some cuisines which have no images, when image is being add from admin then the cuisine is not being shown in the restaurant screen but its being shown on the home screen with image.
This issue is present in both ANDROID & IOS.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Admin Dashboard'
Click on 'Management' from menu and select cuisines from dropdown menu.
Now click on +Add Cuisines button , add any cuisine.
See error that default image is not showing up in it, its showing an random image with cuisines in Customer Application.
Expected behavior
The default image that is attached from backend should show up when no image is uploaded by user.

Screenshots

Image
Image

Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50]
OS: [e.g. Android]
Browser [e.g. Application]
Version [e.g. 14]

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 tracing cuisine image data from the Admin Dashboard's Add Cuisines flow into the customer app's restaurant and home screens on Android and iOS. Compare cuisines with no uploaded image against those given an image, then verify that the default backend image is displayed consistently and the cuisine remains visible in both screens.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.