20200420_jeffrey - silenceuncrio/diary GitHub Wiki

0855

這個禮拜的 review list


M300 - task

M300 - issue

M300 - bug

  • [30%] firmware upgrade 卡在 40%
    • pc 網卡直連 M300 lan 端
    • 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到

M330 - task

  • [0%] P1 - Simple web UI for smart phone
  • [70%] P3 - CTCU - Web UI: GPS Track drawing(Server)
  • [0%] P4 - Airtel - BGP Attributers shall be supported
  • [0%] P4 - Airtel - GUI Display LTE Signal strength indicator
  • [0%] P4 - Airtel - Upon Failure of above comparision, ...

M330 - issue

  • [60%] 0000993: apply sometimes fail

M330 - bug

  • [0%] firmware upgrade 上傳成 M300 的 firmware 第一次失敗後到至後續上傳正確的也會失敗
    • lighttpd 回 request entity too large

M350-C - task

  • [70%] - P1 - CTCU web language
  • [0%] - P2 - Dynamic Web UI by HW_MCSV
  • [0%] - P7 - Dynamic Firmware Upgrade by HW_MCSV
  • [0%] - P7 - Web UI: WiFi (STA)
  • [0%] - P7 - 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 的倒數機制出了問題 - 似乎重開機時間變長了

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
  • [60%] RWD - Responsive Web Design - 4/6 ~ 6/12
  • [30%] navigation - 4/13 ~ 4/24
  • [60%] dashboard - 4/27 ~ 5/8
  • [0%] topology - 5/11 ~ 5/29
  • [10%] map - 6/1 ~ 6/12

ISMS Server - bug


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

0930

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

為了 dashboard 上類似 Solarwinds 的 All Nodes

image

我需要 survey 一下 react 上怎麼來實現類似的 tree 套件


先 study 這篇教學 Implement Tree view component with ReactJS and Styled-Components


這篇教學沒有使用現成的 tree view 套件

而是教你怎麼來 implement

這對我要 implement 成 Solarwinds 的 All Nodes 相當有用

更不要說過程中對 react 又更熟悉了一些

該專案的作者用到 react-icons

這 package 除了提供 Font Awesome 之外還有其它的

而且封裝得更簡潔了

找時間套用上去吧


該作者還有用到 React Fragment

我也需要找時間幫目前的 code 套一下


還有一個很流行的 package 叫 styled-components

真心覺得寫 React 很有進步的感覺

1615

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

試著來寫我們 ISMS-Server 自己的 All Nodes 吧

⚠️ **GitHub.com Fallback** ⚠️