Commit Graph

332 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 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 5d3a8ff1d6 Display a notice when an artist has no scrobbles 2025-04-09 15:26:00 +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 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 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 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 3063155349 Extract Barcode icon 2025-03-10 12:23:52 +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 0c54be4474 Fix size of Scan button 2025-03-06 07:31:27 +00:00
Claudio Ortolina 15c394abf1 Fix alignment of wishlist import button 2025-03-05 17:34:53 +00:00
Claudio Ortolina 36707f40e3 Improve action buttons in wishlist/collection views
- Consistently use links
- Add icons
2025-03-05 17:22:38 +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 74602323ee Use pattern matching to improve readability 2025-02-27 16:33:09 +00:00
Claudio Ortolina 2617094e7b Always reset artist records when patching the page 2025-02-23 19:17:27 +00:00
Claudio Ortolina a7a95efde2 Make render bio work on bio summary as well 2025-02-23 19:12:22 +00:00
Claudio Ortolina 3599ab19a1 Reformat artist show page 2025-02-23 19:12:02 +00:00
Claudio Ortolina c67d11da0c Show similar artists in artist page
Styling to be defined - only links for now.
2025-02-23 16:56:52 +00:00
Claudio Ortolina 889ba61e4c Extract LastFm module 2025-02-21 16:02:18 +00:00
Claudio Ortolina 4835d4bdee Move DataComponents to /components 2025-02-21 15:45:47 +00:00
Claudio Ortolina 7df136c890 Sort aliases 2025-02-20 15:27:01 +00:00
Claudio Ortolina 72cc2bf0c4 Move all components under /components 2025-02-20 09:11:27 +00:00
Claudio Ortolina 55538903d4 Consolidate record components into one module 2025-02-20 09:04:47 +00:00
Claudio Ortolina 0873b12eed Fix buttons/links for scanner modal in dark mode 2025-02-19 18:58:20 +00:00
Claudio Ortolina 4ca6421767 Can barcode scan a wishlisted record and import it 2025-02-19 15:47:09 +00:00
Claudio Ortolina 818e8918ff Remove outline from camera button 2025-02-19 11:17:54 +00:00
Claudio Ortolina d09622b433 Add some debug logs when scanning barcodes 2025-02-19 11:16:32 +00:00
Claudio Ortolina ce75b42d06 Show record status when scanning
For now it only imports new records - it should also purchase wishlisted
ones.
2025-02-19 10:21:44 +00:00
Claudio Ortolina 5ef05a94f5 Move badge/1 to core components 2025-02-19 09:49:05 +00:00
Claudio Ortolina 17a1e87be5 Fix 'variable name before the pattern' consistency issue 2025-02-18 12:41:10 +00:00
Claudio Ortolina 94a2784020 Move function in MusicBrainz main module 2025-02-17 22:07:49 +00:00
Claudio Ortolina 37f72261c3 Extract MusicBrainz main module 2025-02-17 17:30:13 +00:00
Claudio Ortolina 5a391eb549 Use a button group for import/scan 2025-02-17 09:11:45 +00:00
Claudio Ortolina dfcfd1a066 Move import releases button at the bottom
Disabled when no records are present.
2025-02-16 14:07:02 +00:00
Claudio Ortolina 23fab67e53 Add TODO around scanning an already collected record 2025-02-16 13:45:23 +00:00