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

Recently Studied Sets on VUS Dashboard #266

Closed
IMGROOT2 opened this issue Dec 20, 2022 · 0 comments
Closed

Recently Studied Sets on VUS Dashboard #266

IMGROOT2 opened this issue Dec 20, 2022 · 0 comments
Labels
enhancement New feature or request indexed db Edits to the IDB (or localstorage) for Vocabustudy page : account Account OR login
Milestone

Comments

@IMGROOT2
Copy link
Member

This feature should be added to the VUS Dashboard: #265

To minimize the writes to the database, information on recently studied sets will be collected as follows:

  1. User opens a set.
  2. Set ID and timestamp are recorded and read to Local Storage.
  3. After a set amount of time has passed, the information will be written to the database. If there are more than 10 Set ID-and-Timestamp "pairs," the oldest recorded "pairs" will be deleted (In other words, only the ten latest opened sets that are opened will be in Firebase). This saves storage, as people usually will not look for the 20th latest set they opened.
  4. When the VUS Dashboard: /#account -> Vocabustudy Dashboard #265 is opened, the data will be read and outputted from the most recent "pair" at the top to the oldest "pair" at the bottom in a news-article-feed sort of viewer. The latest 5 sets will be automatically shown. Then, if the user clicks "Load More", it will display the last 5 "pairs", provided there are 5 more "pairs" in the database (new users, for example, will only have 1 new set added when they click "Load More", if they only have opened 6 sets)

This is my vision, please let me know if you have any other ideas.

@IMGROOT2 IMGROOT2 added this to the 2.0.0 milestone Dec 20, 2022
@IMGROOT2 IMGROOT2 added indexed db Edits to the IDB (or localstorage) for Vocabustudy enhancement New feature or request page : account Account OR login labels Dec 20, 2022
@grimsteel grimsteel moved this to Todo in Vocabustudy Dec 20, 2022
@grimsteel grimsteel moved this from Todo to Roadmap in Vocabustudy Jan 21, 2023
@grimsteel grimsteel moved this from Roadmap to Roadmap - Low Priority in Vocabustudy Jan 21, 2023
@github-project-automation github-project-automation bot moved this from Roadmap - Low Priority to Done in Vocabustudy Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request indexed db Edits to the IDB (or localstorage) for Vocabustudy page : account Account OR login
Projects
Status: Done
Development

No branches or pull requests

1 participant