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
25567eeb26
Extract trigger_hook/3-4 test helper
2025-02-25 14:03:08 +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
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
9e1f00c9a8
Refactor type/format labels to enable translations
2025-01-29 11:04:19 +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
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
Claudio Ortolina
04f5c6e5a1
Rewrite LV tests using PhoenixTest
2025-01-05 11:29:33 +00:00
Claudio Ortolina
8bd7197d18
Show purchase date in collection view
2025-01-01 16:45:43 +00:00
Claudio Ortolina
6660d195e4
Decrease visible records per page
...
After months of usage, I rarely paginate the list, so it's not necessary
to load 100 at a time. 20 is enough.
By matching 20 records with a 20 pool size, we should keep the repo
queue time to a minimum.
2024-12-15 11:15:46 +03:00
Claudio Ortolina
3fbd6ba1bf
Use release and release group fixtures with names everywhere
2024-12-14 23:52:09 +03:00
Claudio Ortolina
e1dc2bfc7f
Make MusicBrainz user agent configurable
2024-12-04 10:44:31 +00:00
Claudio Ortolina
963b3c826f
Extract Records.Artist
2024-12-02 10:55:12 +00:00
Claudio Ortolina
228b4bc440
Use musicbrainz_id as a key for embedded artists
2024-12-02 09:23:13 +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
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