gray-mueller / gray-mueller/restaurant-online-ordering-app-using-java
Stack Multiple Timings Vertically for Better Readability
- 主要語言
- JavaScript
- 星號
- 0
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
研究方向
未指定檔案或測試。定位用於渲染餐廳營業時間的 UI 入口點,重現包含多個時段的一天,並驗證每個時段都顯示在單獨的一行上,同時不影響單一時段清單或緊湊版面配置。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100