5sControl / 5sControl/5s-frontend

[2h] The duration of the operation on the video is lost when there are two cameras for one operation

Open
#1,089 0 comments 0 reactions 1 assignee Claimed by @SergBily View on GitHub
0.9.0 bug ESMIL Office ready QA done
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Description:
Длительность операции на видео сбивается, когда для одной операции добавлено две камеры

Precondition:
войти в систему под кредами работника с двумя прикреплёнными к рабочему месту камерами, стартовать и завершить операцию, выйти из системы

Steps to reproduce:
1. Войти в систему как Админ
2. Нажать раздел Employees
3. Выбрать сотрудника, стартовавшего операцию
4. Нажать Tasks
5. Перейти на вкладку Done
6. Открыть последнюю выполненную операцию
7. Нажать на иконку видео в правом верхнем углу
8. Просмотреть два видео

Actual result:
при открытии любого из двух видео сначала отображается верное время операции по карточке работника, которое затем сбивается на другое время

Expected result:
видео с каждой из камер соответствует времени операции, затраченному работником на её выполнение

Attachments:

https://github.com/user-attachments/assets/28980658-5c6f-4d0c-8432-b366daca9fdb

Environment
Device: Samsung S20+
OS: Android 13
Browser: Google Chrome
Version: 133.0.6943.137

Contributor guide

Open the contributing guide

Research direction

The issue describes a video duration display bug when two cameras are linked to one operation. Start by finding the video player component and the logic that fetches and displays operation timing data. Look for state management around camera streams and operation metadata. Check how the duration is calculated and rendered, especially when switching between video feeds. Reproducing the bug likely requires a specific test environment with multiple cameras.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.