5sControl / 5sControl/5s-frontend
[1h]fix bug filter operation incorrect displayed
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
При фильтрации operation в order views, после клика по order количество фильтруемых operation отображается неверно
1. Открыть приложение
2. Перейти на вкладку orders view
3. Применять фильтр по двум и более операциям
4. Выбрать любой order
Фактический результат
количество фильтруемых операций 1
Ожидаемый результат
количество фильтруемых операций равно количеству выбранному в пункте 3
attachments
https://user-images.githubusercontent.com/85877006/232101972-3c24d453-9ff7-4384-91bf-d9adf9fed2ca.webm
Contributor guide
Research direction
The issue is in the order views filter for operations. Start by examining the order view components and the filter logic, likely in a file like `OrderView.tsx` or a filter utility. The video attachment shows the bug: after selecting an order, the filtered operation count resets to 1. Reproduce the bug locally, then trace how the filter state is managed and updated on order selection. Check for state reset or propagation issues in the filter component.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100