5sControl / 5sControl/5s-frontend
[5h] Зона выходит за пределы рабочей области камеры
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Precondition**
ОС: macOS
Браузер: Google Chrome
**Steps**
Авторизоваться в системе под учётной записью admin.
Перейти на вкладку Configuration.
Выбрать вкладку Camera.
Выбрать камеру для редактирования.
Нажать кнопку "+Add Zone".
Выделить зону на экране камеры.
Кликнуть один раз на созданную зону для её трансформирования или перемещения.
Переместить зону за пределы видимой рабочей области камеры.
**Expected Result**
Должно появиться уведомление о том, что зона выходит за пределы экрана.
Сохранение изменений должно быть недоступно, если зона выходит за пределы рабочей области камеры.
**Actual Result**
Зона сохраняется за пределами рабочей области камеры без уведомления об ошибке.
Attachments

Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Look for the camera configuration UI components, likely under a 'Configuration' or 'Camera' section. Find the zone creation and editing logic, which should include validation for the zone boundaries against the camera's visible workspace. The fix involves adding a check to prevent saving when the zone is outside the workspace and showing a notification. Test by replicating the steps in the issue.
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é
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 65/100