Commit Graph

82 Commits

Author SHA1 Message Date
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
Claudio Ortolina 46681deca9 Improve track refresh logic 2025-06-02 21:00:44 +01:00
Claudio Ortolina 9100c6c04a Extract actions_menu 2025-05-29 22:15:34 +01:00
Claudio Ortolina 676c2e4290 Enable quokka with :module_directives rule 2025-05-28 19:41:57 +01:00
Claudio Ortolina f36b829377 Rename nav_section -> current_section 2025-05-14 10:49:12 +01:00
Claudio Ortolina e78026c3da Update index.ex
Increase padding below stats album preview
2025-04-26 18:16:26 +01:00
Claudio Ortolina 9cf19b7f75 Extract ScrobbleActivity context 2025-04-25 16:15:56 +01:00
Claudio Ortolina 0ebcd2f6b2 Show multiple entries for the same album in scrobble activity 2025-04-25 07:42:06 +01:00
Claudio Ortolina 0532f661e9 Improve stat charts
- Use tw classes for color
- Better titles
- Limit to top 20
2025-04-20 15:22:31 +01:00
Claudio Ortolina 32c11f86c9 Make timezone configurable 2025-04-10 18:34:05 +01:00
Claudio Ortolina 099c895c8f Use localized scrobbled_at label 2025-04-10 12:49:23 +01:00
Claudio Ortolina 0aa1da14ad Inline DataComponents functions and remove the component
No need to abstract out when it's used only in one place
2025-04-09 19:05:22 +01:00
Claudio Ortolina 211fc4ea78 Update wishlisting flash messages 2025-04-09 11:12:34 +01:00
Claudio Ortolina ddd81ff7dd Display 50 rows of charts 2025-04-06 19:31:12 +01:00
Claudio Ortolina 83fa2e99a5 Amend counts to only operate on collection records 2025-04-06 08:45:47 +01:00
Claudio Ortolina 8d602aa50b Charts: count by artists and count by genre
Generated via Cursor and Claude 3.5 - initial version
2025-04-05 12:41:17 +01:00
Claudio Ortolina 7e65221185 Hide LastFm internals via a context interface 2025-03-22 16:08:29 +00:00