5sControl / 5sControl/5s-frontend

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

Abierto
#620 0 comentarios 0 reacciones 1 asignado Reclamado por @pkostukevich Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react, typescript
Área
data-visualization, frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.