lakesare / memcode

Spaced-repetition: with real formatting.
http://memcode.com
MIT License
330 stars 71 forks source link

Import from Excel file happens in reverse order #132

Closed kgashok closed 2 years ago

kgashok commented 2 years ago

The first row becomes the last flash card in the sequence. The last row becomes the first flash card in the sequence.

Even though the "OldestFirst" option is available, it is useful when I want to further add new flashcards. But when in "Learn" mode, the original "reversed" sequence is still maintained.

kgashok commented 2 years ago

In addition, there are some changes in the ordering within the sequence as well. For example, Traverse occurs in the 338th position in the Excel file: image

and in the Memcode course, it occurs in the 79th position:

image

lakesare commented 2 years ago

That's serious, will fix!

lakesare commented 2 years ago

I can't recreate the ordering reversal (loads in the right order for me), however I see why this might be happening (race condition!). I deployed the possible fix for you. In general this needs to be worked on further, we should always assign the explicit position to each flashcard.

kgashok commented 2 years ago

Think Python.xlsx

is the file in question that I am trying to import. Thanks,