Review history heatmap #41

Open
opened 2026-09-26 13:58:41 +00:00 by belvedere · 0 comments
Collaborator

Objective: A contribution-graph-style view of consistency.

Files:

  • Create: lib/first_thousand_words_web/live/history_live.ex

Steps:

  1. Reviews per day over the last 12 months, from Study.Review.
  2. Colour scale by review count; tooltip with count and accuracy per day.
  3. Render cells server-side in HEEx; the grid is a <%= for ... %> over a precomputed
    week/day structure — do not compute layout in the template.

Verify: a fixture with known review dates produces the expected cell counts.

**Objective:** A contribution-graph-style view of consistency. **Files:** - Create: `lib/first_thousand_words_web/live/history_live.ex` **Steps:** 1. Reviews per day over the last 12 months, from `Study.Review`. 2. Colour scale by review count; tooltip with count and accuracy per day. 3. Render cells server-side in HEEx; the grid is a `<%= for ... %>` over a precomputed week/day structure — do not compute layout in the template. **Verify:** a fixture with known review dates produces the expected cell counts.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nickkeers/first-thousand-words#41
No description provided.