5sControl / 5sControl/5s-frontend
[6h] In the configuration, the zone is built incorrectly, when setting points inconsistently
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
В конфигурации, зона строится неверно, при установке точек непоследовательно
Steps:
1. Перейти в "Конфигурации", "Зоны"
2. Поставить в случайном порядке точки
3. Проверить отображение зоны
Actual result:
При установки зон в случайном порядке зона отображается двумя треугольниками
Expected Result:
При установки зон в случайном порядке зона отображается 4 угольником
Files:
https://github.com/user-attachments/assets/791f0765-293c-42cc-83da-eb7fe016e511
Contributor guide
Research direction
The issue is about a zone rendering incorrectly in the configuration UI when points are set in a non-sequential order. Look for zone configuration components, likely in a 'Configurations' or 'Zones' section. The provided image may show the bug. Investigate the geometry or drawing logic that assembles the zone from points, checking for sorting or connection order issues. Verify the fix by testing the zone display after reordering points.
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