Commit Graph

52 Commits

Author SHA1 Message Date
Claudio Ortolina 6e76e2b203 Use Fluxon loading element 2025-05-04 17:01:22 +01:00
Claudio Ortolina e083950138 Rename record.release to record.release_date
Includes changes to dependent tables (i.e. the record search index) and
related functions.
2025-05-01 14:04:57 +01:00
Claudio Ortolina 4a70e02f14 Don't fail composing artist image url when image is not present 2025-04-29 18:50:23 +01:00
Claudio Ortolina f98e29263f Add vsn hash to artist image tag 2025-04-29 16:16:18 +01:00
Claudio Ortolina f1dd45e438 Show country flag for artist 2025-04-29 09:58:06 +01:00
Claudio Ortolina 3cee739fc9 Render artist image in artist page 2025-04-27 21:39:53 +01:00
Claudio Ortolina 3f4e2bc975 Link to Last.fm events from "On Tour" badge 2025-04-11 10:27:45 +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 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 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 55538903d4 Consolidate record components into one module 2025-02-20 09:04:47 +00:00
Claudio Ortolina 9e1f00c9a8 Refactor type/format labels to enable translations 2025-01-29 11:04:19 +00:00
Claudio Ortolina 59371ba7be Align on tour badge in artist page 2025-01-27 10:05:31 +00:00
Claudio Ortolina fe99ec155d Align counters to baseline 2025-01-25 22:01:09 +00:00
Claudio Ortolina f1dd8cc888 Restore color of loading spinner 2025-01-25 22:00:45 +00:00
Claudio Ortolina 2a393446a6 Improve layout of artist section headers 2025-01-25 18:18:17 +00:00
Claudio Ortolina 0d77fdc031 Display badge when an artist is touring 2025-01-25 08:50:46 +00:00
Claudio Ortolina bf78f456d4 Convert records in artist page to a stream 2025-01-05 21:18:46 +00:00
Claudio Ortolina 7cd1e8e944 Extract grid component from artist view 2025-01-02 23:32:05 +00:00
Claudio Ortolina f813ea48e2 Use round_badge component in artist page 2025-01-02 20:28:13 +00:00
Claudio Ortolina 1a0e505e51 Rework error messages for failed playcount/bio fetch 2024-12-27 17:57:36 +00:00
Claudio Ortolina 326b226d96 Remove unnecessary fallback to empty image version string
Images always have a hash now, so fallback is not needed anymore.
2024-12-23 23:30:57 +00:00
Claudio Ortolina 6bef3bed05 Add total for collection and wishlist albums in artist view 2024-12-18 11:33:48 +00:00
Claudio Ortolina a3306c84c3 Increase album grid density in artist view 2024-12-18 11:27:07 +00:00
Claudio Ortolina 53b89dc329 Extract Artists context 2024-12-18 11:12:06 +00:00
Claudio Ortolina f7045a9f14 Extend testing of artist page 2024-12-13 22:25:06 +03:00
Claudio Ortolina 21439a580f TODO: make artist records a stream 2024-12-11 23:24:38 +03:00
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 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 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 b42b4744a0 Display records in artist page 2024-12-02 21:40:13 +00:00