5sControl / 5sControl/5s-frontend

[2h] Viewing a video of an operation in progress isn't available to the Admin from the employee's card

Open
#1,086 1 comment 0 reactions 1 assignee Claimed by @SergBily View on GitHub
0.9.0 bug ESMIL Front 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. Открыть операцию в работе
6. Обратить внимание на отсутствие иконки просмотра видео
7. Нажать стрелку Назад
8. Вернуться в основное меню
9. Нажать раздел Orders
10. Выбрать заказ, в котором выполняется операция
11. Нажать название операции, находящейся в работе
12. Открыть таймспан работника, стартовавшего операцию

Actual result:
при просмотре админом таймспана, находящегося в работе, из раздела Заказы появляется иконка просмотра видео данной операции. При просмотре админом таймспана, находящегося в работе, из подраздела Задачи в карточке работника иконка просмотра видео данной операции отсутствует

Expected result:
админ может просмотреть видео операции, находящейся в работе, из раздела Заказы и из подраздела Задачи в карточке конкретного работника

Attachments:

https://github.com/user-attachments/assets/0f542877-1e79-4a87-be02-2842e32cb180

Environment
Device: Mi 11 Lite
OS: Android 13
Browser: Google Chrome
Version: 133.0.6943.137

Contributor guide

Open the contributing guide

Research direction

The issue describes a missing video icon in the employee card's Tasks view for an admin. Start by locating the components for the employee card and order view, comparing how the video icon is rendered. Check the condition that shows the icon in the order view and see why it doesn't apply in the employee card. The fix likely involves updating the component or its data fetching to include the video icon for in-progress operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.