5sControl / 5sControl/5s-frontend

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

Offen
#1,086 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @SergBily Auf GitHub ansehen
0.9.0 bug ESMIL Front Office ready QA done
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.