5sControl / 5sControl/5s-frontend

[5h] fix bug filter reset after reboot page order view

Đang mở
#310 2 bình luận 0 reaction 1 người được giao Được @AlexGurski nhận 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ả

После обновления страницы order view, выбранные фильтры отображаются верно, но не работают

1. открыть приложение
2. перейти на страницу orders view
3. применить фильтры
4. перезагрузить страницу

Ожидаемый результат
Фильтры отображаются и работают

Фактический результат
Фильтры отображаются, НО не работают

attachments

https://user-images.githubusercontent.com/85877006/232498826-e1adcd2f-7011-440d-8261-234221a8a561.mp4

![Image](https://user-images.githubusercontent.com/85877006/232498883-2e13030f-5d24-46cf-bb31-93789b091663.png)
![Image](https://user-images.githubusercontent.com/85877006/232498885-617f7990-f400-4352-9a47-c7c91c81f6cd.png)

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 filters in the order view not working after a page reload, though they appear correctly. Start by examining the component that manages the order view and its filter state. Check how filter state is initialized and persisted (likely in URL parameters or local storage) versus how it's applied after a reload. Look for the filter application logic and the data-fetching hooks to see where the disconnect happens. Verify by reproducing the bug locally.

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