5sControl / 5sControl/5s-frontend

Fix bug with filters

Open
#252 4 comments 0 reactions 0 assignees View on GitHub
bug Front
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

Open the contributing guide

Research direction

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.