acmutd / acmutd/trackit

Fix user progress database bug

Đang mở
#55 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
backend bug
Ngôn ngữ chính
TypeScript
Star
3
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.