5sControl / 5sControl/5s-frontend

fix bug in Stock history

Ouverte
#180 1 commentaire 0 réactions 1 personne assignée Réclamée par @miloshroma Voir sur GitHub
bug Front
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Preconditions: Пользователь авторизован, получена лицензия, добавлена камера, добавлены 3 items.
summury: Inventory, при изменении даты в Stock history, график загружается только у одного items.
1. Открыть приложение;
2. Открыть вкладку Inventory;
3. Выбрать item;
4. Изменить дату в календаре(пример 31.03.2023);
5. Открыть репорт;
6. Выбрать другой item.
Result: Stock history для второго item не загружена.
Expecte result: Stock history для второго item загружена..

![Image](https://user-images.githubusercontent.com/113969187/229454168-2215b563-a45c-45b6-aead-59018e486d2b.gif)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

The bug is in the Inventory section's Stock history chart, where changing the date loads the graph for only one item. Start by examining the frontend components for Inventory and Stock history, likely in src/components/Inventory or similar. Look for state management around item selection and date changes, and check API calls for fetching stock history data. Verify that the chart updates correctly when switching items after a date change.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.