marthaegrimaldi / marthaegrimaldi/zomato-clone-app-source-code
Stack Multiple Timings Vertically for Better Readability
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Yes, currently when a restaurant has multiple opening and closing timings on the same day, the timings are displayed side by side. This layout appears cluttered and is not visually appealing, especially on mobile screens or compact UI components. It also makes it harder for users to read and interpret the information quickly.
Describe the solution you'd like
I would like the timings for each day to be stacked vertically instead of displayed side by side. For example, if a restaurant opens from 10:00 AM – 2:00 PM and then again from 6:00 PM – 10:00 PM, these should appear one below the other. This approach will improve readability and create a cleaner, more organized look.
Describe alternatives you've considered
An alternative could be to use commas or separators to differentiate multiple timings on the same line, but this still creates a dense layout and doesn't solve the readability issue as effectively as stacking.
Additional context
This change would enhance user experience, especially for customers checking restaurant hours on smaller devices. It will also help maintain visual consistency across listings with varying timing structures. A sample mockup or screenshot can be provided if needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests; start by locating the restaurant-hours display entry point and the component that renders multiple timings for a day. Confirm the current side-by-side layout, then verify that separate opening periods appear vertically, including on compact or mobile views.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100