lakesare / memcode

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

Feature: retain learn progress on problem move #101

Closed daniel-eder closed 3 years ago

daniel-eder commented 3 years ago

When problems are moved between courses the "ProblemUserIsLearning" (puil) are now copied to the new course and linked to the newly inserted problems (problem IDs). The old "puil"s are afterwards automatically deleted via cascade as before.

I tested this in a simple scenario with two courses and a few problems in a gitpod, it behaved as expected:

Closes #35

daniel-eder commented 3 years ago

Gorgeous, this has been a sore in my eye for quite some time. Code looks good, let's add the lastReviewedAt assignment.

The requested changes are available now.

lakesare commented 3 years ago

❇️ Looks great, merging.

lakesare commented 3 years ago

[This gets deployed in 10-15 minutes]