Commit Graph

112 Commits

Author SHA1 Message Date
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 e2c2c6d547 Add tooltips for scrobble activity debug info 2025-06-21 15:20:24 +03:00
Claudio Ortolina f3425d8cb9 Add top artist and top albums of all time
Executed by Claude
2025-06-19 17:17:51 +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 fa77b62473 Use dropdown instead of actions_menu in scrobble activity 2025-06-15 00:08:51 +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 fee172666a Move charts to the bottom of the stats page
They change VERY slowly so there's no point in having them prominent.
2025-06-14 10:50:55 +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 0de4746069 Use .button for scroll activity filters 2025-05-14 07:51:43 +01:00
Claudio Ortolina 354c0d8dfb Use Fluxon badges 2025-05-13 09:51:51 +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 582eb8d031 Rename charts 2025-04-06 19:30:58 +01:00
Claudio Ortolina 6777d716fa Link to artist page in count by artist chart 2025-04-06 17:49:22 +01:00
Claudio Ortolina 4fdd2e7ea6 Use label_fn and value_fn 2025-04-06 17:45:44 +01:00
Claudio Ortolina 79def8d053 Click on chart labels to navigate 2025-04-06 09:53:43 +01:00
Claudio Ortolina 83fa2e99a5 Amend counts to only operate on collection records 2025-04-06 08:45:47 +01:00
Claudio Ortolina 19e6e17542 Hardcode top 30 results, fix padding 2025-04-05 12:47:31 +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
Claudio Ortolina 22de7ed85f Default displaying albums in scrobble activity 2025-03-22 08:24:22 +00:00
Claudio Ortolina 66f401b243 Uniform spacing between stats sections 2025-03-14 10:37:50 +00:00
Claudio Ortolina 84870f87ad Toggle between recently scrobbled albums and tracks 2025-03-14 10:30:20 +00:00
Claudio Ortolina 13152ddbc9 Stack scrobble activity badges
Useful when the same record is collected and wishlisted in a different
format.
2025-03-04 07:23:56 +00:00
Claudio Ortolina 545dd808b7 Address Tailwind deprecations and renames 2025-02-28 20:55:36 +00:00
Claudio Ortolina 4835d4bdee Move DataComponents to /components 2025-02-21 15:45:47 +00:00
Claudio Ortolina 5ef05a94f5 Move badge/1 to core components 2025-02-19 09:49:05 +00:00