Commit Graph

139 Commits

Author SHA1 Message Date
Claudio Ortolina 1298d711a3 Remove unnecessary selected_release_label/1 2025-05-25 08:56:24 +01:00
Claudio Ortolina b44693b022 Move Artist and ArtistInfo under Artists context 2025-05-23 20:11:57 +01:00
Claudio Ortolina 80ca186ba8 Render artist bio in a left-side sheet 2025-05-21 21:24:15 +01:00
Claudio Ortolina cc3cf02490 Show artist MusicBrainz ID (with link and copy button) 2025-05-15 16:59:12 +01:00
Claudio Ortolina f21a289008 Load release when opening collection show page
Includes small fixes to make both logic and tests more robust
2025-05-11 11:04:28 +01:00
Claudio Ortolina 38f49e9a90 Skip failing test
To fix, need to move the test to a separate component test
2025-05-09 21:04:28 +01:00
Claudio Ortolina 327fd231cf Test that side panel renders tracks 2025-05-08 09:45:13 +01:00
Claudio Ortolina f4fe638a95 Display tracks for records with a selected release 2025-05-04 21:10:40 +01:00
Claudio Ortolina 2e5c90593e Make test completely deterministic 2025-05-04 16:47:17 +01:00
Claudio Ortolina bc213caa45 Store selected release id when scanning a record 2025-05-01 19:36:47 +01:00
Claudio Ortolina 3e7341d4ca Support choosing a selected release 2025-05-01 17:42:40 +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 f1dd45e438 Show country flag for artist 2025-04-29 09:58:06 +01:00
Claudio Ortolina 995773f673 Default covers to 2000px 2025-04-14 10:58:21 +01:00
Claudio Ortolina 8b846298a7 Make collection ordered by purchase by default 2025-04-04 13:58:25 +01:00
Claudio Ortolina 02dafb1a9f Extend assertions for scrobble activity test
Tests that information actually changes when toggling from albums to
tracks.
2025-03-22 08:31:30 +00:00
Claudio Ortolina 22de7ed85f Default displaying albums in scrobble activity 2025-03-22 08:24:22 +00:00
Claudio Ortolina c3420189f7 Update dependencies
plug 1.16.1 => 1.17.0

Includes fix for `use Plug.Test` deprecation.
2025-03-14 19:20:02 +00:00
Claudio Ortolina 3d0eec3bff Add /api/collection endpoint 2025-03-10 11:17:51 +00:00
Claudio Ortolina 91a1141441 Rename Import -> Add, and avoid surfacing MusicBrainz where unneeded 2025-03-07 15:10:22 +00:00
Claudio Ortolina fee2799d50 Show barcodes that are not found inside the results UI
Includes a refactor to extract/cleanup barcode scan logic from the
component to a separate context with a better API.
2025-03-07 11:22:23 +00:00
Claudio Ortolina 93f6b260b2 Extract test fixture for release_group_releases 2025-03-01 07:40:00 +00:00
Claudio Ortolina a218942110 Remove mox in favour of built-in Req stubs 2025-02-28 16:41:16 +00:00
Claudio Ortolina 3d11cd585d Use built-in Req stub for LastFm tests 2025-02-27 13:43:49 +00:00
Claudio Ortolina 25567eeb26 Extract trigger_hook/3-4 test helper 2025-02-25 14:03:08 +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 7df136c890 Sort aliases 2025-02-20 15:27:01 +00:00
Claudio Ortolina 163bbe8902 Add test for importing a record via barcode scan 2025-02-18 20:40:04 +00:00
Claudio Ortolina 94a2784020 Move function in MusicBrainz main module 2025-02-17 22:07:49 +00:00
Claudio Ortolina e218b06350 Rename APIBehaviourMock -> APIMock 2025-02-17 21:41:50 +00:00
Claudio Ortolina 513ce6363f Rename RecordsFixtures -> Fixtures.Records 2025-02-17 16:08:19 +00:00
Claudio Ortolina ea7b5b646a Namespace MusicBrainz fixtures 2025-02-17 16:03:23 +00:00
Claudio Ortolina d27f3ccf72 Namespace Last.Fm fixtures 2025-02-17 15:52:54 +00:00
Claudio Ortolina 522f80194d Remove visible camera status text 2025-02-15 18:08:30 +00:00
Claudio Ortolina d077f08afa Start making it more robust
- Use structured data for search/render
- Start testing component
- Start testing domain logic
2025-02-15 18:08:30 +00:00
Claudio Ortolina 6ad28f1271 When importing a record, stream all its releases 2025-02-05 15:31:08 +00:00
Claudio Ortolina f29dd1f0ab Fetch 100 releases when importing a record
The release group contains only 25 releases, which breaks tracking
scrobble status. Albums like "Toto IV" or "Hounds of Love" end up
looking like they're not part of the collections because the individual
releases are not stored.

Still error prone, because this change doesn't paginate to more than 100
records, but that will be addressed in a future commit.
2025-02-05 10:12:27 +00:00
Claudio Ortolina acd52978ae Revise naming and notification around purchasing records 2025-02-04 12:11:16 +00:00
Claudio Ortolina f21729ac00 Cache covers for 1 year 2025-01-31 07:43:06 +00:00
Claudio Ortolina 9e1f00c9a8 Refactor type/format labels to enable translations 2025-01-29 11:04:19 +00:00
Claudio Ortolina 7ce2b6a7b2 Add wishlist#show test 2025-01-27 23:33:11 +00:00
Claudio Ortolina f5e29f9e59 Improve collection#show test 2025-01-27 23:31:34 +00:00
Claudio Ortolina 97eb01f6a6 Show record ID on wishlist and collection detail pages 2025-01-27 23:29:01 +00:00
Claudio Ortolina 542702e351 Improve header titles in editing overlay 2025-01-24 14:50:21 +00:00
Claudio Ortolina 3c8b39237c Fix return type of artist_get_info fixture 2025-01-24 10:35:39 +00:00
Claudio Ortolina 53d82e661a Extract LiveTestHelpers.escape/1 2025-01-19 16:14:59 +00:00
Claudio Ortolina 8e956577b4 Use css attr selector to test for cover images 2025-01-07 15:57:14 +00:00
Claudio Ortolina ed6ef2c7ef Rename record_fixture* to record* 2025-01-06 14:20:36 +00:00
Claudio Ortolina 9428828064 Consolidate datetime as date formatting 2025-01-05 15:48:56 +00:00
Claudio Ortolina 75154df3cf Import only necessary functions from LiveViewTest
So that we don't clash with the imports of PhoenixTest
2025-01-05 15:40:21 +00:00