5sControl / 5sControl/5s-frontend

fix bug buttons "next" and back" don't work correctly

Abierto
#540 0 comentarios 0 reacciones 1 asignado Reclamado por @AlexGurski 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

Репорты не пролистываются друг за другом, если у них разные статусы. У первого репорта, показанного на диаграмме есть кнопка "назад", у последнего репорта есть кнопка "вперед"

**Environment:**
chrome 114
win 11

**Precondition:**
Пользователь авторизован
Открыта страницa "Inventory"
у айтема есть как минимум два статуса в репортах

Steps to reproduce:

1. Кликнуть по айтему
2. Кликнуть по репорту после которого идет следующим репорт с другим статусом/кликнуть по первому или последнему репорту на диаграмме
3. Пролистать репорты назад/вперед

Expected result:
Кнопка "назад" на первом репорте за день отсутствует, кнопка "вперед" отсутствует на последнем репорте
Репорты листаются друг за другом

Actual result:
Кнопка "назад" есть на первом репорте за день, кнопка "вперед" есть на последнем репорте
Нельзя перейти на репорт с другим статусом (сначала пролистываются репорты с одним статусом, а чтобы перейти на репорт с другим, нужно кликнуть по репорту на диаграмме)

Attachments:
https://drive.google.com/file/d/1qlDgitrOHrveghzhtJI0bn7A1CJ-mSXR/view?usp=drive_link

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

The issue describes a navigation bug in the Inventory page where 'next' and 'back' buttons fail when reports have different statuses. Look for components handling report navigation and status filtering, likely in the Inventory or diagram view. Check the attached video for UI context. The fix involves ensuring buttons are correctly enabled/disabled and that navigation cycles through all reports regardless of status.

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

Evaluación

Stack tecnológico
react, typescript
Área
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.