gray-mueller / gray-mueller/roadside-assistance-system-react-native

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

Open
#43 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 cuisine creation flow in the Enatega Admin Dashboard, then check the customer application on Android and iOS for cuisines with and without uploaded images. Trace the cuisine image handling from the admin-created data into the restaurant and home screens; done means the backend default image appears when no image is uploaded and the cuisine remains visible in both screens.

Written by the indexing model from the issue text.

Assessment

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