20190320_jeffrey - silenceuncrio/diary GitHub Wiki

0915

review

1130

commit f807b6704ed4eb62357421126050e2b6a43289ed
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Wed Mar 20 11:29:15 2019 +0800

    react practice:
    while sesstion timeout,
    fetch() at the Function01Page will get response.status(401);
    then it use `this.props.history.push(ROUTES.SIGN_IN)` to redirect to the Signin page.
    now we can use `this.props.history.push(ROUTES.SIGN_IN, {info: "sesstion timeout"})`,
    and SignIn page can use `this.props.history.location.state.info`
    to display the information about why to redirect to Signin page.

 proscend/prosrc/icos/iweb/iweb.c                       |  2 --
 .../www/react_01/src/components/Function01/index.js    | 18 +++++++++++++++---
 .../prosrc/www/react_01/src/components/SignIn/index.js |  3 +++
 3 files changed, 18 insertions(+), 5 deletions(-)

1415

M300 的 V1.77 nobrand 的 eMMC

透過 web ui upgrade 成不是 eMMC 的 planet firmware

web ui 顯示 upgrade 完成

這表示 firmware upgrade 這個 shell script 沒有起到保護的作用

沒有利用 MCSV 來擋掉不合法的 firmware image

我先發一條 issue 到 mantis 吧

1520

ariel 希望 LTE > Dual APN tab APN1 和 APN2 的修改 apply 之後不用 reboot

這改起來很麻煩

ariel 表示如果很費工就算了

1640

commit 45d37007a6647228f2b0176946f4a711dba26dc3
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Wed Mar 20 16:41:19 2019 +0800

    react practice:
    - Function01: apply Higher-Order Components

 .../react_01/src/components/Function01/index.js    | 113 +++++++++------------
 1 file changed, 50 insertions(+), 63 deletions(-)