celinaberg / BitFit

An app designed to help students learn to write and read C code.
MIT License
0 stars 0 forks source link

Make All Loggers table more readable / informational #56

Closed alythobani closed 6 years ago

alythobani commented 6 years ago

Right now the associated user and question for each Logger are being displayed as their respective MongoDB ObjectIds which are not very human readable.

We ideally want to also display:

alythobani commented 6 years ago

Currently the Loggers table is displayed using information from a list of Logger objects, which only have a question ID and user ID attached to them. To avoid doing a lot of mongodb calls (one for each user, one for each question, one for each question's lesson) it looks like the package mongo-join-query might be useful.

alythobani commented 6 years ago

After looking more into it, looks like we'll be better off using the functions in BitFit/client/src/actions/index.js.

alythobani commented 6 years ago

Done and merged to master