5sControl / 5sControl/5s-frontend

[6h] In the configuration, the zone is built incorrectly, when setting points inconsistently

Aperta
#648 0 commenti 0 reazioni 1 assegnatario Assegnata a @ThanhDoIVan Vedi su GitHub
bug QA done
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

В конфигурации, зона строится неверно, при установке точек непоследовательно

Steps:

1. Перейти в "Конфигурации", "Зоны"
2. Поставить в случайном порядке точки
3. Проверить отображение зоны

Actual result:
При установки зон в случайном порядке зона отображается двумя треугольниками

Expected Result:
При установки зон в случайном порядке зона отображается 4 угольником

Files:

https://github.com/user-attachments/assets/791f0765-293c-42cc-83da-eb7fe016e511

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.