5sControl / 5sControl/5s-frontend

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

Aperta
#1,086 1 commento 0 reazioni 1 assegnatario Rivendicata da @SergBily Vedi su GitHub
0.9.0 bug ESMIL Front Office ready QA done
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.