5sControl / 5sControl/5s-frontend

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

Open
#310 2 comments 0 reactions 1 assignee Claimed by @AlexGurski View on GitHub
bug Front
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

После обновления страницы 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)

Contributor guide

Open the contributing guide

Research direction

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.