mylog14

Month: 2020-05

2020-05-04

daYuan 18:34:11
可以在這看到版本
Image from iOS
daYuan 18:35:05
後台看得到回饋
image.png
daYuan 18:35:51
感謝 @contact834 頭香
4
daYuan 18:39:47
目前 0.6.1 阿發版還還在審查 QQ
image.png
3

2020-05-05

Ella 13:29:39
@dhjk65493 has joined the channel
👋 3
bafu 15:09:03
@dhjk65493 welcome!
😀 1
Sherry Chung 18:02:54
@sddivid kick-off 囉
bafu 19:14:21
@sddivid 好奇一問:app 識別碼從 `tw.mydata.mylog14` 改成 `tw.mydatatw.mylog14` 是什麼原因呢
daYuan 19:27:00
他不給用,可能被註冊過了 mydata 之類的app?
bafu 19:29:03
@sddivid 好的感謝,PR #110 & #111 我有留一些 comments 再麻煩你更新了

不給用的訊息可以分享給我嗎,我補充一下 comment 就把 #109 收掉
daYuan 19:29:42
我翻一下記錄XD 有點久
🙆‍♂️ 1
daYuan 19:39:05
@bafu

原本是
`dev.numbersprotocol.MyLog14`
後來改成
`tw.mydata.mylog14`
但是無法上傳後我就撤掉 `tw.mydata.mylog14` 的 id &證書 (因為這是前幾個月就建的)
再次上傳出現
```No suitable application records were found. Verify your bundle identifier 'tw.mydata.mylog14' is correct.```
改用`tw.mydatatw.mylog14` 就可以正常進行
🙆‍♂️ 1
bafu 19:52:32
@sddivid PR 108 & 109 已收,110 & 111 更新完再麻煩 ping 我一下感謝!
daYuan 19:53:14
OK
daYuan 20:08:00
https://github.com/MyDataTaiwan/mylog14/pull/110/files/e2403b2e346050b54ef7b363d9050f176d9e2bde
pr 110 是要把 pr 108 的變更移出嗎?
因為 108 已經進 `develop` 了,你可以先 pull `develop` 更新一下,只要確認沒有 merge conflict 即可
🙆‍♂️ 2
daYuan 20:08:33
@bafu PR 111
wiasliaw 20:42:55
@leewei48750 has joined the channel
daYuan 20:55:13
@leewei48750 welcome!
wiasliaw 20:55:44
你好!
daYuan 20:55:58
好久不見XD
wiasliaw 20:58:17
疑?!你是?XD
daYuan 20:58:43
百6的
wiasliaw 20:58:54
喔 XDDDD
Tammy 21:00:02
好久不見~~~!
Tammy 21:00:20
(只是單純路過加入一下 XD
daYuan 21:06:20
是也有段時間沒見了XDDD
wiasliaw 21:07:27
可以糾百六團了 XD
bafu 21:14:58
@leewei48750 welcome! (大元這樣也能遇到認識的人XD)
daYuan 21:17:30
我們是吃咖哩麵包認識的(X
NO!! 住手!!
daYuan 23:19:15
@bafu 抱歉有點晚了還標你,
PR #111 已修正
我已檢查 pr #110 沒有 merge conflict
另外剛剛開了 RP #113 #114
3 2
bafu 23:20:38
ok der 感謝!
daYuan 23:24:03
都檢查過衝突惹,可以準備 release beta 1
4

2020-05-06

2020-05-07

daYuan 02:08:55
我剛剛開了一個 issue ,手上有唉鳳的可以測試看看切換到其他語系是否正常顯示
我測試只有日文會有問題
https://github.com/MyDataTaiwan/mylog14/issues/115

#115 [Todo] ios switching languages from Japanese display bug

<https://user-images.githubusercontent.com/16307922/81212362-61e83480-9007-11ea-8c3a-0d786d9942d5.png|image> `感謝 Dixon 發現問題`

😂 3
daYuan 15:29:11
分享好用 css 遮罩 工具
https://bennettfeely.com/clippy/
3 👀 3
bafu 19:00:59
@sddivid 有個問題確認一下,issue #100 中

> 2. Fix that the lower part of the countdown animation overlap with the dividing line
是指 14-day counter 最下方被微切的問題嗎?如果是的話,我記得它是之後更新動畫會一併修?
bafu 19:02:40
因為 PR #111 提到已在 PR #110 修正,但 PR #110 的描述沒有包含它
daYuan 19:41:51
@bafu 抱歉回得比較晚,我有切邊的問題是動畫本身,所以有重出一版了
bafu 19:43:54
@sddivid 那我會把這個動畫開成單獨的 issue,這樣才能先把 PR #111 收掉
bafu 19:44:24
另外 PR #113 & #114 我有留 comments,也再麻煩你看一下囉
daYuan 19:44:41
了解 👍 我馬上處理
👍 1
daYuan 19:51:29
@bafu Hard-coding Mandarin will cause an i18n display issue.
這裏有點不太懂你的意思
bafu 19:52:53
@sddivid 文字直接寫死中文的話,其他語系的使用者也會看到中文,而不會看到語系的翻譯?
daYuan 19:53:32
你是指地址的部分嗎?
bafu 19:54:42
> 無法取得地址資訊
這句現在在我的 app 裡會顯示中文,但我的手機是英文語系
daYuan 19:55:31
了解,這個我會開成新的 issue ,因為目前沒有其他語系的翻譯
daYuan 19:56:26
已添加到MyLog14 多語系的 sheet
bafu 19:57:56
嗯嗯我們預設可以處理中英即可,其他語系就要靠社群的朋友協助了XD
daYuan 20:02:08
至於 https://github.com/MyDataTaiwan/mylog14/issues/100
的部分,
1. 在 PR #110 中有替換了新的動畫檔 `Fix that the lower part of the countdown animation overlap with the dividing line`
所以目前是要將 issue #100 分拆成兩個 issue 對吧?
1. 因為在 PR #111 中有修正 `Center the Main Header title`

#100 [Todo] Style adjustment for daily-overview page

*Issue description* 1. Center the Main Header title 2. Fix that the lower part of the countdown animation overlap with the dividing line

bafu 20:03:40
嗯嗯對,我正在拆 issue #100 part 2,然後就會把 PR #111 收掉 👍
1
daYuan 20:04:03
感謝大大 🙇‍♂️
1
bafu 20:04:27
呃大大是誰XD
daYuan 20:06:17
https://github.com/MyDataTaiwan/mylog14/pull/113
目前有兩個問題
1是 known issue 提到的白框
2是 畫面會停留在照片預覽的頁面 沒有收掉的問題

#113 Feature photo info

Add view photo page • Show a view photo page when clicking on the photo • Show the date and time on the header of the page • Click on the "Delete" button on the top right corner to delete the photo <https://user-images.githubusercontent.com/16307922/81082293-a9968f80-8f25-11ea-8aff-9fbf5194d2cb.png|image> *### Known Issue* • Deleted photos will still show a white frame <https://user-images.githubusercontent.com/16307922/81082363-c0d57d00-8f25-11ea-83ae-7aaa420498f9.png|image>

1 1
bafu 20:07:26
目前觀察到這兩個問題沒錯
daYuan 20:08:02
我原本是想在 beta 3修掉,如果在這次修掉你可以明天早上再幫我 review一次嗎?
bafu 20:09:00
補充:第二個的「照片預覽畫面」指的是背景有大圖的頁面,不是有「確定要刪除這張照片嗎」的視窗
bafu 20:09:05
可以喔沒問題
daYuan 20:09:10
我想更改 model 的做法,會花上一點時間
daYuan 20:10:30
那 PR https://github.com/MyDataTaiwan/mylog14/pull/114 呢?

#114 add text

增加了提示文字,在按鈕bar上.. 不知道是否有更好的辦法.. <https://user-images.githubusercontent.com/16307922/81082676-2a558b80-8f26-11ea-9576-d6919e4be017.png|image>

bafu 20:11:10
「新增體溫」也是有 hard-coding 中文的問題,希望能至少先支援中英
😂 1
daYuan 20:12:39
那我吧這個 PR 延到 beta 3 ,這個目前是最難處理的…..
🙆‍♂️ 3 2

2020-05-11

bafu 11:27:10
@sddivid 今天 @sherry376@scott355 會跟你確認 app beta2 的狀況,因為原本排定上週要 release,先提醒你有這件事
bafu 18:15:14
@sddivid PR #111 有個語系問題喔,也再麻煩更新一下感謝

https://github.com/MyDataTaiwan/mylog14/pull/111/files#r422934057
bafu 18:19:21
@sddivid 你提到 beta2 已經上傳到各平台提供測試,兩個問題確認一下

1. beta2 的 commit 是哪一個呢?
2. beta2 == 0.6.2?
daYuan 18:21:03
0.6.2沒錯
bafu 18:24:29
beta2 我可以先協助上 tag,但需要知道是哪一個 commit
😱 1 🤔 1
bafu 18:30:14
@sddivid 另外 milestone beta3 已經開好了,也要麻煩你更新 beta2 issue list,確認修了哪些以及哪些要搬到 beta3

beta2 issue list: https://github.com/MyDataTaiwan/mylog14/milestone/4
1
bafu 23:14:36
@sddivid 我在等 beta2 commit 喔要貼 tag,有遇到什麼困難嗎
daYuan 23:21:03
@bafu 我有先推一個 https://github.com/MyDataTaiwan/mylog14/tree/release-V0.6.2-beta2 上去,不知道是不是你要的
bafu 23:45:45
@sddivid 有兩個小提醒

1. release 盡量從 `develop` 產生 (beta2 基於還沒被收的 feature-bt-display)

2. 送 PR 前確保 feature branch 是基於當下的 `develop`,自己測試時就能提早發現是否有 regression (看到 `feature-photo-info` 落在 `develop` 後面了)

---
任何 PR comment 有修正完需要繼續 review,再麻煩你 ping 我一下,這可以協助我不用去 check github,感謝!
daYuan 23:49:59
了解!
PR #114 的問題都修完了

#114 add text

增加了提示文字,在按鈕bar上.. 不知道是否有更好的辦法.. <https://user-images.githubusercontent.com/16307922/81082676-2a558b80-8f26-11ea-9576-d6919e4be017.png|image>

2 2

2020-05-12

daYuan 15:42:47
@sherry376
你覺得這樣如何?
image.png
Sherry Chung 15:51:47
@sddivid 我沒意見(我很沒美感)
Tammy 16:13:23
想使用但還沒有註冊測試 ID 的 iOS 捧油, Sherry 協助建立了一個 iOS demo 影片可以搶先看
👉 https://youtu.be/5aH8382dtQs

需要大家一起協助散佈 MyLog,讓更多人知道且下載 Android 版本!!!!

YouTube

Demo of MyLog beta1 version on iPhone

應該是下載 iOS 版本?
我沒看懂,什麼意思? XD
就是... 你前面說這是 iOS demo 影片,但後面說讓更多人知道且下載 Andriod 版本? 只是不知道重點要放在 iOS 的影片說明還是 Android 的散播? XD
喔,就是兩段分開的意思,給 iOS 的朋友看影片,但只有 Android 可下載,所以請散佈給朋友下載 Android,這樣
soga,那是我誤會了 XD
bafu 16:15:16
@tammy079 @sherry376 app 上傳的 zip 中,image record 現在的格式有問題,已開 issue 等詹姆士回來看XD

https://github.com/MyDataTaiwan/mylog14/issues/142

#142 [Bug Report] App fails to upload zip containing image byte strings

*Description* Logboard fails to display images because an image record fails to contain image byte string. *Steps to Reproduce* 1. Generate a body temperature record. 2. Generate an image record. 3. Click the sharing button and confirm. 4. Copy the returned link and open by browser. *Expected behavior* • Expected: Show Logboard with correct photos. • Actual: Show Logboard without the expected photos. *Logs* ``` notebook $ adb shell phone $ run-as tw.mydata.mylog14 # go to /data/data/tw.mydata.mylog14 phone $ cd files phone $ grep jpg * ``` An image record will look like ``` { "timestamp": 1589268962858, "symptoms": { "list": [ { "name": "coughing", "present": false, "note": "" }, { "name": "runnyNose", "present": false, "note": "" }, { "name": "nasalCongestion", "present": false, "note": "" }, { "name": "sneezing", "present": false, "note": "" }, { "name": "shortnessOfBreath", "present": false, "note": "" }, { "name": "malaiseOrTiredness", "present": false, "note": "" }, { "name": "lossOfTasteOrSmell", "present": false, "note": "" }, { "name": "diarrhea", "present": false, "note": "" }, { "name": "abdominalPain", "present": false, "note": "" }, { "name": "vomiting", "present": false, "note": "" }, { "name": "chills", "present": false, "note": "" }, { "name": "muscleOrJointSoreness", "present": false, "note": "" }, { "name": "soreThroat", "present": false, "note": "" }, { "name": "sputum", "present": false, "note": "" }, { "name": "fever", "present": false, "note": "" } ] }, "photos": [ { "filepath": "file:///data/user/0/tw.mydata.mylog14/files/1589268972708.jpg", "webviewPath": "<http://localhost/_capacitor_file_/data/user/0/tw.mydata.mylog14/files/1589268972708.jpg>", "timestamp": 1589268962858, "locationStamp": { "latitude": 24.9959839, "longitude": <tel:121.5104647|121.5104647>, "accuracy": 18.263999938964844 } } ] } ``` *Environment* • MyLog: beta2 • OS: Android 10

bafu 16:15:53
另外建了 issue template,大家開 issue 時有個 rule to follow 應該比較輕鬆...吧XD
Sofia 16:51:01
應該是下載 iOS 版本?
Tammy 16:55:01
我沒看懂,什麼意思? XD
Tammy 18:52:31
喔,就是兩段分開的意思,給 iOS 的朋友看影片,但只有 Android 可下載,所以請散佈給朋友下載 Android,這樣
😆 2

2020-05-14

SHC 14:19:35
耶~

另外建了 issue template,大家開 issue 時有個 rule to follow 應該比較輕鬆...吧XD

1 2 2 1 1 2 2

2020-05-15

SHC 13:53:45
@bafu 我把 nginx max client body size 先改成 10G 了(原本是預設值 1MB ,沒發現是這問題卡了一個上午 orz)
😂 2
bafu 17:26:52
@tammy079 @sddivid @shc261392 PR #144 (顯示版號) 會移到 beta4,因為目前的實做被 product team reject,我們要討論一個符合 UI/UX 的方式

https://github.com/MyDataTaiwan/mylog14/pull/144

#144 add test version

add test version <https://user-images.githubusercontent.com/16307922/81653612-99236f00-9467-11ea-8dda-f71323ec3527.png|image>

😂 1
SHC 17:27:19
Ok
bafu 17:33:48
@sddivid PR #113 (刪除圖片後會殘留顯示空間) 看起來還沒修完,今天會修完嗎還是需要移到 beta4?

https://github.com/MyDataTaiwan/mylog14/pull/113

#113 Feature photo info

Add view photo page • Show a view photo page when clicking on the photo • Show the date and time on the header of the page • Click on the "Delete" button on the top right corner to delete the photo <https://user-images.githubusercontent.com/16307922/81082293-a9968f80-8f25-11ea-8aff-9fbf5194d2cb.png|image> *### Known Issue* • Deleted photos will still show a white frame <https://user-images.githubusercontent.com/16307922/81082363-c0d57d00-8f25-11ea-83ae-7aaa420498f9.png|image>

daYuan 17:39:06
@bafu PR113我有請 @shc261392 協協助,可以移到 Beta 4
🙆‍♂️ 1
daYuan 17:40:07
我現在看哪裡還有昨天 Sherry 提到的按鈕要修
bafu 17:40:54
@sddivid PR 143 有 regression,例如 row 18 變回「協助政府降低防疫追蹤的成本」

https://github.com/MyDataTaiwan/mylog14/pull/143/files#diff-b3a9de4811950f2d6d2e78776874e1fdR18
@bafu
@sddivid 不好意思 Sofia 更新了 term 的 JSON file,要麻煩你再更新一版感謝!
@bafu 我拿到的應該是最新版了吧? (CC @sofia
@sddivid 我剛才在內文有發現幾個問題,請 Sofia 又更新了一版喔
@sofia 可以直接告訴我行數嗎?
原本的檔案有漏掉tag不能直接用
@sddivid 你有舊版的 json 嗎可以傳給我,我來幫忙改
目前可以正常顯示的版本(請協助調整內文)
@bafu 感謝
1
bafu 17:41:10
@sddivid 再麻煩跟 @sofia 確認一下內容喔
daYuan 17:41:21
好👌
bafu 17:41:53
一樣改完再麻煩 ping 我一下,我就會繼續 review,感謝!
1
Sofia 17:45:26
@sddivid 請使用這個~
terms_conditions-0506ver_json.js
bafu 17:49:05
@sddivid PR 145 (加上「集點下方 + 以新增資料」) 有 hard-coding 中文的問題,英文語系檔裡的說明也誤植為中文

https://github.com/MyDataTaiwan/mylog14/pull/145

#145 Add a guide text on the daily-overview page

i18n 缺乏文字,且已在pr#111中整合i18n ,待之後有文字另開PR更新(包含pr#111) <https://user-images.githubusercontent.com/16307922/81657540-88c0c380-946a-11ea-9ebf-87b58fdf7f49.png|image>

那邊還沒有翻譯,所以我先塞了中文
@sofia 方便幫我想這邊的翻譯嗎?
@sddivid "Click + to log new data"
@bafu
感謝 @sofia
@sddivid PR 145 內容沒問題了感謝!

但有 merge conflict 再麻煩更新了

> This branch cannot be rebased due to conflicts
> Rebasing the commits of this branch on top of the base branch cannot be performed automatically due to conflicts encountered while reapplying the individual commits from the head branch.
@bafu 你是在loacl 遇到衝突嗎?因為我這裡看沒有,我有更新成新的 develop分支了
@sddivid 我是在 GitHub 頁面上看到的
我這裡看沒有OAO
確定是145嗎?
@sddivid yes 我用 firefox & chrome 開都一樣喔
@bafu 可是我拉下來還是沒有衝突….還是我搞錯了什麼?
有可能是 GitHub 有問題,待會我本地端 merge 看看
1
SHC 17:56:09
@bafu PR 113 需要移到 beta4 ,今天應該趕不上
bafu 17:59:33
@shc261392 好的 PR 113 我已經移到 beta4 囉
bafu 18:02:49
@sddivid PR 146 也有 hard-coding 中文的問題

https://github.com/MyDataTaiwan/mylog14/pull/146

---
之後如果你發現沒有英文,可以直接請 @sofia 提供給你,這樣就可以避免出現語系的問題

1. 需要新增文字但發現沒有英文 -> 找 Sofia 拿英文
2. 中英以外的語系沒有文字 -> app 自動 roll back 回英文 (尚未實做,目前會直接顯示程式變數)

#146 Add intro guide

<https://user-images.githubusercontent.com/16307922/81670779-af86f600-947a-11ea-8988-66bcab0725a9.png|image>

🙆‍♂️ 1
bafu 18:03:37
PR 146 還蠻酷的!
daYuan 18:04:57
@bafu 這邊目前直接先放了 svg 沒做 i18n 文字 ,因為還有分享跟台灣頁面還沒出來