Commit Graph

49 Commits

Author SHA1 Message Date
Claudio Ortolina 901a6b1c93 Update dependencies
credo 1.7.12 => 1.7.13
usage_rules 0.1.24 => 0.1.25
2025-10-15 09:57:13 +01:00
Claudio Ortolina 23c36e2521 Extract ExternalLink module 2025-10-02 11:51:44 +03:00
Claudio Ortolina b6f47fd986 Move external links definition to context 2025-10-02 09:02:13 +03:00
Claudio Ortolina 9b8d8c7fdf Show artist external links 2025-10-02 08:55:45 +03:00
Claudio Ortolina 932289ed3b Extract artist_image component 2025-09-19 13:52:59 +03:00
Claudio Ortolina 455c3a8b53 Serve artist images via assets 2025-09-18 21:26:20 +03:00
Claudio Ortolina 71ca5fa1b9 Update to Fluxon 2.0
Address required changes and immediate deprecations
2025-08-20 16:09:53 +03:00
Claudio Ortolina acd34424f7 Use LiveToast instead of built-in flash helpers
So that they can stack and get dismissed automatically
2025-07-16 15:26:30 +01:00
Claudio Ortolina f57485e509 Allow manual upload of artist image 2025-07-06 16:57:30 +01:00
Claudio Ortolina c23578725e Fix error when deleting a record from the artist page 2025-06-11 17:29:04 +03:00
Claudio Ortolina d3a14a8553 Fix artist patch navigation 2025-06-11 17:28:46 +03:00
Claudio Ortolina 4da5a8d59b Fix error handling for adding a record to the collection from artist page 2025-06-09 18:32:27 +01:00
Claudio Ortolina 9100c6c04a Extract actions_menu 2025-05-29 22:15:34 +01:00
Claudio Ortolina b72bee709e Fix error when purchasing a record from the artist page 2025-05-29 17:19:40 +01:00
Claudio Ortolina 676c2e4290 Enable quokka with :module_directives rule 2025-05-28 19:41:57 +01:00
Claudio Ortolina b44693b022 Move Artist and ArtistInfo under Artists context 2025-05-23 20:11:57 +01:00
Claudio Ortolina d38fcd6fee Account for no artist country or area 2025-05-21 22:35:45 +01:00
Claudio Ortolina 7dcc792214 Show similar artists on a grid 2025-05-21 21:56:19 +01:00
Claudio Ortolina 80ca186ba8 Render artist bio in a left-side sheet 2025-05-21 21:24:15 +01:00
Claudio Ortolina ee27b7a252 Can refresh artist info and image from UI 2025-05-20 09:41:44 +01:00
Claudio Ortolina 7e994389e7 Extract play_count and on_tour_link components 2025-05-15 19:33:48 +01:00
Claudio Ortolina 1484edb77f No need to have function public 2025-05-15 19:33:02 +01:00
Claudio Ortolina f36b829377 Rename nav_section -> current_section 2025-05-14 10:49:12 +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 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 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 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 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 53b89dc329 Extract Artists context 2024-12-18 11:12:06 +00: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 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 9d02a8e00b Render bio with linebreaks 2024-12-03 00:33:37 +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