Skip to content

Books: star ratings, 30-book library, 2023/2024 entries#4

Merged
marksmith1994 merged 3 commits into
masterfrom
claude/add-claude-documentation-MabfT
May 21, 2026
Merged

Books: star ratings, 30-book library, 2023/2024 entries#4
marksmith1994 merged 3 commits into
masterfrom
claude/add-claude-documentation-MabfT

Conversation

@marksmith1994

@marksmith1994 marksmith1994 commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Ratings converted from /10 to /5 stars using a CSS overlay widget (handles half-stars cleanly)
  • All original 20 books set to 2025; Book.Rating type changed from int to double
  • Added 10 books across 2023 and 2024 — library now has 30 entries spanning 3 years
  • Removed currentlyReading flag from Onyx Storm (finished)
  • New genres added: Dark Comedy, Historical Fiction

New books

2024: The Fellowship of the Ring (5★), The Two Towers (5★), The Return of the King (4★), Animal Farm (3.5★)

2023: Project Hail Mary (5★), How to Kill Your Family (4★), The Hobbit (4★), Lessons in Chemistry (4★), Dark Matter (3.5★), Upgrade (3★)

Test plan

  • Year filter shows 2023, 2024, 2025 options and filters correctly
  • Stars render for whole ratings (3, 4, 5) and half ratings (3.5, 4.5)
  • No "Reading" badge on any book
  • Cover images load for new books

https://claude.ai/code/session_01Qj49iUs6QNA2MQcCVP5cFN


Generated by Claude Code

claude added 3 commits May 21, 2026 09:23
- All yearRead set to 2025
- Ratings halved from /10 to /5 scale (e.g. 8→4.0, 7→3.5, 9→4.5)
- Rating display replaced with CSS overlay star widget (★★★★★)
- Book.Rating type changed from int to double to support half-stars
- RatingClass thresholds updated for /5 scale (≥4 great, ≥3.5 good)

https://claude.ai/code/session_01Qj49iUs6QNA2MQcCVP5cFN
2024: The Fellowship of the Ring (5), The Two Towers (5),
      The Return of the King (4), Animal Farm (3.5)

2023: How to Kill Your Family (4), The Hobbit (4),
      Project Hail Mary (5), Lessons in Chemistry (4),
      Dark Matter (3.5), Upgrade (3)

https://claude.ai/code/session_01Qj49iUs6QNA2MQcCVP5cFN
@marksmith1994 marksmith1994 merged commit 71b1978 into master May 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants