5sControl / 5sControl/5s-frontend

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

Ouverte
#1,086 1 commentaire 0 réactions 1 personne assignée Réclamée par @SergBily Voir sur GitHub
0.9.0 bug ESMIL Front Office ready QA done
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

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é
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.