Commit Graph

286 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 df9d18a21f Add nav link to dev dashboard
Invisible on mobile portrait layout - visible if device is turned to
landscape. Reasoning is that the dev dashboard is pretty unusable in
portrait mode anyway.
2024-11-29 08:33:29 +00:00
Claudio Ortolina 95e11d45d5 Tighten navigation menu on mobile 2024-11-29 08:29:21 +00:00
Claudio Ortolina 60fef06dc1 Uniform nav and footer dividers 2024-11-28 08:55:57 +00:00
Claudio Ortolina 3a813f9b4a Add personal website link in footer 2024-11-28 08:48:49 +00:00
Claudio Ortolina 7701ef9bc5 Add missing translation 2024-11-27 23:45:57 +00:00
Claudio Ortolina 452a6a3f5b Fix footer on mobile 2024-11-27 23:45:47 +00:00
Claudio Ortolina 9f6791909d Add a footer 2024-11-27 23:41:11 +00:00
Claudio Ortolina be2f866830 Remove wrong background color in pagination component 2024-11-27 22:42:51 +00:00
Claudio Ortolina 1cf681db05 Fix misalignment of buttons and inputs in search form 2024-11-27 22:41:13 +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 02d126ac90 Blur background when modal is open 2024-11-25 16:46:24 +00:00
Claudio Ortolina bdcc5633bf Resize uploaded cover 2024-11-25 11:22:55 +00:00
Claudio Ortolina c93cf6a406 Group HTTP Metrics
- Remove wrong Finch metric name
- Filter archive requests due to redirect hostnames (better to track it
as a single metrics)
- Don't apply competing filter functions - it seems to trip Telemetry
Metrics off, and skip the last defined summary
2024-11-25 10:23:31 +00:00
Claudio Ortolina b5400b76fc Add HTTP Metrics for Last.Fm and MusicBrainz 2024-11-25 10:03:34 +00:00
Claudio Ortolina edb24dc932 Keep telemetry metrics history 2024-11-25 10:02:34 +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 f157fbadee Enable live dashboard in production
Includes extras to monitor ecto repos.
2024-11-23 19:26:54 +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