5sControl / 5sControl/5s-frontend

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

Ouverte
#648 0 commentaires 0 réactions 1 personne assignée Assignée à @ThanhDoIVan Voir sur GitHub
bug QA done
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Steps:

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

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

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

Files:

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.