zeeguu / api

API for tracking a learner's progress when reading materials in a foreign language and recommending further personalized exercises and readings.
https://zeeguu.org
MIT License
8 stars 24 forks source link

Removing old topics, renaming new topics #298

Closed tfnribeiro closed 3 days ago

tfnribeiro commented 6 days ago

I am creating this as a draft as we need to discuss how to deploy it. The frontend also needs changes that are implemented in: https://github.com/zeeguu/web/tree/remove-old-new-topics-distinction, otherwise the frontend won't render the articles.

mircealungu commented 4 days ago

ehi @tfnribeiro - this is massive work!

minor: there seems to be a conflict in generate_report?

regarding deployment... we're small enough that we can afford having the app down for a few minutes? if you look at hourly utilization in the FMD dashboard you'll see that we can likely do a 7am migration and not many people would be affected.

image

otherwise we'd have to add transient code in the frontend that works with both the old and the new api, migrate the api, then remove the transient code. i think it's too much and not needed at the moment. what do you think? see you tomorrow at 7 online? :)

tfnribeiro commented 4 days ago

I will fix the conflict, I guess it has to do with one of the PRs we just merged. I can log in tomorrow at 7AM and we can do it then.