Commit Graph

98 Commits

Author SHA1 Message Date
Claudio Ortolina b12e70f471 Refactor charts to use plain HTML
More responsive, less edge cases, and simpler to maintain.
2026-03-21 18:00:06 +00:00
Claudio Ortolina a479d60da3 Link top 20 years chart 2026-03-21 09:27:53 +00:00
Claudio Ortolina 5a27fc46ac Add Top 20 Release Years widget 2026-03-21 09:02:25 +00:00
Claudio Ortolina 55aa7aa9d3 Move records on this day near top_* sections 2026-03-21 08:38:45 +00:00
Claudio Ortolina 47ca6fa1d2 Add canonical_tailwind to get correct formatting for tailwind classes 2026-03-20 13:02:32 +00:00
Claudio Ortolina 5a418248ad Use same gaps in stats page
Closes #120
2026-03-16 19:30:52 +00:00
Claudio Ortolina 4d1ac9652c Link the scrobbled count in stats 2026-03-14 09:59:09 +00:00
Claudio Ortolina 1a62360b21 Group records in records on this day widget 2026-03-12 09:09:25 +00:00
Claudio Ortolina 08f7565d44 Replace inspect(reason) with friendly error messages
Closes #81
2026-03-05 20:25:13 +00:00
Claudio Ortolina 871f4b3554 Extract ListeningStats out of ScrobbleActivity 2026-02-27 12:16:38 +00:00
Claudio Ortolina e9b9717b08 Inline templates inside LV modules 2026-02-24 17:20:21 +00:00
Claudio Ortolina 857c981e1d Improve display of scrobbled tracks in index
- Use proper time element
- Add tooltip with metadata
2025-12-09 15:01:16 +00:00
Claudio Ortolina 71f7a38fee Don't use streams for records on this day 2025-11-26 18:50:35 +00:00
Claudio Ortolina a597ff4032 Make application work with empty database 2025-11-19 10:16:21 +00:00
Claudio Ortolina a12963cb0a Always render cover hash for scrobbles if available 2025-10-23 13:53:10 +01:00
Claudio Ortolina 9542421229 Resolve date of today considering timezone 2025-10-07 01:27:40 +03:00
Claudio Ortolina 641ba3e1b7 Improve heuristics to render artist links for scrobbled tracks 2025-09-29 18:40:50 +03:00
Claudio Ortolina 2d1a99edfd Can refresh feed from scrobbled tracks view 2025-09-28 10:14:44 +03:00
Claudio Ortolina b462b8e53e Do not try to use cover fallback when hash is nil 2025-09-27 21:15:07 +03:00
Claudio Ortolina 124bbe2b1d Consolidate Last.fm fallback cover handling 2025-09-26 15:36:30 +03:00
Claudio Ortolina 08bf53910b Resolve all data in one query in Scrobble Activity
Aim is to avoid having to do this in multiple rounds with in-memory
operations which are harder to follow
2025-09-26 15:21:27 +03:00
Claudio Ortolina 21783f5dbf Resolve timezone from user browser 2025-09-11 22:14:15 +03:00
Claudio Ortolina c67fd27ea1 Fix timezone definition and handling across app 2025-09-11 16:17:20 +03:00
Claudio Ortolina 7532431ae0 Show compact scrobble count 2025-09-02 08:28:29 +03:00
Claudio Ortolina a4670412df Add total scrobble count to stats 2025-09-02 08:17:42 +03:00
Claudio Ortolina 3e2c34c9da Limit stats scrobble activity to 50 2025-08-29 18:32:18 +03:00
Claudio Ortolina 330ef1d9e8 Extract components to render counter stats 2025-08-29 18:13:46 +03:00
Claudio Ortolina 14a77c432e Can set current date in stats view 2025-08-29 14:47:22 +03:00
Claudio Ortolina 064ece03f3 Show how many years ago for "On this day" records 2025-08-29 13:09:27 +03:00
Claudio Ortolina f47cbc77f5 Add "On this day" section to stats 2025-08-29 12:20:46 +03:00
Claudio Ortolina 3dc69a5a10 Auto-refresh top albums and artists when new scrobbles come in 2025-08-18 10:12:43 +03:00
Claudio Ortolina df46759a8d Extract top artists component and lazy load each tab 2025-08-17 23:30:42 +03:00
Claudio Ortolina af7e48507d Extract top albums component 2025-08-17 23:30:42 +03:00
Claudio Ortolina acd34424f7 Use LiveToast instead of built-in flash helpers
So that they can stack and get dismissed automatically
2025-07-16 15:26:30 +01:00
Claudio Ortolina 1492b197ce Make top albums and artists async 2025-07-07 10:19:47 +01:00
Claudio Ortolina c359444758 No need to fetch tracks when changing scrobble activity mode 2025-06-29 09:04:52 +01:00
Claudio Ortolina 82e9d3c5a7 Extract markup from stats live to separate set of components 2025-06-29 08:49:12 +01:00
Claudio Ortolina 08bc50d5dd Use tabs for scrobble activity toggle 2025-06-25 12:05:23 +03:00
Claudio Ortolina 0c84adde59 Use tabs for top artists and top albums 2025-06-25 11:43:58 +03:00
Claudio Ortolina 9b20db762d Show top artists in stats page 2025-06-16 16:47:35 +03:00
Claudio Ortolina 753615c57f Improve top albums
Makes it timezone aware, so that it can round up to the beginning of day
2025-06-15 12:12:04 +03:00
Claudio Ortolina 389c268344 Add another feed refresh button 2025-06-15 11:51:45 +03:00
Claudio Ortolina 56288266df Link to artists in top albums 2025-06-14 18:52:43 +03:00
Claudio Ortolina db6d45703e Add hover effect on top albums 2025-06-14 18:52:31 +03:00
Claudio Ortolina 522cce71be Space out record title from "Latest purchase" header 2025-06-14 18:34:46 +03:00
Claudio Ortolina 34013ef119 Use badges for top albums count 2025-06-14 12:24:35 +03:00
Claudio Ortolina 644a19f2b8 Refresh top albums when refreshing scrobble activity 2025-06-14 11:34:13 +03:00
Claudio Ortolina a1f5182e90 Make top albums clickable 2025-06-14 11:16:51 +03:00
Claudio Ortolina 109913cbfd Extract top albums to components 2025-06-14 09:44:47 +03:00
Claudio Ortolina 268aff9918 Add top albums to the stats page
Authored with Claude.

> I'd like to have a new section in the Stats page. In this section I
want to see the top albums I listened to in the past 30,
  90, 365 days. Use the data in `scrobbled_tracks` to determine which
albums need to be displayed.

> This all looks great as a starter. I'd like to make some
modifications.

  1. Invert the position of the artist name and the album title (so that
it's consistent with the Scrobble Activity)
  2. Remove the border and shadow from around each album
  3. Rename the "Last 365 days" section to "Last Year"
2025-06-14 09:38:44 +03:00