Commit Graph

813 Commits

Author SHA1 Message Date
Claudio Ortolina bb6e805e7b Show release metadata after scanning 2025-02-15 18:08:30 +00:00
Claudio Ortolina 337b1bb75d Add non-working import releases button 2025-02-15 18:08:30 +00:00
Claudio Ortolina 522f80194d Remove visible camera status text 2025-02-15 18:08:30 +00:00
Claudio Ortolina 3d2b5206bb Update translations 2025-02-15 18:08:30 +00:00
Claudio Ortolina d13f3ce831 Improve camera request flow and layout 2025-02-15 18:08:30 +00:00
Claudio Ortolina 7be29f1bf0 Start formatting scan results 2025-02-15 18:08:30 +00:00
Claudio Ortolina 929719e513 Open camera via a button 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 949fdb7138 Formalize search_release_by_barcode/2 callback 2025-02-15 18:08:30 +00:00
Claudio Ortolina 86a2d66aaf Translation updates 2025-02-15 18:08:30 +00:00
Claudio Ortolina 3c7c9cc596 Scan barcodes and display releases 2025-02-15 18:08:30 +00:00
Claudio Ortolina a626c68d65 Open scan modal, handle permissions, open/close video preview 2025-02-15 18:08:30 +00:00
Claudio Ortolina db5fec1a3b Define BarcodeScanner Hook 2025-02-15 18:08:30 +00:00
Claudio Ortolina 39de4149fa Update Dockerfile to build image with npm dependencies 2025-02-15 18:08:30 +00:00
Claudio Ortolina 50a98284c9 Load barcode detection library 2025-02-15 18:08:30 +00:00
Claudio Ortolina ffc55b2147 Update dependencies
error_tracker 0.5.1 => 0.5.2
2025-02-13 18:10:57 +00:00
Claudio Ortolina ecfac6b4df Add livebook section with number of releases per record 2025-02-12 23:00:28 +00:00
Claudio Ortolina c85e66f129 Bubble up errors when streaming releases 2025-02-12 22:43:40 +00:00
Claudio Ortolina 4e77894783 Slow down batch refresh of metadata 2025-02-12 22:31:09 +00:00
Claudio Ortolina 219d39de00 Use correct method to batch refresh musicbrainz data 2025-02-12 21:55:28 +00:00
Claudio Ortolina bb72790be6 Include media in releases 2025-02-12 21:53:47 +00:00
Claudio Ortolina c46227ecf7 Update MusicBrainz fixtures 2025-02-12 21:52:58 +00:00
Claudio Ortolina 516b3d0ba7 Update erlang version
27.2.1 => 27.2.2
2025-02-11 20:52:20 +00:00
Claudio Ortolina 1ae77b512e Make released?/2 handle nil releases 2025-02-11 20:14:30 +00:00
Claudio Ortolina f8147a6f52 Do not require a record release date 2025-02-11 20:05:54 +00:00
Claudio Ortolina eb1a75d2d0 Add aria-label to main navigation 2025-02-11 10:05:05 +00:00
Claudio Ortolina 2033c7e47e Fix tab navigation for all modals/menus 2025-02-11 09:49:10 +00:00
Claudio Ortolina ba288b8802 Rename parse_subtype to parse_type 2025-02-10 19:02:58 +00:00
Claudio Ortolina 27bd32b2a9 Move subtype parsing to ReleaseGroup 2025-02-10 19:01:56 +00:00
Claudio Ortolina c19184337b Move url/1 to ReleaseGroup 2025-02-10 19:01:00 +00:00
Claudio Ortolina 86db563bd4 Rename MusicbrainzData -> ReleaseGroup 2025-02-10 16:41:21 +00:00
Claudio Ortolina 027b3af547 Rename ReleaseGroup to ReleaseGroupSearchResult 2025-02-10 16:38:04 +00:00
Claudio Ortolina ada1e272f7 Update dependencies
esbuild 0.8.2 => 0.9.0 (minor)
2025-02-10 16:01:19 +00:00
Claudio Ortolina 7dff3564f2 Remove input shadows
As they bleed in unexpected places
2025-02-10 10:44:13 +00:00
Claudio Ortolina af77095e6c Add subpixel antialiasing to application
Subjective - makes it slightly more pleasing
2025-02-10 10:36:00 +00:00
Claudio Ortolina b02a44f495 Add livebook chart with descending genre count 2025-02-10 10:24:46 +00:00
Claudio Ortolina f99a55fca7 Simplify included release groups logic
This makes the code slightly less efficient as it constructs
intermediate structures BEFORE filtering, but it makes it for simpler
code to maintain down the line.

Performance is not visible affected as the largest lists involved count
around 200 items.
2025-02-10 09:59:25 +00:00
Claudio Ortolina 224bcdba38 Extract MusicbrainzData module 2025-02-10 09:49:34 +00:00
Claudio Ortolina 791807c137 Fix issue with formatting of "" release dates 2025-02-10 09:33:26 +00:00
Claudio Ortolina d39129e7ff Reorder module functions roughly by topic/usage 2025-02-09 17:02:54 +00:00
Claudio Ortolina b42a774936 Remove unused functionality and make functions private 2025-02-09 17:01:00 +00:00
Claudio Ortolina be1de52984 Refactor Records.Record for simplification
- Remove unnecessary intermediate variables
- Remove unnecessary pipes
2025-02-09 08:33:00 +00:00
Claudio Ortolina 828563e933 Shorten timeouts for Last.fm api
Especially when the application wakes up from suspension, requests tend
to timeout.
2025-02-09 08:07:27 +00:00
Claudio Ortolina 4593b60da5 Always use @base_url 2025-02-08 13:20:49 +00:00
Claudio Ortolina 015863d25e Add missing test for Record.add_musicbrainz_data/2 2025-02-07 20:17:21 +00:00
Claudio Ortolina 9b25556245 Refactor Record.child_release_groups/1 to use stored ids 2025-02-06 21:03:38 +00:00
Claudio Ortolina b80a98a881 Included published releases count in record details pages 2025-02-06 11:37:55 +00:00
Claudio Ortolina a6c8b39947 Reduce pool size
Since covers are cached for 1 year, the pressure on the db is much lower
(despite etag checking), so we can tune the application to use even more
capacity without visible slowdown.
2025-02-06 08:16:51 +00:00
Claudio Ortolina dd6e4e19a9 Update dependencies
mint 1.6.2 => 1.7.1
2025-02-06 08:07:54 +00:00
Claudio Ortolina 6ad28f1271 When importing a record, stream all its releases 2025-02-05 15:31:08 +00:00