Async barcode scan batch import for 2+ new records

When barcode scan results contain at least 2 new records,
enqueue individual Oban jobs instead of importing synchronously.
Wishlisted/collected/not_found results still process synchronously.
This commit is contained in:
Claudio Ortolina
2026-04-04 10:20:50 +01:00
parent 74f514afc1
commit b9be62a500
7 changed files with 389 additions and 13 deletions
+7
View File
@@ -2395,3 +2395,10 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Record has a selected release"
msgstr ""
#: lib/music_library_web/components/barcode_scanner.ex
#, elixir-autogen, elixir-format
msgid "Importing %{count} record in the background..."
msgid_plural "Importing %{count} records in the background..."
msgstr[0] ""
msgstr[1] ""