5sControl / 5sControl/5s-frontend

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

Offen
#648 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @ThanhDoIVan Auf GitHub ansehen
bug QA done
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Steps:

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

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

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

Files:

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.