Commit Graph

200 Commits

Author SHA1 Message Date
Claudio Ortolina 8350ffd3a4 To get artist info, try mbid and then artist name 2024-12-04 21:07:56 +00:00
Claudio Ortolina 24319b1bff Annotate templates with TODOs for markup replacement
To open source the project down the line, it makes sense to have either
everything custom or using OSS components in order to keep licensing as
simple as possible.
2024-12-04 14:43:07 +00:00
Claudio Ortolina 740e94fdf6 Use <.async_result> component
Removes need for custom conditional logic, and covers all needed states.
2024-12-03 23:34:25 +00:00
Claudio Ortolina 2321cc8cfb Attempt at preventing layout shifts in record show pages 2024-12-03 22:54:53 +00:00
Claudio Ortolina 2c055acad6 Fix error in rendering an artist with empty bio
Includes a refactor for a helper to test for play count
2024-12-03 22:26:41 +00:00
Claudio Ortolina 907f480bc1 Improve formatting of bio read more link and license block
Prefer inline Tailwind classes for consistency with rest of the codebase
2024-12-03 19:37:37 +00:00
Claudio Ortolina acee09aab0 Format bio sections 2024-12-03 16:25:16 +00:00
Claudio Ortolina cf85c78852 Improve readability of artist bio 2024-12-03 10:37:37 +00:00
Claudio Ortolina 371ed511cc Render bio with <details> element 2024-12-03 10:01:22 +00:00
Claudio Ortolina 4dc1228a2d Show "Biography not available" notice 2024-12-03 09:55:20 +00:00
Claudio Ortolina 6519a8b3e8 Space out bio a bit more 2024-12-03 09:51:43 +00:00
Claudio Ortolina 2c520be102 Tighten typography on artist h1 page 2024-12-03 09:51:03 +00:00
Claudio Ortolina b301a5da7d Display number of scrobbles per artist 2024-12-03 09:47:52 +00:00
Claudio Ortolina 9d02a8e00b Render bio with linebreaks 2024-12-03 00:33:37 +00:00
Claudio Ortolina d1190e31f9 Navigate to artist page instead of patching 2024-12-03 00:15:24 +00:00
Claudio Ortolina ccefc6e697 Update to new interpolation syntax
Includes a fix to a brittle test that failed due to changes in the
number of linebreaks.
2024-12-03 00:08:32 +00:00
Claudio Ortolina 2fde159e85 Add links to artist page 2024-12-02 21:43:58 +00:00
Claudio Ortolina b42b4744a0 Display records in artist page 2024-12-02 21:40:13 +00:00
Claudio Ortolina 18df3683fc Render a minimal artist page 2024-12-02 17:35:47 +00:00
Claudio Ortolina 0eaaab7d00 Not working 2024-12-02 12:40:09 +00:00
Claudio Ortolina 9f6791909d Add a footer 2024-11-27 23:41:11 +00:00
Claudio Ortolina 135d1c2fbd Remove unused handle_event clause 2024-11-27 11:13:04 +00:00
Claudio Ortolina ccff972aa0 Surface duplicate importing error in collection 2024-11-27 11:11:36 +00:00
Claudio Ortolina 2e40cbd5da Improve page titles
- When showing a single record, use record details
- Split title into logical breadcrumbs
2024-11-26 21:00:53 +00:00
Claudio Ortolina b8a89a041d Fix spacing for MB id copy icon in wishlist details 2024-11-26 13:35:41 +00:00
Claudio Ortolina 6339196b17 Search by genre
Can also click on genres in detail views.
2024-11-26 13:35:15 +00:00
Claudio Ortolina f0212eeb6f Consolidate cover resize logic
Moves resizing out of the MusicBrainz namespace to Records - which
improves division of responsibilities, and removes double resizing
during import.
2024-11-26 08:35:16 +00:00
Claudio Ortolina eef60a66a8 Shorten "No MusicBrainz ID" -> "No MB ID"
So that it's inline with other UI elements, and fits nicely in mobile UI
2024-11-26 08:03:34 +00:00
Claudio Ortolina bdcc5633bf Resize uploaded cover 2024-11-25 11:22:55 +00:00
Claudio Ortolina 93b347ad8d Add badge for tracks whose albums cannot be imported
Includes a small optimization that removes "" release IDs from the list
of IDs checked against releases in the database.
2024-11-23 22:57:25 +00:00
Claudio Ortolina 4581666282 Don't apply fallback cover when refreshing it
So that we don't accidentally override a user-uploaded cover with the
fallback one.
2024-11-21 17:57:49 +00:00
Claudio Ortolina d09212dabb Push copy icon to the right 2024-11-21 10:42:46 +00:00
Claudio Ortolina 09115a635f Reduce vertical margins and paddings 2024-11-21 10:42:33 +00:00
Claudio Ortolina 81e332d00d Fix sr text for wishlisting from scrobble activity
Includes an integration test for the scrobble activity feed.
2024-11-21 09:20:36 +00:00
Claudio Ortolina e519f355bc Add TODOs for component extraction 2024-11-20 15:54:12 +00:00
Claudio Ortolina 5b3aab51ed Change routes from "/records/*" to "/collection/*" 2024-11-20 15:43:25 +00:00
Claudio Ortolina b8f3bb9b2c Promote Collection to proper namespace 2024-11-20 15:37:04 +00:00
Claudio Ortolina 47a20d259e Limit artwork sizes and remove duplicate IDs 2024-11-19 18:31:46 +00:00
Claudio Ortolina eee70b0999 Improve refresh buttons in wishlist details view 2024-11-19 16:31:26 +00:00
Claudio Ortolina 7e93ee71bc Improve refresh buttons in collection details view 2024-11-19 16:31:22 +00:00
Claudio Ortolina 730c69a3aa Use phx-click-loading class to animate refresh icon 2024-11-19 16:02:35 +00:00
Claudio Ortolina a5315e81ce Can refresh cover for a record in the wishlist 2024-11-19 11:28:50 +00:00
Claudio Ortolina 09f3563134 Can refresh cover for a record in the collection 2024-11-19 11:28:50 +00:00
Claudio Ortolina e0ac8d1923 Add button to refresh Scrobble activity 2024-11-17 21:55:43 +00:00
Claudio Ortolina 297aa07829 Allow changing MusicBrainz ID 2024-11-16 15:14:35 +00:00
Claudio Ortolina 67389f6b24 Use a button group for show record actions 2024-11-16 09:28:52 +00:00
Claudio Ortolina 5babccfeb8 Can refresh data for wishlist records 2024-11-15 10:03:45 +00:00
Claudio Ortolina 60b098785b Can refresh musicbrainz_data for collection records 2024-11-15 10:01:53 +00:00
Claudio Ortolina e4075c930e Show included release groups in wishlist record page 2024-11-14 19:12:53 +00:00
Claudio Ortolina d7fd14c7ab Show included release groups in record show page 2024-11-14 19:11:41 +00:00