Extract top artists component and lazy load each tab

This commit is contained in:
Claudio Ortolina
2025-08-17 23:30:21 +03:00
parent 30eddd983a
commit df46759a8d
7 changed files with 179 additions and 119 deletions
+5 -5
View File
@@ -893,14 +893,14 @@ msgstr ""
msgid "Record deleted"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "Last 30 days"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "Last 90 days"
msgstr ""
@@ -910,8 +910,8 @@ msgstr ""
msgid "Top Albums"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "Last year"
msgstr ""
@@ -931,13 +931,13 @@ msgstr ""
msgid "Actions"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "Top Artists"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "All time"
msgstr ""
+5 -5
View File
@@ -893,14 +893,14 @@ msgstr ""
msgid "Record deleted"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "Last 30 days"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "Last 90 days"
msgstr ""
@@ -910,8 +910,8 @@ msgstr ""
msgid "Top Albums"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format, fuzzy
msgid "Last year"
msgstr ""
@@ -931,13 +931,13 @@ msgstr ""
msgid "Actions"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format, fuzzy
msgid "Top Artists"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/stats_live/top_albums.ex
#: lib/music_library_web/live/stats_live/top_artists.ex
#, elixir-autogen, elixir-format
msgid "All time"
msgstr ""