5sControl / 5sControl/5s-frontend

[5h] In Orders view, graphs are not drawn at the same starting and ending time

Aperta
#620 0 commenti 0 reazioni 1 assegnatario Rivendicata da @pkostukevich Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Пользователь находится в 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:

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
data-visualization, frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.