5sControl / 5sControl/5s-frontend
[5h] In Orders view, graphs are not drawn at the same starting and ending time
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Пользователь находится в Orders View
**Steps:**
1. Вписать стартовое время 8:00
2. Вписать конечное время 8:00
3. Проверить отображение графиков
**Actual result:**
При одинаковом значении стартового и конечного времени , график не отображается
**Expected Result:**
Установить разницу в начальном и конечно времени для каждого параметра Zoom индивидуально (1x- 4 часа , 2 x- 2 часа , 4x - 1 час , 8x - 30 минут , 16x - 15 мин , 32x - 8 минут)
Files:
Contributor guide
Research direction
Look for the Orders View component and the chart rendering logic, likely in a file like `OrdersView.tsx` or a chart component. Find where the start and end time inputs are handled and where the zoom levels (1x, 2x, etc.) are defined. The fix involves setting a minimum time difference for each zoom level when the start and end times are equal. Check for existing tests related to chart time ranges.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100