Commit Graph

975 Commits

Author SHA1 Message Date
Claudio Ortolina a9d27059c4 Update dependencies
circular_buffer 0.4.1 => 0.4.2
ecto 3.12.6 => 3.13.1
ecto_sql 3.12.1 => 3.13.1
ecto_sqlite3 0.19.0 => 0.20.0 (minor)
exqlite 0.31.0 => 0.32.0 (minor)

Includes handling of deprecation for literal/1 to identifier/1
2025-06-21 09:10:57 +03:00
Claudio Ortolina 0739e12ad3 Polyfill scrobbled tracks every hour 2025-06-20 22:43:04 +03:00
Claudio Ortolina b091fa4d86 Fix line height for record detail titles 2025-06-20 22:30:18 +03:00
Claudio Ortolina 35e060613b Add function to backfill missing data in scrobbled tracks 2025-06-19 17:38:51 +03:00
Claudio Ortolina 25634f5ee7 Exclude counts without album title from top albums 2025-06-19 17:21:16 +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 24b34d57d2 Update dependencies
floki 0.37.1 => 0.38.0 (minor)
quokka 2.6.0 => 2.7.0

Includes application of expensive enum check quokka rule
2025-06-16 11:47:07 +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 1910265aea Improve styling of record edit form title and artists 2025-06-15 09:54:36 +03:00
Claudio Ortolina ac3cda8790 Removed unused dropdown links 2025-06-15 09:46:06 +03:00
Claudio Ortolina 860682403b Replace actions_menu with dropdown component
Authored with Claude, refined by hand
2025-06-15 09:29:49 +03:00
Claudio Ortolina fa77b62473 Use dropdown instead of actions_menu in scrobble activity 2025-06-15 00:08:51 +03:00
Claudio Ortolina aeedfd5f04 EXP: use a larger image for color frequency extractor
So that it catches smaller areas.
2025-06-14 23:10:09 +03:00
Claudio Ortolina 124d539cec Enable other quokka directives 2025-06-14 20:10:22 +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 2df5e7ee1d Show wishlisted date for wishlisted records 2025-06-14 12:58:47 +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 945dc91887 Make cutoff time deterministic 2025-06-14 10:48:15 +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 39564be894 Remove x axis labels and lines from charts
Makes the chart more minimal and readable
2025-06-12 21:40:24 +03:00
Claudio Ortolina d03170948a Improve display of artist/title in detail page
More prominent size for title, more spacing before data
2025-06-11 21:03:42 +03:00
Claudio Ortolina 275e7160d3 Display record cover in edit form 2025-06-11 20:54:47 +03:00
Claudio Ortolina c23578725e Fix error when deleting a record from the artist page 2025-06-11 17:29:04 +03:00
Claudio Ortolina d3a14a8553 Fix artist patch navigation 2025-06-11 17:28:46 +03:00
Claudio Ortolina f95843dae1 Serve apple-touch-icons 2025-06-11 09:19:02 +03:00
Claudio Ortolina d14587c120 Revert "Show confetti when adding a record"
Shows up too often
2025-06-11 08:42:41 +03:00
Claudio Ortolina a31d92bc9f Show confetti when adding a record 2025-06-09 18:40:03 +01:00
Claudio Ortolina 4da5a8d59b Fix error handling for adding a record to the collection from artist page 2025-06-09 18:32:27 +01:00
Claudio Ortolina 968b533a1d Wishlist show page listens to record updates 2025-06-08 20:07:35 +01:00
Claudio Ortolina 691bc84145 Fix section assignment in collection show page 2025-06-08 20:07:14 +01:00
Claudio Ortolina 2cc1d7ca8f Pick color extraction strategy from dropdown 2025-06-08 20:06:54 +01:00
Claudio Ortolina 2bbb91769d Generate better dominant colors async after record import 2025-06-08 07:50:07 +01:00
Claudio Ortolina 569f8b5340 Distinguish between color extraction strategies
By default, use fast color sampling. Run heavy edge weighted extraction
only on demand.
2025-06-08 07:43:07 +01:00
Claudio Ortolina 96ceb5c7f6 Switch to edge-weighted color extraction algo 2025-06-07 21:53:47 +01:00
Claudio Ortolina be8b7ead5f Load dominant colors from record 2025-06-07 20:41:39 +01:00
Claudio Ortolina 378992e632 Add functions to generate dominant colors 2025-06-07 20:13:19 +01:00
Claudio Ortolina c5e47cbc8c Display dominant colors from the db 2025-06-07 20:07:23 +01:00
Claudio Ortolina 8a2fda5f73 Increase sample rate to get a more faithful set of colors 2025-06-07 19:43:54 +01:00
Claudio Ortolina 7efbbe0683 Show dominant colors in wishlisted record details page 2025-06-07 19:41:32 +01:00
Claudio Ortolina ccb3089ddf Experiment: show dominant colors in collected record details page 2025-06-07 14:36:29 +01:00
Claudio Ortolina 0aa0a19a00 Use live_toast instead of built-in flash
Precursor for building better notifications
2025-06-07 08:27:25 +01:00
Claudio Ortolina a005a3c203 Make sure release sheet tracks are correctly aligned 2025-06-06 21:24:25 +01:00