Reduce size of stats live socket

No need to store all artists IDs in the socket, instead it's enough to
intersect them with the scrobbled artist IDs.
This commit is contained in:
Claudio Ortolina
2024-12-27 20:27:32 +00:00
parent db57195a0a
commit b503662c2e
2 changed files with 25 additions and 13 deletions
+4 -4
View File
@@ -61,8 +61,8 @@ msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:124
#: lib/music_library_web/live/collection_live/index.ex:131
#: lib/music_library_web/live/stats_live/index.ex:75
#: lib/music_library_web/live/stats_live/index.ex:81
#: lib/music_library_web/live/stats_live/index.ex:77
#: lib/music_library_web/live/stats_live/index.ex:83
#: lib/music_library_web/live/wishlist_live/index.ex:121
#: lib/music_library_web/live/wishlist_live/index.ex:128
#, elixir-autogen, elixir-format
@@ -186,7 +186,7 @@ msgid "Purchased on"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:116
#: lib/music_library_web/live/stats_live/index.ex:67
#: lib/music_library_web/live/stats_live/index.ex:69
#: lib/music_library_web/live/wishlist_live/index.ex:113
#, elixir-autogen, elixir-format
msgid "Record imported successfully"
@@ -248,7 +248,7 @@ msgid "Something went wrong!"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex:8
#: lib/music_library_web/live/stats_live/index.ex:41
#: lib/music_library_web/live/stats_live/index.ex:43
#, elixir-autogen, elixir-format
msgid "Stats"
msgstr ""