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

Store history in local storage #3

Open
moortens opened this issue May 29, 2019 · 0 comments
Open

Store history in local storage #3

moortens opened this issue May 29, 2019 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@moortens
Copy link
Owner

One of the nice things thats possible is to store the last x messages in localStorage.

This way the next time a user visits the webpage, the old conversation history could be shown. Paired with the chathistory spec it could give users a bit more of context.

Some questions arise from this though:

  • What if the history data stored is old and obviously obsolete?
  • Should the history be shown in different ways depending on where it comes from?
  • How many messages should be stored by default, considering theres a 5MB limit on localStorage?
@moortens moortens added question Further information is requested enhancement New feature or request labels May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant