Commit Graph

25 Commits

Author SHA1 Message Date
Claudio Ortolina 17d1a87f3c Use sum_by instead of plain reduce
Makes it for slightly simpler code.
2024-12-28 13:37:55 +00:00
Claudio Ortolina 48d8590c9b Remove duplication in stats live lifecycle 2024-12-27 21:04:07 +00:00
Claudio Ortolina b503662c2e 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.
2024-12-27 20:27:32 +00:00
Claudio Ortolina 53b89dc329 Extract Artists context 2024-12-18 11:12:06 +00:00
Claudio Ortolina c705517415 Restore import functionality from stats
Accidentally removed in 135d1c2.
2024-12-14 17:23:59 +03:00
Claudio Ortolina 4a706dc77a No need to expose these functions 2024-12-10 15:24:43 +03:00
Claudio Ortolina a6e1e4e34a Renamte LastFm.Feed.all/0 to LastFm.Feed.all_tracks/0 2024-12-10 14:57:06 +03:00
Claudio Ortolina 9e57103842 Where possible, link scrobbled artists to artist page 2024-12-10 14:13:50 +03:00
Claudio Ortolina 135d1c2fbd Remove unused handle_event clause 2024-11-27 11:13:04 +00:00
Claudio Ortolina 93b347ad8d Add badge for tracks whose albums cannot be imported
Includes a small optimization that removes "" release IDs from the list
of IDs checked against releases in the database.
2024-11-23 22:57:25 +00:00
Claudio Ortolina e0ac8d1923 Add button to refresh Scrobble activity 2024-11-17 21:55:43 +00:00
Claudio Ortolina a31bc9997d Compute scrobbled tracks status on automatic feed update 2024-11-13 20:48:04 +00:00
Claudio Ortolina 80f945555c Add status for each track in the scrobble activity 2024-11-13 11:55:58 +00:00
Claudio Ortolina bd0336c4a2 Start extracting a Collection context 2024-11-10 13:38:50 +00:00
Claudio Ortolina b247cb2536 Fix issues with failed import from stats 2024-11-10 13:16:41 +00:00
Claudio Ortolina 0fd12ce44a Can wishlist a scrobbled record 2024-11-08 19:36:05 +00:00
Claudio Ortolina 0c72fe4bbc Use time with datetime for scrobble at element 2024-11-06 12:39:41 +00:00
Claudio Ortolina 923b3f071d Use streams for scrobbled tracks 2024-11-04 22:21:31 +00:00
Claudio Ortolina 065ca4bf7c Make stats feed update automatically 2024-11-04 12:22:23 +00:00
Claudio Ortolina 7139e0ad8f Render recently scrobbled tracks in stats 2024-11-04 12:04:13 +00:00
Claudio Ortolina 4c57f47bca Move sorting to db query 2024-11-01 19:04:40 +00:00
Claudio Ortolina 893890a2e9 Don't hardcode column classes in stats
The Tailwind build step requires all needed classes to be explicitly
referenced in the source code, and not dynamically generated. This
implies that one cannot (for example) interpolate a number in a class
name.
2024-11-01 18:52:09 +00:00
Claudio Ortolina 79eb5a8d37 Revert "Extract stats data grid component"
This reverts commit 432f09cf6f.
2024-10-30 17:52:00 +00:00
Claudio Ortolina 432f09cf6f Extract stats data grid component 2024-10-30 17:18:10 +00:00
Claudio Ortolina 7d574c7fd9 Convert stats page to a live view 2024-10-29 16:32:34 +00:00