marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native

Enatega Customer Application: Also remove the heading Default category from restaurant details card

Open
#663 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
Remove the heading Default category from restaurant details card showing up on discovery screen. In case If there is no food category selected show blank on the restaurant card.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Customer Application'.
Now see on Discovery page , the restaurant cards right below the restaurant name there is the heading Default Food Category when no food category is selected by the user.
Expected behavior
If a food category is selected for a restaurant, it should display the selected category on the restaurant card.
If no food category is selected, the category heading should be blank or not shown at all (depending on design guidelines).

Screenshots

Screen_Recording_20250127_155156.mp4
Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50]
OS: [e.g.Android]
Browser [e.g. Application]
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 at the Discovery page entry point and locate the restaurant card rendering. Check the category display for restaurants with and without a selected food category; the selected category should remain visible, while the Default Food Category heading should not appear when no category is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.