5sControl / 5sControl/5s-frontend

[1h]fix bug filter operation incorrect displayed

Đang mở
#301 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug Front QA done
Ngôn ngữ chính
TypeScript
Star
3
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

При фильтрации 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
react, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.