5sControl / 5sControl/5s-frontend
fix bug in Stock history
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 загружена..

Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- 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