Skip to content

v0.3.6: Web Interface Fixes & Reading Status Filters

Choose a tag to compare

@queelius queelius released this 02 Dec 20:25

Bug Fixes

  • Fixed JavaScript syntax error that prevented books from loading in web interface
    • Changed quote escaping from \' to ' HTML entities in onclick handlers

New Features

Reading Status Filter

  • Added reading_status parameter to /api/books endpoint
  • Filter books by: reading, completed, unread
  • Sidebar filters now work for "Currently Reading" and "Completed"

Extended Stats API

  • /api/stats now returns:
    • favorites_count: Number of favorited books
    • reading_count: Books currently being read
    • completed_count: Books marked as completed
  • Sidebar counts now display accurate numbers

Tests

  • Added 29 new tests for reading status filter, stats API, and JavaScript validation
  • Total test suite: 989 tests passing

Installation

pip install --upgrade ebk