Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track Term last date read #535

Open
4 tasks
jzohrab opened this issue Dec 7, 2024 · 0 comments
Open
4 tasks

Track Term last date read #535

jzohrab opened this issue Dec 7, 2024 · 0 comments

Comments

@jzohrab
Copy link
Collaborator

jzohrab commented Dec 7, 2024

Sometimes it's useful to know what status 1 words I've read over the past few days, just because I want to see a list of things I may want to look more into, or prompt chatgpt to make a story. This might be more useful if I can see that a term is a more common one, if there's an accurate index available (#532)

There are a few ways to add this:

  • add words.WoLastReadDate, just stamp it when the word shows up on a page marked as read
  • add words.WoLastReadTxId, stamp it with the TxID, since the TxID already has the ReadDate
  • if a textterms mapping table is implemented (Searching for references should take sentence casing into account #531) this would already be available with a join, though potentially slow if doing a large query
  • the right way to do this might be to use a combination of methods: add WoLastReadDate, and also keep track of the TxID somewhere (either in the index table or in words.WoLastReadTxID), since Texts can be deleted

To do:

  • choose implementation method
  • add tests, when page is marked read the term 'last read date' should be updated
  • if a text is deleted, the 'last read date' should not be removed
  • add the 'last read date' to the term filters
@jzohrab jzohrab added this to Lute-v3 Dec 7, 2024
@jzohrab jzohrab changed the title Track Term last data read Track Term last date read Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant