20200423_jeffrey - silenceuncrio/diary GitHub Wiki

0905

M350-C - task - [0%] - P1 - CTCU web language

CTCU 要給中華電信的 device 需要繁體中文的語系

把選項放出來

讓 其他同仁 進行翻譯的工作

commit fddad486cdccac4e6e581141b654528b8f98ddf3
Refs: [hotfix/v0.03], {origin/hotfix/v0.03}
Author: jeffrey <[email protected]>
Date:   Thu Apr 23 09:14:47 2020 +0800

    add the zh-tw language option for profile CTCU

 proscend/prosrc/www/brand_ctcu/src/brand/top.html.src | 2 ++
 1 file changed, 2 insertions(+)

0920

ISMS Server - task - [10%] dashboard - 4/27 ~ 5/8

commit acc89db30d5227fd6d3cd4d682b9c2fab6f523fc
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Apr 23 09:50:11 2020 +0800

    correct the number at 'Health Overview' widget

 web/src/components/Dashboard/chartPie.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

1105

commit 6596ff700bfa8e7af0b79ffda868452e7729b9bc
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Apr 23 11:04:18 2020 +0800

    prepare the ISMS-Server All Nodes at dashboard

 web/src/components/Dashboard/FileExplorer.js |   2 +-
 web/src/components/Dashboard/Tree.js         | 100 +++++++++++++++++++--------
 web/src/components/Dashboard/TreeNode.js     |  78 ++++++++++++++++-----
 3 files changed, 133 insertions(+), 47 deletions(-)

1120

M350-C - task - [0%] - P1 - CTCU web language

commit 265cfc8ed7596f37bd342558e1759d2623fb5060
Refs: [hotfix/v0.03], {origin/hotfix/v0.03}
Author: jeffrey <[email protected]>
Date:   Thu Apr 23 11:20:49 2020 +0800

    the dafault language is "zh-tw" for if BRAND_ID == 12 (CTCU)

 proscend/prosrc/www/Makefile                      |   1 +
 proscend/prosrc/www/app/app.controller.js         | 229 ---------------------
 proscend/prosrc/www/src/app/app.controller.js.src | 234 ++++++++++++++++++++++
 3 files changed, 235 insertions(+), 229 deletions(-)

1155

M350-C - task - [0%] - P1 - CTCU web language

commit 2f0ed49fee69edc9e4a96ad2d95a582984682597
Refs: [hotfix/v0.03], {origin/hotfix/v0.03}
Author: jeffrey <[email protected]>
Date:   Thu Apr 23 11:55:39 2020 +0800

    the default language is "zh-tw" if BRAND_ID == 12 (CTCU) and MODEL_ID == 350

 proscend/prosrc/www/src/app/app.controller.js.src | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

1305

ISMS Server - task - [10%] dashboard - 4/27 ~ 5/8

目前 dashboard 上 4 個 widget 已經確定了兩個

  • Health Overview
  • All Nodes

RWD 對相對小的螢幕只會呈現 widget 1

其餘的要滑動螢幕才看到

所以什麼要放在 widget 1 的位置也是可以討論的

1420

ISMS-Server meeting

dashboard 收到大家不錯的建議

  • LTE 強度分布圖
    • x 軸是 訊號強度
    • y 軸是數量
    • 讓 user 一眼看出首受管理的點是不是絕大部分訊號都不錯
    • 要很容易明白讓使用者很快的理解 x 軸的訊號強度表示
  • sensors overview
  • nodes 分布圖

目前 widget 2 的 All Nodes 跟 widget 1 同質性過高 - 可以先退居備用 widget

1455

ISMS Server - task - [10%] dashboard - 4/27 ~ 5/8

survey LTE 強度分布圖

參考 Mobile Signal Strength Recommendations

LTE Signal Strength

image

一樣可以使用 pie chart 來表示

1510

ISMS Server - task - [10%] dashboard - 4/27 ~ 5/8

survey sensors overview

六月底的 demo 主要是廣告的目的

這個 widget 要強調我們 ISMS-Server 支援多樣的 sensor

所以這個 sensors overview 可以看到我們支援了那幾種 sensor

目前各種 sensor 上線 的數目

先收集一下 react icon 那些可以用來表示 sensor

  • 溫度
    • FaTemperatureLow
  • 濕度
    • WiHumidity
  • 亮度
    • MdBrightnessMedium
  • 有害氣體
    • GiGasMask
  • 聲音
    • AiFillSound
  • motion
    • FaWalking
  • 拍照
    • FaCamera
  • 錄影
    • FaVideo
  • 速度
    • IoIosSpeedometer

感覺不應該說是 sensor 而應該說成更 general 的 iot - things

先用這九個用九宮格的方式來呈現

每個格子利用大一點的 icon

然後簡單的文字描述

然後是數量 - 上線 數量 ?

總之是在表是我們 ISMS-Server 的多樣性

1610

ISMS Server - task - [10%] dashboard - 4/27 ~ 5/8

survey nodes 分布圖

難度在於自定 leaflet 的 marker