Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.1 設定 #69

Open
3 tasks done
ghost opened this issue Nov 21, 2018 · 11 comments
Open
3 tasks done

10.1 設定 #69

ghost opened this issue Nov 21, 2018 · 11 comments

Comments

@ghost
Copy link

ghost commented Nov 21, 2018

  • 點取設定,帶入 10.1.2
  • 點取「新增快速鍵」新增空白列
  • 點取「儲存設定」儲存設定
@ghost ghost added this to To do in API 介接及完成 UI 互動 via automation Nov 21, 2018
@ghost ghost added this to the 資料編輯及維護 milestone Nov 22, 2018
@ghost ghost assigned oahehc Dec 3, 2018
@rwu823
Copy link
Contributor

rwu823 commented Dec 11, 2018

API 已完成
TaiBIF/camera-trap-api#33 (comment)

@ghost
Copy link
Author

ghost commented Dec 12, 2018

謝謝 - 如果 @oahehc 不在這票上,請 @rwu823 處理前端?

@oahehc
Copy link
Collaborator

oahehc commented Dec 14, 2018

@rwu823 有開始處理了嗎?
沒有的話我就接著做這個

@oahehc
Copy link
Collaborator

oahehc commented Dec 17, 2018

  1. 物種名稱的選項是 merge 所有 Project 的 speciesList?
  2. 鍵盤快速鍵是讓 user 自行 key in? shift/control/tab 這類的特殊按鍵也是 user 手動 key 嗎?
    image

@ghost
Copy link
Author

ghost commented Dec 17, 2018

  1. yes 使用者參與計畫的所有
  2. 對。不過不知道若是組合鍵是否輸入的介面需要調整?將後 Windows 和 macOS 好像需要不一樣的處理。若太麻煩就先只允許輸入區的字元。

@oahehc
Copy link
Collaborator

oahehc commented Dec 17, 2018

回復預設值 的部分是否需要增加確認視窗?
或是有支 API 讓我先取得預設值, 先顯示給 user 看, 點擊儲存時才更新資料

@ghost
Copy link
Author

ghost commented Dec 18, 2018

預設的話可否在前端做?可減少api call...

Sent with GitHawk

@oahehc
Copy link
Collaborator

oahehc commented Dec 18, 2018

預設的話可否在前端做
有生成的邏輯的話就可以, 請問預設值要如何產生?
另外不太確定這邊快捷鍵實際用途, 在哪個功能上會實做這些快捷鍵呢?

@ghost
Copy link
Author

ghost commented Dec 19, 2018

我的想法是按照截圖中的項目和 place holder 的值建立一個 JSON 結構,如 @rwu823這裡的設計,使用者選擇預設值時,把這個結構更新到原本user 物件的 speciesKey 中,再送到 /ctp-user/me/update

@oahehc
Copy link
Collaborator

oahehc commented Dec 20, 2018

我的意思是 default 值要塞什麼
前一個 PR 邏輯是把所有 species 都納入, 然後依序產生 hotkey: A...Z, AA, AB...ZZ,
不過這做法的問題是 speciesList 有變動時, reset 後結果會不一致,
如有其他建議做法再請告知

@ghost
Copy link
Author

ghost commented Dec 20, 2018

目前這樣就可以了。物種的變動若造成困擾我們可以下階段再討論修改。

@oahehc oahehc moved this from To do to In progress in API 介接及完成 UI 互動 Dec 21, 2018
@oahehc oahehc moved this from In progress to To do in API 介接及完成 UI 互動 Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants