Commit Graph

493 Commits

Author SHA1 Message Date
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 9448e77e23 Update dependencies
phoenix 1.7.14 => 1.7.15
phoenix_live_view 1.0.0-rc.7 => 1.0.0-rc.8
2024-12-02 23:21:30 +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 797f30b9a4 Tag Last.fm errors as errors
Because they're always returned as 200 responses with custom error codes
(sigh).
2024-12-02 21:36:18 +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 2d721774d6 Can fetch an artist info from Last.fm 2024-12-02 12:40:07 +00:00
Claudio Ortolina b63b3a633a Can fetch records by a specific artist 2024-12-02 10:55:12 +00:00
Claudio Ortolina 963b3c826f Extract Records.Artist 2024-12-02 10:55:12 +00:00
Claudio Ortolina eda0245c2c Format code 2024-12-02 09:38:20 +00:00
Claudio Ortolina 3733ef74ba Add batch function to remove artist IDs 2024-12-02 09:37:00 +00:00
Claudio Ortolina 228b4bc440 Use musicbrainz_id as a key for embedded artists 2024-12-02 09:23:13 +00:00
Claudio Ortolina 46b912709d Use Mix.Shell.IO helpers to print msgs to the terminal 2024-12-01 15:31:51 +00:00
Claudio Ortolina 53d2082ad0 Ensure flyctl is installed before running Mix tasks 2024-12-01 12:32:21 +00:00
Claudio Ortolina c4cafa0bf6 Extract fly helpers for Mix tasks 2024-12-01 12:27:07 +00:00
Claudio Ortolina bdfae15f35 When refreshing fixtures, store them pretty-printed 2024-12-01 12:18:37 +00:00
Claudio Ortolina c71f740eec Update and format JSON fixture files 2024-12-01 12:17:49 +00:00
Claudio Ortolina 7a26b6bda6 Reduce pool size in test
Due to SQLite having one single write transaction, database tests cannot
be executed async, making a large pool ineffective at best. A setting of
10 is enough for those tests where we perform multiple read operations
(which tend to be sequential anyway).

Test execution time before and after this change remains effectively the
same.
2024-11-30 22:41:56 +00:00
Claudio Ortolina c65a29c252 Use more restrictive LastFm request timeouts
Experimental: metrics show some long running requests
that end up hitting timeouts (at default values),
so we make them shorter to leverage retries
2024-11-30 20:21:51 +00:00
Claudio Ortolina cf51cab7ce Add basic test for Records.Cover module 2024-11-29 22:08:40 +00:00
Claudio Ortolina d9773bf45d Improve test description 2024-11-29 17:21:42 +00:00
Claudio Ortolina 84b5c4ba85 Update dependencies
thousand_island 1.3.6 => 1.3.7
2024-11-29 17:10:19 +00:00
Claudio Ortolina 3facdcb5bd Compile dev routes in test
As the route is rendered in the stats page, it needs to be enabled in
all Mix environments in order to avoid compile time warnings.
2024-11-29 15:26:59 +00:00
Claudio Ortolina 010c769b55 Stream 50 rows at a time for batch operations 2024-11-29 10:00:18 +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 2b20f1c588 Update dependencies
ecto 3.12.4 => 3.12.5
2024-11-29 08:20:15 +00:00
Claudio Ortolina acc052933a Try and use a 512MB machine 2024-11-28 17:26:38 +00:00
Claudio Ortolina ffcbeb49b4 Attempt at shrinking memory usage 2024-11-28 17:22:56 +00:00
Claudio Ortolina cb0e06d603 Add batch operation to resize covers with incorrect sizes 2024-11-28 17:15:12 +00:00
Claudio Ortolina 7ffd0c375b Update README
- Add intro
- Add setup instructions
- Remove obsolete dev notes
- Remove db queries (they're in the repo's livebook)
2024-11-28 14:49:26 +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 504596c42d Add chart for Count by Artist 2024-11-27 15:06:44 +00:00
Claudio Ortolina e893800d2c Add chart for count by artist 2024-11-27 14:59:35 +00:00
Claudio Ortolina dede5dc1df Format js files 2024-11-27 14:52:36 +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 c1e06d9e66 Add livebook for database queries 2024-11-27 11:07:18 +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