gray-mueller / gray-mueller/food-ordering-app-clone-using-react-js

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

Open
#201 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
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

Research direction

Reproduce the issue through the Enatega Admin Dashboard at Management > Cuisines, then check the customer application's restaurant and home screens on Android and iOS. Trace how a cuisine without an uploaded image is represented and rendered in each screen. Done means the backend-provided default image appears consistently and cuisines updated with an image remain visible in the restaurant screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, mobile
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.