youyingfeng / Eidos

A small app for interfacing with the Archive of Our Own.
2 stars 0 forks source link

Keep track of reading history and reading list #49

Closed youyingfeng closed 3 years ago

youyingfeng commented 3 years ago

Probably need a fixed-size table, 100 entries or so, inserts should remove existing entries first.

youyingfeng commented 3 years ago

Might consider creating a new class for this with their own dedicated methods, but honestly this might be unnecessary - there are only three extra methods (get all, add to top, delete with workURL) that I have to expose.

youyingfeng commented 3 years ago

In the same vein, the creation of a to-read list is basically the same as reading history.

youyingfeng commented 3 years ago

roadblock: cannot delete nonexistent entry. look into upsert?

youyingfeng commented 3 years ago

ye upsert is actually the best here - its good behaviour for RList, and compulsory for RHistory

youyingfeng commented 3 years ago

Reading list and history methods are complete as of 7e263c1, can abandon original planned integration of history as there is a need to convert these to workers.