Only show term sentences for texts I've actually read
Closed this issue · 2 comments
jzohrab commented
I have a few books loaded that I haven't read yet, or have pages remaining I haven't read yet. Sometimes when I ask for a term to show its sentences, I'm shown sentences that are well in advance in the book I'm reading, so I really don't know what the context is (I can sometimes guess for texts I've read in the past).
Outline of code changes:
- add "texts.TxIsRead boolean" field, default false
- update code and tests to only include sentences where TxIsRead
- change query to return latest sentenceIDs first -- these are freshest in the mind, presumably.
- set TxIsRead on moving to the next page (note: do this on the ">" link at the top, as well as on the check-> and > at the bottom of the page)
- assume all archived books have been fully read, set them to read
- for active books, set all pages before the current page to read
jzohrab commented
Fixed in develop
branch, will dogfood it on my installation for a bit and then launch it in v2.0.3 (no date for that yet).
jzohrab commented
Launched.