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

Add Google Account support to store data online. #8

Open
GAZ082 opened this issue Jul 27, 2017 · 3 comments
Open

Add Google Account support to store data online. #8

GAZ082 opened this issue Jul 27, 2017 · 3 comments

Comments

@GAZ082
Copy link

GAZ082 commented Jul 27, 2017

Right now it works recording the data in the local machine, would be great if can be linked to a Google Account so it's stored in the Drive.

@GMaiolo
Copy link
Member

GMaiolo commented Jul 28, 2017

The chrome.storage API information pretty much describes why this hasn't been implemented yet.
There are 2 variants:

  • .local (the one we're using), which has unlimited storage space with the correct permission and unlimited write capacity, but at the cost of being, obviously, local.
  • .sync is fully synchronized with the Chrome account's, so it would persist data across devices perfectly, but the deal breaker is that it has some extreme restrictions, such as
    • Max of 8192 bytes (around 8kb) per item in the storage
    • Max of 512 items
    • Write restrictions, even though they aren't realistic for the current behavior, they may restrict some extensibility

We could work around this if we use an external database, so we're not restricted by Chrome's storage synch limits while providing its full functionality; but, in that case, we may end being tied to connection stability issues and slow non-seamless UI behavior.

@ivanpetra
Copy link

Hola Guillermo,
Relacionado a este mismo tema, quería consultarte si hay alguna forma de "copiar los productos seguidos" y llevarlos en algun medio de almacenamiento a otra PC. Hay algun archivo al que pueda acceder que contenga esa información?

@GMaiolo
Copy link
Member

GMaiolo commented Nov 22, 2018

Hola @ivanpetra
Ahora mismo no hay nada de eso implementado oficialmente, en caso de que lo necesites te podria hacer un script para que ejecutes y exportes los datos en formato JSON.

Tambien te comento que a raiz de este issue estamos trabajando en un sistema con historial persistente en base de datos (en la nube y compartido entre usuarios) para que todos los users esten correctamente sincronizados y no sea todo local.

Dejo el link de los repositorios en los cuales estamos avanzando: https://github.com/mercadotrack

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

3 participants