Description:
Add functionality to store and display the start date and finish date for each book added to ReadShelf. This helps users reflect on their reading pace and track progress over time.
Goals:
- Store
start_date (when marked as currently reading)
- Store
finish_date (when marked as read)
- Display these dates in the book detail view or stats
- Optionally show duration (e.g., Finished in 12 days!)
Affects:
- Database schema (
books table)
- Status change logic (
currently_reading → read)
- Frontend display (
reading.html, stats.html)
Implementation Ideas:
- Add
start_date and finish_date columns to the books table (nullable)
- Auto-set
start_date when user marks a book as “currently reading”
- Auto-set
finish_date when user marks it as “read”
- Display dates in the UI, maybe with 📅 or ⏱️ icons
Description:
Add functionality to store and display the start date and finish date for each book added to ReadShelf. This helps users reflect on their reading pace and track progress over time.
Goals:
start_date(when marked as currently reading)finish_date(when marked as read)Affects:
bookstable)currently_reading→read)reading.html,stats.html)Implementation Ideas:
start_dateandfinish_datecolumns to thebookstable (nullable)start_datewhen user marks a book as “currently reading”finish_datewhen user marks it as “read”