Commit Graph

707 Commits

Author SHA1 Message Date
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 76a4533e75 Use MusicLibraryWeb component helpers 2025-04-09 19:04:36 +01:00
Claudio Ortolina 2ae6adf72f Make charts responsive 2025-04-09 18:41:18 +01:00
Claudio Ortolina fc336abdc2 Improve artist page layout
Move meta info at the bottom on mobile, use full-width
2025-04-09 15:39:09 +01:00
Claudio Ortolina 2c8a2637bd Don't space out records count in grid 2025-04-09 15:31:38 +01:00
Claudio Ortolina 5d3a8ff1d6 Display a notice when an artist has no scrobbles 2025-04-09 15:26:00 +01:00
Claudio Ortolina 216ab4cee0 Scroll to load more results in the add record overlay 2025-04-09 15:17:26 +01:00
Claudio Ortolina 211fc4ea78 Update wishlisting flash messages 2025-04-09 11:12:34 +01:00
Claudio Ortolina a836782016 Wishlist missing records from the artist page 2025-04-09 11:03:31 +01:00
Claudio Ortolina eafedb13d6 refactor: use pipe operator in collection controller params 2025-04-07 19:35:49 +01:00
Claudio Ortolina 9f13d090ed Use more precise types 2025-04-07 19:27:17 +01:00
Claudio Ortolina 1d2d72b8ce Improve retry strategies for Last.fm refresh 2025-04-06 20:52:57 +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 1ab3c5e4df Remove useless docs 2025-04-06 09:10:12 +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 8b846298a7 Make collection ordered by purchase by default 2025-04-04 13:58:25 +01:00
Claudio Ortolina 8de88fcf72 Don't use a module attribute for the regex
As this will stop working with OTP28, see:

https://github.com/elixir-lang/elixir/pull/14381
2025-04-03 18:30:18 +01:00
Claudio Ortolina bc72ab7e7f Document Last.fm refresh module 2025-04-03 09:44:42 +01:00
Claudio Ortolina e16b3eb34e Prevent badges from wrapping 2025-03-30 14:47:03 +01:00
Claudio Ortolina 133b4695cf Enforce timeouts when using the OpenAI api 2025-03-29 20:02:26 +00:00
Claudio Ortolina 85a02a68fc Swap around title and artists in stats latest record 2025-03-24 09:53:49 +00:00
Claudio Ortolina 7e65221185 Hide LastFm internals via a context interface 2025-03-22 16:08:29 +00:00
Claudio Ortolina a52a980938 Exclude digital releases when searching via barcode 2025-03-22 15:08:13 +00:00
Claudio Ortolina 22de7ed85f Default displaying albums in scrobble activity 2025-03-22 08:24:22 +00:00
Claudio Ortolina 828f1667bf Remove unused LastFm.Feed functions 2025-03-14 11:53:54 +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 0020687f7b Include artist information in all albums feed 2025-03-11 08:48:17 +00:00
Claudio Ortolina ec10447ca0 Extend Last.fm Feed album/artist functions 2025-03-10 17:53:19 +00:00
Claudio Ortolina 3063155349 Extract Barcode icon 2025-03-10 12:23:52 +00:00
Claudio Ortolina 3d0eec3bff Add /api/collection endpoint 2025-03-10 11:17:51 +00:00
Claudio Ortolina bd9f88ab02 Don't pipe in one function only 2025-03-09 15:49:07 +00:00
Claudio Ortolina b23e2fd1a5 Extract Tailwind release helpers 2025-03-09 09:22:48 +00:00
Claudio Ortolina be7231f5aa Add task to check that Tailwind is up to date 2025-03-09 09:17:05 +00:00
Claudio Ortolina ada2c6ac3f No need to use a regular expression 2025-03-09 08:13:29 +00:00
Claudio Ortolina 4a18129d31 Show confetti when purchasing a record 2025-03-08 21:53:17 +00:00
Claudio Ortolina a160b8c98d Rename ImportComponent -> AddRecordComponent 2025-03-07 15:12:53 +00:00
Claudio Ortolina 91a1141441 Rename Import -> Add, and avoid surfacing MusicBrainz where unneeded 2025-03-07 15:10:22 +00:00
Claudio Ortolina 27ea8a5b62 Fix conflicting class usage 2025-03-07 11:49:31 +00:00
Claudio Ortolina 8a80062c80 Surface scan+import errors 2025-03-07 11:48:18 +00:00
Claudio Ortolina fee2799d50 Show barcodes that are not found inside the results UI
Includes a refactor to extract/cleanup barcode scan logic from the
component to a separate context with a better API.
2025-03-07 11:22:23 +00:00
Claudio Ortolina 7ae099524b Add Mix task to update Tailwind version 2025-03-06 15:33:17 +00:00
Claudio Ortolina d253150077 Recover edit form after disconnection 2025-03-06 09:55:59 +00:00
Claudio Ortolina 0c54be4474 Fix size of Scan button 2025-03-06 07:31:27 +00:00