5sControl / 5sControl/5s-frontend

fix bug with Stock history

Open
#264 1 comment 0 reactions 1 assignee Assigned to @ZhuchkouAA View on GitHub
bug Front QA done
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Preconditions: пользователь авторизована, получена лицензия, добавлена камера, добавлено 31 items, докер работал непрерывно 10 часов.
Summary: Inventory, на графике Stock history отображаются только репорты сделанные до 17-10.
1. Открыть приложение;
2. Открыть вкладку Inventory;
3. Выбрать item.
Result: На графике Stock history, отображаются только репорты записанные до 17-10.
Expecte result: На графике Stock history отображаются все репорты.

![Image](https://user-images.githubusercontent.com/113969187/231372619-d3f82689-2874-40e6-95e3-c2ab16351ef0.gif)

![Image](https://user-images.githubusercontent.com/113969187/231383143-bc0954a9-3bcb-4d49-82c3-da7551f19ba7.png)

Contributor guide

Open the contributing guide

Research direction

The issue is about a stock history chart in the Inventory section not showing reports after a specific date (17-10). Look at the frontend components for Inventory and the chart rendering logic, likely using a library like Chart.js or similar. Check how date filtering or data fetching is implemented for the stock history graph. Verify the API endpoint that supplies the report data and ensure it returns all records. The expected result is to display all reports on the graph.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.