inkstone
inkstone copied to clipboard
Feature: Stats
It would be nice to have a stats page similar to what Anki has.
It would show you a pie chart of for example the following properties:
Total
, Unseen
, Correct
, Wrong
I've been trying to add this myself but I'm completely new to Meteor and I'm having a difficult time figuring out how it works.
In the /client/model/vocabulary.js
I figured out how to get the total number of words:
new Cursor(() => {}).count();
I tried to get all the failures like this:
new Cursor((entry) => entry[kIndices.failed]).count()
But this only returns the failures of the current 20 cards but not the previous ones
If you have any pointers for me on how I can achieve this, I would be very thankful!