5sControl / 5sControl/5s-frontend

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

Abierto
#1,086 1 comentario 0 reacciones 1 asignado Reclamado por @SergBily Ver en GitHub
0.9.0 bug ESMIL Front Office ready QA done
Lenguaje dominante
TypeScript
Estrellas
3
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react, typescript
Área
frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.