5sControl / 5sControl/5s-frontend

Fix bug with filters

Đang mở
#252 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug Front
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ả

Summary: Orders View, после настройки фильтра и выбора заказа- настройки фильтра сбрасываются.
1. Открыть приложение;
2. Открыть вкладку Orders View;
3. Правый клик по кнопке filter;
4. Выбрать настройки фильтра;
5. Правый клик по кнопке apply;
6. Выбрать любой заказ.
Result: Заказ открыт, настройки фильтра не сохранены.
Expecte result: Заказ открыт, настройки фильтра сохранены.

![Image](https://user-images.githubusercontent.com/113969187/230899412-006d6d3b-c15b-444c-88d8-8fa17c39a6dd.gif)

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

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

Hướng nghiên cứu

The issue is about the Orders View where filter settings reset after selecting an order. Look for the Orders View component, likely in a directory like `src/views/orders/` or `src/components/orders/`. Examine the filter state management, possibly using React context, Redux, or local component state. Check the event handler for order selection to see if it inadvertently clears the filter state. The GIF shows the UI flow, so replicate the steps to confirm the bug.

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
55/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.