Commit Graph

1158 Commits

Author SHA1 Message Date
Claudio Ortolina 55538903d4 Consolidate record components into one module 2025-02-20 09:04:47 +00:00
Claudio Ortolina 0873b12eed Fix buttons/links for scanner modal in dark mode 2025-02-19 18:58:20 +00:00
Claudio Ortolina 4ca6421767 Can barcode scan a wishlisted record and import it 2025-02-19 15:47:09 +00:00
Claudio Ortolina 818e8918ff Remove outline from camera button 2025-02-19 11:17:54 +00:00
Claudio Ortolina d09622b433 Add some debug logs when scanning barcodes 2025-02-19 11:16:32 +00:00
Claudio Ortolina ce75b42d06 Show record status when scanning
For now it only imports new records - it should also purchase wishlisted
ones.
2025-02-19 10:21:44 +00:00
Claudio Ortolina 5ef05a94f5 Move badge/1 to core components 2025-02-19 09:49:05 +00:00
Claudio Ortolina adabb6ad28 Fix refresh fixtures Mix task 2025-02-18 20:38:11 +00:00
Claudio Ortolina 17a1e87be5 Fix 'variable name before the pattern' consistency issue 2025-02-18 12:41:10 +00:00
Claudio Ortolina 50b025efca Refactor with to avoid internal assignments 2025-02-18 12:38:29 +00:00
Claudio Ortolina 025a5105ed Use map_join instead of map+join 2025-02-18 10:14:31 +00:00
Claudio Ortolina 94a2784020 Move function in MusicBrainz main module 2025-02-17 22:07:49 +00:00
Claudio Ortolina dd9be660a9 Convert seeds to obsidian.import task 2025-02-17 20:55:44 +00:00
Claudio Ortolina 37f72261c3 Extract MusicBrainz main module 2025-02-17 17:30:13 +00:00
Claudio Ortolina 5a391eb549 Use a button group for import/scan 2025-02-17 09:11:45 +00:00
Claudio Ortolina 6d0eeccbb7 Add TODOs for moving logic to MusicBrainz context 2025-02-17 08:47:59 +00:00
Claudio Ortolina dfcfd1a066 Move import releases button at the bottom
Disabled when no records are present.
2025-02-16 14:07:02 +00:00
Claudio Ortolina 23fab67e53 Add TODO around scanning an already collected record 2025-02-16 13:45:23 +00:00
Claudio Ortolina 9ff8106be4 Limit height of video preview 2025-02-16 13:43:48 +00:00
Claudio Ortolina dc4fd4160a Use a list for scanned releases
Doesn't remove duplicates, but guarantees a predictable order where the
most recently scanned element is at the top
2025-02-16 13:42:19 +00:00
Claudio Ortolina ee3bca475a Make scan video play inline 2025-02-15 19:12:48 +00:00
Claudio Ortolina 8d6e2b98f8 Simple import without error handling 2025-02-15 18:08:30 +00:00
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 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 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 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 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 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 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