5sControl / 5sControl/5s-frontend

[2h] fix bug report's video isn't downloaded

Open
#494 1 comment 0 reactions 1 assignee Claimed by @AlexGurski View on GitHub
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Summary:** Видео с репорта не скачивается (GET net::ERR_FAILED 200 (OK))
**Environment:**
- win 11

- 110, 111

- Chrome 114

**Precondition:**

- пользователь авторизован,
введен лицензионный ключ,
- авторизована камера с назанченными алгоритмами "Machine Control", "Operation control"
- открыты вкладка "Reports" на странице "Dashboard",
- алгоритмы отфильтрованы по "Machine Control", "Operation control"

**STR:**
1. Кликнуть по репорту
2. Кликнуть по "Open video"
3. Кликнуть по кнопке "Download"

**ER:** Видео скачивается

**AR:** Окно с сообщением об ошибке "Uncaught runtime errors:Failed to fetch TypeError: Failed to fetch"

**Attachments:**
https://drive.google.com/file/d/1Y3OehG_OQzP52pvJ9g9DRbXPSHV0WMDF/view?usp=drive_link
Comments: на "Orders view" тоже самое - не скачивается видео

Contributor guide

Open the contributing guide

Research direction

The issue describes a video download failure in the Reports and Orders view. Start by examining the frontend code handling video downloads, likely in components for 'Reports' and 'Orders view'. Check network requests in the browser's developer tools to see the failed fetch error. Look for the download button handler and the API endpoint it calls. Verify the response and any authentication or CORS issues.

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.