Commit Graph

55 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 b88b77cb78 Group status labels in scrobble activity 2024-12-23 17:49:15 +00:00
Claudio Ortolina 9e57103842 Where possible, link scrobbled artists to artist page 2024-12-10 14:13:50 +03:00
Claudio Ortolina 24319b1bff Annotate templates with TODOs for markup replacement
To open source the project down the line, it makes sense to have either
everything custom or using OSS components in order to keep licensing as
simple as possible.
2024-12-04 14:43:07 +00:00
Claudio Ortolina ccefc6e697 Update to new interpolation syntax
Includes a fix to a brittle test that failed due to changes in the
number of linebreaks.
2024-12-03 00:08:32 +00:00
Claudio Ortolina 9f6791909d Add a footer 2024-11-27 23:41:11 +00:00
Claudio Ortolina eef60a66a8 Shorten "No MusicBrainz ID" -> "No MB ID"
So that it's inline with other UI elements, and fits nicely in mobile UI
2024-11-26 08:03:34 +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 81e332d00d Fix sr text for wishlisting from scrobble activity
Includes an integration test for the scrobble activity feed.
2024-11-21 09:20:36 +00:00
Claudio Ortolina 5b3aab51ed Change routes from "/records/*" to "/collection/*" 2024-11-20 15:43:25 +00:00
Claudio Ortolina 47a20d259e Limit artwork sizes and remove duplicate IDs 2024-11-19 18:31:46 +00:00
Claudio Ortolina 730c69a3aa Use phx-click-loading class to animate refresh icon 2024-11-19 16:02:35 +00:00
Claudio Ortolina e0ac8d1923 Add button to refresh Scrobble activity 2024-11-17 21:55:43 +00:00
Claudio Ortolina 80f945555c Add status for each track in the scrobble activity 2024-11-13 11:55:58 +00:00
Claudio Ortolina 760e32a9dd Change import menu icon depending on destination
Star = wishlist, plus = collection
2024-11-09 13:21:58 +00:00
Claudio Ortolina a2924127a3 Add album title in scrobble activity 2024-11-09 10:07:53 +00:00
Claudio Ortolina 38ecfa72ea Move scrobbled at info to make import button more visible 2024-11-09 08:34:55 +00:00
Claudio Ortolina 4f03efa5e2 Use a plus icon for importing records 2024-11-09 08:29:51 +00:00
Claudio Ortolina 0fd12ce44a Can wishlist a scrobbled record 2024-11-08 19:36:05 +00:00
Claudio Ortolina 5c4c87e5c1 Make dark mode backgrounds darker 2024-11-07 19:12:26 +00:00
Claudio Ortolina 0c72fe4bbc Use time with datetime for scrobble at element 2024-11-06 12:39:41 +00:00
Claudio Ortolina 26064cd15a Fix padding and shadows in scrobble activity 2024-11-06 12:32:15 +00:00
Claudio Ortolina c64a8f7287 Darken artist name on hover in scrobble activity 2024-11-05 12:54:20 +00:00
Claudio Ortolina 56510db064 Fix artist text color in scrobble activity 2024-11-05 12:52:34 +00:00
Claudio Ortolina 30b32708ee Visual improvements to scrobble activity 2024-11-05 09:30:10 +00:00
Claudio Ortolina c9cf3360d2 Use zinc everywhere 2024-11-05 08:42:30 +00:00
Claudio Ortolina 25463842de Fix dom id for scrobbled tracks 2024-11-04 23:35:29 +00:00
Claudio Ortolina 923b3f071d Use streams for scrobbled tracks 2024-11-04 22:21:31 +00:00
Claudio Ortolina 7139e0ad8f Render recently scrobbled tracks in stats 2024-11-04 12:04:13 +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