gray-mueller / gray-mueller/foodpanda-clone-using-react-native

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

Open
#188 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

Start by reproducing the missing or incorrect cuisine image in the Customer Application after creating a cuisine from the Enatega Admin Dashboard. Trace cuisine image handling across the admin, restaurant, and home screens, including the backend-provided default image. Done means cuisines without uploads show the default image and admin-added images remain visible in the restaurant screen on Android and iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
backend, 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.