Closed aaronleopold closed 1 month ago
I've done a bit more testing and fixed a few small issues. I'll try to simulate an upgrade from the current experimental to test the migration, since I wrote bits of it by hand I'd like to be extra cautious to not mess up peoples' read progress
Resolves #207
This PR splits the
read_progresses
table into two separate tables:active_read_sessions
to track the current reading session for a user+book pairfinished_read_sessions
to track the past and completed reading sessions for a user+book pairThere were a lot of fundamental changes to filtering on read progress, as well as displaying progress throughout the UI, so I'll be testing these changes before being comfortable merging. A few behavioral notes:
active_read_session
per bookfinished_read_sessions
per bookstarted_at
andcompleted_at
timestamps to:active_read_session
existsstarted_at
value fromactive_read_session
and the current timestamp, respectivelyactive_read_session
if presentI think these changes also open the doors a bit to more time-based statistics features