From 3f5fbdd05add70c8d563a99b27ac1871c783dbdd Mon Sep 17 00:00:00 2001 From: AB Date: Tue, 24 Nov 2026 01:05:05 +0200 Subject: [PATCH] Add a calendar heatmap to personal listening activity --- CHANGELOG.md | 6 ++ Cargo.lock | 2 +- Cargo.toml | 2 +- templates/player/listening.html | 88 ++++++++++++++----- templates/player/listening_scripts.html | 73 +++++++++++++++- templates/player/listening_styles.html | 50 ++++++++++- tests/browser-listening.cjs | 107 ++++++++++++++++++++++-- tests/listening.test.cjs | 57 ++++++++++++- 8 files changed, 355 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4aa91bd..1060154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ - Desktop/mobile lyrics view following playback, individual track previews, availability icons, and local version editing in the admin track editor. +## v0.15.3 — 2026-11-24 + +- Listening by day can display a calendar heatmap shaded by daily play count. + Select a day to open its history, or select the last 365 days for a full year. + The player remembers the chart style in the browser. + ## v0.15.2 — 2026-11-24 - Reorder pinned sidebar shortcuts by dragging or using the arrow keys. The diff --git a/Cargo.lock b/Cargo.lock index 24e03ee..5421a9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2062,7 +2062,7 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "furumusic" -version = "0.15.2" +version = "0.15.3" dependencies = [ "anyhow", "async-stream", diff --git a/Cargo.toml b/Cargo.toml index 166d199..f15b7a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "furumusic" -version = "0.15.2" +version = "0.15.3" edition = "2024" description = "Reusable web-app boilerplate: auth, OIDC/SSO, admin panel, user management, i18n, PostgreSQL" diff --git a/templates/player/listening.html b/templates/player/listening.html index d58ba19..117cd93 100644 --- a/templates/player/listening.html +++ b/templates/player/listening.html @@ -8,6 +8,7 @@ +