20200427_jeffrey - silenceuncrio/diary GitHub Wiki
這個禮拜的 review list
M300 - task
- [0%] - P1 - release V2.06 at 2020-05-11
- [0%] - P1 - modem firmware upgrade link router image upgrade
- [0%] - P1 - Tradition Chinese Translation
M300 - issue
M300 - bug
- [30%] firmware upgrade 卡在 40%
- pc 網卡直連 M300 lan 端
- 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到
M330 - task
- [100%] - P1 - CTCU web language
- [0%] P1 - Simple web UI for smart phone
- [70%] P3 - CTCU - Web UI: GPS Track drawing(Server)
M330 - issue
- [60%] 0000993: apply sometimes fail
M330 - bug
- [0%] firmware upgrade 上傳成 M300 的 firmware 第一次失敗後到至後續上傳正確的也會失敗
- lighttpd 回 request entity too large
M350-C - task
- [0%] - P1 - release hotfix/v0.03 at 2020-05-04
- [0%] - P1 - release M12 test image at 2020-05-25
- [100%] - P1 - CTCU web language
- [0%] - P2 - Dynamic Web UI by HW_MCSV
- [0%] - P2 - Dynamic Firmware Upgrade by HW_MCSV
- [0%] - P2 - Web UI: WiFi (STA)
- [0%] - P2 - Web UI: WAN as LAN
M350-C - issue
M350-C - bug
- [20%] web ui openvpn wizard 會讓 lighttpd process 被 kill 掉
- M330 不會
- M330 的 lighttpd 為 1.4.30
- M350 的 lighttpd 為 1.4.40
- [80%] 修改 menu.html.src 透過 web upgrade 後會 cache 舊的 menu
- 可以套用至全平台
- [0%] web ui reboot 的倒數機制出了問題 - 似乎重開機時間變長了
- [0%] wifi 2.4g wps 要拿掉
M350-C - misc
- [30%] 跨 repository 間 code 的 sync - 培養功力
- 起手式
git format-patch -k --stdout ${A_COMMIT_HASH}..${B_COMMIT_HASH} > xxx.patch git am -k -3 < xxx.patch
- git am 失敗的時候該怎麼辦? git apply --reject
- 起手式
M360P - task
M360P - issue
- [60%] 0000936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...
- [60%] 0000787: when local ethernet link is 100 half, firmware upgrade via web ui fail
M360P - bug
- [30%] - 0000908: sometimes first time modify LTE NET mode or APN on dual APN will apply fail - root cause 是 lighttpd 重啟了
- M360P 的 lighttpd 為 1.4.30
ISMS Server - task
- [100%] front-end frameworks - 3/23 ~ 4/1
- [70%] RWD - Responsive Web Design - 4/6 ~ 6/12
- [30%] navigation - 4/13 ~ 4/24
- [70%] dashboard - 4/27 ~ 5/8
- [30%] topology - 5/11 ~ 5/29
- [10%] map - 6/1 ~ 6/12
MISC task
- [80%] Vmware jubuntu compile 環境
- M300
- Building the Docker image - build-m300 - 失敗
- 放棄
- load docker image from exported tar from jbox
- 成功
- 進 container 後 source proenv.sh fail
ISMS Server - task - [60%] dashboard - 4/27 ~ 5/8
commit 4d24e7a3925d8df7a52a1a77e8626b06004c187b
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Apr 27 11:00:42 2020 +0800
display multiple marker on 'Nodes Map' with the same icons as 'Health Overview'
web/src/components/Dashboard/nodesMap.js | 126 ++++++++++++++++++++++++++++---
web/src/components/Dashboard/styles.css | 5 ++
2 files changed, 119 insertions(+), 12 deletions(-)
dashboard 已經能展示 ISMS-Server 想要表示的 idea 了
就目前的程式架構重構一下
如果可以就整理一下 wiki 吧
比想像的更容易去使用 styled-components 來作 refactoring
commit d393c96ada11b802185b7f131eb4e04bb394e537
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Apr 27 13:12:47 2020 +0800
refactoring components/Navigation
- using styled-components
web/src/components/App/index.css | 27 ---------------------------
web/src/components/Navigation/index.js | 28 +++++++++++++++++++++++++---
2 files changed, 25 insertions(+), 30 deletions(-)
會受歡迎都是有原因的
的確讓 CSS 在 react 裡變得更像 react - styled components
commit f0e9e659461b974abd247777c739ab2d439f62fb
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Apr 27 15:53:29 2020 +0800
refactoring components/App/index.css
- using styled-components
web/src/components/App/index.css | 24 ------------------------
web/src/components/Dashboard/index.js | 27 ++++++++++++++++++++++++---
web/src/components/Map/index.js | 27 ++++++++++++++++++++++++---
web/src/components/Setting/index.js | 27 ++++++++++++++++++++++++---
web/src/components/Topology/index.js | 27 ++++++++++++++++++++++++---
5 files changed, 96 insertions(+), 36 deletions(-)
commit a261d4514cce3c0385e5c1df0129be0d9d15b1cb
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Apr 27 16:05:28 2020 +0800
refactoring components/App/index.css
- using styled-components
- contentModal
web/src/components/App/index.css | 16 ----------------
web/src/components/Dashboard/index.js | 19 ++++++++++++++++++-
web/src/components/Map/index.js | 19 ++++++++++++++++++-
web/src/components/Setting/index.js | 19 ++++++++++++++++++-
web/src/components/Topology/index.js | 19 ++++++++++++++++++-
5 files changed, 72 insertions(+), 20 deletions(-)
commit c4780af13e082672b9600de7107b16bf71444005
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Apr 27 16:15:50 2020 +0800
refactoring components/App/index.css
- using styled-components
- navToggleIcon
web/src/components/App/index.css | 16 ----------------
web/src/components/Navigation/index.js | 16 ++++++++++++++--
2 files changed, 14 insertions(+), 18 deletions(-)
commit 5f13c399218488409eceb6763c03740ad65c3945
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Apr 27 16:20:47 2020 +0800
refactoring
- remove useless 'navClass'
web/src/components/App/index.js | 3 ---
web/src/components/Dashboard/index.js | 2 +-
web/src/components/Map/index.js | 2 +-
web/src/components/Navigation/index.js | 2 +-
web/src/components/Setting/index.js | 2 +-
web/src/components/Topology/index.js | 2 +-
6 files changed, 5 insertions(+), 8 deletions(-)
commit a07ed70ef3657aa695d0603bae6fd77b4da02253
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Mon Apr 27 16:29:44 2020 +0800
refactoring
- remove components/App/index.css
web/src/components/App/index.css | 9 ---------
web/src/components/App/index.js | 5 -----
web/src/components/Map/index.css | 9 +++++++++
web/src/components/Map/index.js | 1 +
4 files changed, 10 insertions(+), 14 deletions(-)
參考以下來重構目前的 context