Commit Graph

1308 Commits

Author SHA1 Message Date
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
Claudio Ortolina a63f2de60b Use ->> instead of json_extract in queries
Improves readability of queries.
2025-06-06 21:05:44 +01:00
Claudio Ortolina 167f1df8cb Extract artist_links/1 component 2025-06-04 17:42:10 +01:00
Claudio Ortolina fd997e853f Update artists when refreshing MusicBrainz data 2025-06-04 15:57:25 +01:00
Claudio Ortolina 27c1cc0eda Import artist joinphrase 2025-06-03 18:16:47 +01:00
Claudio Ortolina 669b144c55 Find last listened track based on title and artist as well 2025-06-03 18:05:23 +01:00
Claudio Ortolina c23260d03d Show last listen at for each collected record 2025-06-03 15:57:12 +01:00
Claudio Ortolina 46681deca9 Improve track refresh logic 2025-06-02 21:00:44 +01:00
Claudio Ortolina 3e9c719ce8 LastFm pull 100 tracks as a default 2025-06-02 20:53:04 +01:00
Claudio Ortolina 35bca44c9b Prevent multiple scrobbles for 3 seconds 2025-06-02 20:42:19 +01:00
Claudio Ortolina d7060697b2 Format dates in release summary and label 2025-06-01 16:58:04 +01:00
Claudio Ortolina e678d533f5 Mount BackgroundRepo in Ecto stats 2025-06-01 16:34:58 +01:00
Claudio Ortolina c4fa389e5d Remove obsolete HACK comment 2025-06-01 14:18:25 +01:00
Claudio Ortolina 1703f1cf70 Use stored scrobbled tracks 2025-05-31 21:44:54 +01:00
Claudio Ortolina 32956ca593 Backfill faster 2025-05-31 20:55:13 +01:00
Claudio Ortolina d3855d989a Tweak Last.Fm API timeouts for batch operations 2025-05-31 20:54:56 +01:00
Claudio Ortolina b191d87dfd Fix scrobble tracks schema
Remove the primary key, and just set a unique index on scrobbled time
and title, which allows skipping duplicates.
2025-05-31 20:54:37 +01:00
Claudio Ortolina 54ee77995a Avoid primary key clashes 2025-05-31 20:24:29 +01:00