5sControl / 5sControl/5s-frontend
fix bug in Stock history
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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 загружена..

Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100