5sControl / 5sControl/5s-frontend

there is no abbreviation of the hour in block of the report

Aperta
#556 0 commenti 0 reazioni 1 assegnatario Rivendicata da @AlexGurski Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Отсутствует сокращение "h" слова "hours" в блоке репорта на странице "Dashboard" вкладка "Reports"

**Precondition:**
1. Пользователь авторизован
2. Камера авторизована
3. Алгоритм (например, machine control, кроме MinMax) назначен на камеру
4. Есть репорты у которых продолжительность более 60 минут

****Environment:**
office: https://grand-alien-apparently.ngrok-free.app/dashboard
kaunas hp: https://complete-boa-loudly.ngrok-free.app
Сhrome Версия 119

**STR:****
1. Кликнуть по вкладке "Dashboard" в боковом меню
2. Кликнуть по вкладке "Reports" страницы "Dashboard"
3. Найти репорт с продолжительностью от 60 минут

**ER:**
Формат времени репорта _1h:_38min 0s

**AR:**
Формат времени репорта 1:38min 0s

**Attachments:**

![Image](https://github.com/5sControl/5s-frontend/assets/122295113/e76ddb20-cca1-4847-b7a0-e72f7d730d56)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Look for the report duration formatting logic in the frontend code, likely in a component or utility file handling the Dashboard/Reports tab. The screenshot shows the UI element; inspect the code that generates the time string '1:38min 0s' and modify it to include the 'h' abbreviation for hours. Check for existing time formatting functions or i18n keys. Verify the change by running the app and checking a report with duration over 60 minutes.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.