20200409_jeffrey - silenceuncrio/diary GitHub Wiki

0900

M350-C - task - [0%] release v0.03 - 2020-04-09

急件

M350-C 沒有 DI DO

status page 的 DO panel 要依據 compile flag PROSRC_NO_DIDO

有定義的話就不要顯示

commit b4e9fe64a49237aba8a61c55412a307bd3155510
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Thu Apr 9 09:06:22 2020 +0800

    display the 'DO' panel at status page according to compile flag 'PROSRC_NO_DIDO'

 proscend/prosrc/www/src/app/feature/status.html.src | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

1000

M350-C - task - [10%] ISMS Support - web ui

commit 6b5dd39fe2a7e19fa43c150c2f5acad1d208821c
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Apr 9 10:21:11 2020 +0800

    apply 'RWD' idea from 'Google Play Console'

 web/src/components/App/index.css | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

先來整理選單列

commit 88d77ca196eb2bf020853ef49c01e4628ff656e9
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Apr 9 11:17:37 2020 +0800

    using react-bootstrap Nav at components/Navigation

 web/src/components/Navigation/index.js | 38 +++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 14 deletions(-)

1325

commit fc6d51b25cf6f39d7fe3fe8b5b43dd0d67f96d36
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Apr 9 13:26:57 2020 +0800

    On screens that are 720px wide or less, show a button at the sidebar
    - to toggle the sidebar display

 web/src/components/App/index.css       | 11 +++++++++++
 web/src/components/App/index.js        |  2 +-
 web/src/components/Navigation/index.js | 17 +++++++++++++++++
 3 files changed, 29 insertions(+), 1 deletion(-)

可以像 Google Play Console 那樣

在 screen 的寬度小到某種程度的時候

左側菜單上方會有一個按鈕讓使用者將左側菜單收起來


commit 751b948edc5f5647d8937b2cd0ee66453cf8c420
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Thu Apr 9 17:07:17 2020 +0800

    apply a Navbar for each content

 web/src/components/About/index.js      | 18 ++++++++++++----
 web/src/components/App/index.css       |  2 +-
 web/src/components/App/index.js        |  6 +++---
 web/src/components/Dashboard/index.js  | 36 ++++++++++++++++++++++++++++---
 web/src/components/Home/index.js       | 18 ++++++++++++----
 web/src/components/Map/index.js        | 39 +++++++++++++++++++++-------------
 web/src/components/Navigation/index.js | 10 ++++-----
 7 files changed, 94 insertions(+), 35 deletions(-)

commit 7f9094f68330716a0010e96ddc060d9a95b5b17c
Author: jeffrey <[email protected]>
Date:   Thu Apr 9 16:27:13 2020 +0800

    refactoring

 web/src/components/About/index.js     |  2 +-
 web/src/components/App/index.js       | 10 ++++------
 web/src/components/Dashboard/index.js |  2 +-
 web/src/components/Home/index.js      |  2 +-
 web/src/components/Map/index.js       |  2 +-
 5 files changed, 8 insertions(+), 10 deletions(-)

commit 229f89caec1ffada9f10a17f53c1a3b05f1d3786
Author: jeffrey <[email protected]>
Date:   Thu Apr 9 16:19:30 2020 +0800

    refactoring components/Navigation

 web/src/components/App/index.css       |  2 +-
 web/src/components/App/index.js        |  6 +++---
 web/src/components/Navigation/index.js | 18 ++++++------------
 3 files changed, 10 insertions(+), 16 deletions(-)

整個外框跟 Google Play Console 越來越像了

1740

繼續前進之前先重構一下吧

務必讓目前的架構非常清楚