Skip to content

implement localstorage #21

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

Open
ghost opened this issue May 6, 2017 · 1 comment
Open

implement localstorage #21

ghost opened this issue May 6, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented May 6, 2017

today i was looking through polymer documentation and i came across an interesting element named app-indexeddb-mirror that seemed perfect to work with datatable solutions. but it couldn't be used with paper-datatable because of the way it handles data is using promises and not plain json data. so i thought maybe implementing it inside datatable might be a better choice. saves last list of objects received to localstorage and so when user is offline and has no access to server it would show last values received from server.
On promise rejection it would be cool if a bar appears above data table that says "you are currently offline" and shows previous data received. I think it would work great with spirit of progressive web apps that should work in offline mode too.

@dhrytsenko
Copy link
Collaborator

@aryaei it's a good point and l think we start to work on it later

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