Commit Graph

92 Commits

Author SHA1 Message Date
Claudio Ortolina 46681deca9 Improve track refresh logic 2025-06-02 21:00:44 +01:00
Claudio Ortolina 9100c6c04a Extract actions_menu 2025-05-29 22:15:34 +01:00
Claudio Ortolina 676c2e4290 Enable quokka with :module_directives rule 2025-05-28 19:41:57 +01:00
Claudio Ortolina f36b829377 Rename nav_section -> current_section 2025-05-14 10:49:12 +01:00
Claudio Ortolina 0de4746069 Use .button for scroll activity filters 2025-05-14 07:51:43 +01:00
Claudio Ortolina 354c0d8dfb Use Fluxon badges 2025-05-13 09:51:51 +01:00
Claudio Ortolina e78026c3da Update index.ex
Increase padding below stats album preview
2025-04-26 18:16:26 +01:00
Claudio Ortolina 9cf19b7f75 Extract ScrobbleActivity context 2025-04-25 16:15:56 +01:00
Claudio Ortolina 0ebcd2f6b2 Show multiple entries for the same album in scrobble activity 2025-04-25 07:42:06 +01:00
Claudio Ortolina 0532f661e9 Improve stat charts
- Use tw classes for color
- Better titles
- Limit to top 20
2025-04-20 15:22:31 +01:00
Claudio Ortolina 32c11f86c9 Make timezone configurable 2025-04-10 18:34:05 +01:00
Claudio Ortolina 099c895c8f Use localized scrobbled_at label 2025-04-10 12:49:23 +01:00
Claudio Ortolina 0aa1da14ad Inline DataComponents functions and remove the component
No need to abstract out when it's used only in one place
2025-04-09 19:05:22 +01:00
Claudio Ortolina 211fc4ea78 Update wishlisting flash messages 2025-04-09 11:12:34 +01:00
Claudio Ortolina ddd81ff7dd Display 50 rows of charts 2025-04-06 19:31:12 +01:00
Claudio Ortolina 582eb8d031 Rename charts 2025-04-06 19:30:58 +01:00
Claudio Ortolina 6777d716fa Link to artist page in count by artist chart 2025-04-06 17:49:22 +01:00
Claudio Ortolina 4fdd2e7ea6 Use label_fn and value_fn 2025-04-06 17:45:44 +01:00
Claudio Ortolina 79def8d053 Click on chart labels to navigate 2025-04-06 09:53:43 +01:00
Claudio Ortolina 83fa2e99a5 Amend counts to only operate on collection records 2025-04-06 08:45:47 +01:00
Claudio Ortolina 19e6e17542 Hardcode top 30 results, fix padding 2025-04-05 12:47:31 +01:00
Claudio Ortolina 8d602aa50b Charts: count by artists and count by genre
Generated via Cursor and Claude 3.5 - initial version
2025-04-05 12:41:17 +01:00
Claudio Ortolina 7e65221185 Hide LastFm internals via a context interface 2025-03-22 16:08:29 +00:00
Claudio Ortolina 22de7ed85f Default displaying albums in scrobble activity 2025-03-22 08:24:22 +00:00
Claudio Ortolina 66f401b243 Uniform spacing between stats sections 2025-03-14 10:37:50 +00:00
Claudio Ortolina 84870f87ad Toggle between recently scrobbled albums and tracks 2025-03-14 10:30:20 +00:00
Claudio Ortolina 13152ddbc9 Stack scrobble activity badges
Useful when the same record is collected and wishlisted in a different
format.
2025-03-04 07:23:56 +00:00
Claudio Ortolina 545dd808b7 Address Tailwind deprecations and renames 2025-02-28 20:55:36 +00:00
Claudio Ortolina 4835d4bdee Move DataComponents to /components 2025-02-21 15:45:47 +00:00
Claudio Ortolina 5ef05a94f5 Move badge/1 to core components 2025-02-19 09:49:05 +00:00
Claudio Ortolina 2033c7e47e Fix tab navigation for all modals/menus 2025-02-11 09:49:10 +00:00
Claudio Ortolina 9e1f00c9a8 Refactor type/format labels to enable translations 2025-01-29 11:04:19 +00:00
Claudio Ortolina cd3b7b212a Improve aesthetics of stats dividers 2025-01-24 20:30:16 +00:00
Claudio Ortolina b7d2e39c90 Rename variables for clarity
Previous version, while working as expected, had unclear names.
2025-01-02 12:46:15 +00:00
Claudio Ortolina d8a1ac7080 Check inclusion in all releases in one go 2025-01-02 12:40:27 +00:00
Claudio Ortolina b9e3293877 Extract badge components 2025-01-02 12:35:33 +00:00
Claudio Ortolina 6a9d54f735 Link to wishlisted albums in scrobble activity 2025-01-01 16:15:02 +00:00
Claudio Ortolina 5973206da3 Link to collected albums in scrobble activity 2025-01-01 16:11:14 +00:00
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 2e8d72fe8f Rename "Basics" -> "Records" in stats page 2024-12-27 08:33:24 +00:00
Claudio Ortolina 2571d1dfd3 Use link+navigate instead of a+href
Makes application more performant as it avoids re-establishing a
connection.
2024-12-24 14:42:58 +00:00
Claudio Ortolina e7a8a2c019 No need to provide a "" default 2024-12-24 14:15:47 +00:00
Claudio Ortolina eabae0654f Add missing version parameter to stats artwork image tag 2024-12-23 23:30:14 +00:00
Claudio Ortolina b88b77cb78 Group status labels in scrobble activity 2024-12-23 17:49:15 +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 a4f4407241 Center-ish counters in stats page 2024-12-13 22:41:42 +03:00
Claudio Ortolina 4a706dc77a No need to expose these functions 2024-12-10 15:24:43 +03:00