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

Remove collection/user preference out of Firebase #23

Closed
Yukaii opened this issue Nov 6, 2016 · 3 comments
Closed

Remove collection/user preference out of Firebase #23

Yukaii opened this issue Nov 6, 2016 · 3 comments

Comments

@Yukaii
Copy link
Member

Yukaii commented Nov 6, 2016

作為一個可靠的單機軟體,Firebase 有做聊天留言在弄就好了 😅

@Yukaii
Copy link
Member Author

Yukaii commented Nov 17, 2016

或是把 Firebase 當做使用者備份空間、同步空間這樣。這樣設定頁面要先做。反正現階段也沒使用者不用 migrate 哼哼哈。

替代方案就先用 localForage

實作順序大概是:

  1. 做設定頁面,顯示 User ID。反正存在 local storage 暫時跑不掉。
  2. 把 ConfigActions 和 worker 等等的地方拔掉,替換成 localforage
  3. 做 sync from 按鈕,處裡 firebase 同步/合併/備份 邏輯

@Yukaii
Copy link
Member Author

Yukaii commented Nov 17, 2016

或是乾脆用 pouchdb 這個寫起來和 firebase 可能有 87% 像,星星還比較多耶,那就用這個八

@Yukaii Yukaii closed this as completed in c9bf96b Nov 21, 2016
@Yukaii
Copy link
Member Author

Yukaii commented Nov 21, 2016

see also #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant