5sControl / 5sControl/5s-frontend

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

オープン
#556 コメント 0 件 リアクション 0 件 担当者 1 名 @AlexGurski が担当を希望しています GitHub で見る
bug
主要言語
TypeScript
スター
3
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

Отсутствует сокращение "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)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
frontend, internationalization
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。