5sControl / 5sControl/5s-frontend
[5h] In Orders view, graphs are not drawn at the same starting and ending time
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Пользователь находится в 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:
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- data-visualization, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100