acmutd / acmutd/trackit

Fix user progress database bug

Aperta
#55 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
backend bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Student progress data is stored in the "progress" variable in the database. Because a listener is placed on this document for every user, each time a student updates his/her progress, a read is processed to every other student causing unneeded database reads. Need to move progress to a new collection or sub collection to fix this bug.

- [ ] Add progress collection / sub collection to store user progress data
- [ ] Set user dashboard to read initial progress data from new collection
- [ ] set user dashboard to update user progress to new location
- [ ] set admin dashboard to add new snapshot listener for progress data
- [ ] set admin dashboard to create progress document in new collection on workshop creation.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.