Claudio Ortolina
c7e1be2f2f
Fix hover and active states for order selector
2024-12-29 16:55:47 +00:00
Claudio Ortolina
bb560e4356
Fix alignment of sorting options and count
2024-12-29 15:50:30 +00:00
Claudio Ortolina
6427710029
Enable sorting options in collection view
2024-12-29 15:47:37 +00:00
Claudio Ortolina
1534d28c9e
Wire buttons with view
2024-12-29 15:31:26 +00:00
Claudio Ortolina
48e2f4e2e3
Add collection sorting buttons (inactive)
2024-12-29 15:22:51 +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
1a0e505e51
Rework error messages for failed playcount/bio fetch
2024-12-27 17:57:36 +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
326b226d96
Remove unnecessary fallback to empty image version string
...
Images always have a hash now, so fallback is not needed anymore.
2024-12-23 23:30:57 +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
1102c40d16
Remove back links from detail views
...
Never used them, can be removed
2024-12-23 17:16:27 +00:00
Claudio Ortolina
8b877e7ede
Shrink input text size at smallest viewport
2024-12-23 17:08:44 +00:00
Claudio Ortolina
6bef3bed05
Add total for collection and wishlist albums in artist view
2024-12-18 11:33:48 +00:00
Claudio Ortolina
a3306c84c3
Increase album grid density in artist view
2024-12-18 11:27:07 +00:00
Claudio Ortolina
53b89dc329
Extract Artists context
2024-12-18 11:12:06 +00:00
Claudio Ortolina
6660d195e4
Decrease visible records per page
...
After months of usage, I rarely paginate the list, so it's not necessary
to load 100 at a time. 20 is enough.
By matching 20 records with a 20 pool size, we should keep the repo
queue time to a minimum.
2024-12-15 11:15:46 +03:00
Claudio Ortolina
c705517415
Restore import functionality from stats
...
Accidentally removed in 135d1c2 .
2024-12-14 17:23:59 +03:00
Claudio Ortolina
04d60b09a4
Extract search component
2024-12-13 23:22:21 +03:00
Claudio Ortolina
a4f4407241
Center-ish counters in stats page
2024-12-13 22:41:42 +03:00
Claudio Ortolina
f7045a9f14
Extend testing of artist page
2024-12-13 22:25:06 +03:00
Claudio Ortolina
ed86ef7b5a
Enable new actions menu on wishlist detail page
2024-12-12 20:23:48 +03:00
Claudio Ortolina
c3f973b1e1
Move record actions into menu
2024-12-12 20:14:02 +03:00
Claudio Ortolina
91b81de0f8
Remove duplication around MusicBrainz URL generation
2024-12-11 23:54:21 +03:00
Claudio Ortolina
21439a580f
TODO: make artist records a stream
2024-12-11 23:24:38 +03:00
Claudio Ortolina
8d7fe4d660
Extract record list component
2024-12-11 22:47:23 +03:00
Claudio Ortolina
31b6100687
Shrink buttons on mobile
2024-12-10 18:48:49 +03:00
Claudio Ortolina
b68a7ac734
Can fetch genres from OpenAI
2024-12-10 16:45:29 +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
8350ffd3a4
To get artist info, try mbid and then artist name
2024-12-04 21:07:56 +00: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
740e94fdf6
Use <.async_result> component
...
Removes need for custom conditional logic, and covers all needed states.
2024-12-03 23:34:25 +00:00
Claudio Ortolina
2321cc8cfb
Attempt at preventing layout shifts in record show pages
2024-12-03 22:54:53 +00:00
Claudio Ortolina
2c055acad6
Fix error in rendering an artist with empty bio
...
Includes a refactor for a helper to test for play count
2024-12-03 22:26:41 +00:00
Claudio Ortolina
907f480bc1
Improve formatting of bio read more link and license block
...
Prefer inline Tailwind classes for consistency with rest of the codebase
2024-12-03 19:37:37 +00:00
Claudio Ortolina
acee09aab0
Format bio sections
2024-12-03 16:25:16 +00:00
Claudio Ortolina
cf85c78852
Improve readability of artist bio
2024-12-03 10:37:37 +00:00
Claudio Ortolina
371ed511cc
Render bio with <details> element
2024-12-03 10:01:22 +00:00
Claudio Ortolina
4dc1228a2d
Show "Biography not available" notice
2024-12-03 09:55:20 +00:00
Claudio Ortolina
6519a8b3e8
Space out bio a bit more
2024-12-03 09:51:43 +00:00
Claudio Ortolina
2c520be102
Tighten typography on artist h1 page
2024-12-03 09:51:03 +00:00
Claudio Ortolina
b301a5da7d
Display number of scrobbles per artist
2024-12-03 09:47:52 +00:00
Claudio Ortolina
9d02a8e00b
Render bio with linebreaks
2024-12-03 00:33:37 +00:00
Claudio Ortolina
d1190e31f9
Navigate to artist page instead of patching
2024-12-03 00:15:24 +00:00