5sControl / 5sControl/5s-frontend
[3h] In orders view , the page crashes when the checkboxes in the filter are disabled
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
В orders view , краш страницы , при отключении чекбоксов в фильтре
**Steps:**
1. Перейти в orders view
2. Перейти в фильтр
3. Убрать все активные чекбоксы
4. Нажать кнопку Done
**Actual result:**
При отключении всех чекбоксов страница не отображается
**Expected Result:**
При отключении всех чекбоксов страница отображает информацию
**Files:**
Contributor guide
Research direction
Look for the orders view component and its filter logic, likely in a file like `src/views/OrdersView.tsx` or similar. Examine the filter component that handles checkboxes; the crash likely occurs when all checkboxes are unchecked and the filter tries to process an empty selection. Check the browser console for errors to identify the exact line. The fix is to ensure the filter handles an empty selection gracefully, perhaps by showing all items or displaying a message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100