Commit graph

24 commits

Author SHA1 Message Date
12722f282d Revert forced redirect after id in url and begin disambiguation page
At first, this was a nightmare. Now, I think I have a good idea about how to do disambiguation pages
2025-07-02 23:05:57 -04:00
b0727e77e1 Addd peak query and tie detection for rank
Also begins friends query for songs
2025-07-02 19:37:28 -04:00
f9718f3a37 Make loadQuery comptime
Will eventually do this for all views
2025-07-02 16:11:37 -04:00
6f6aaecb8f Create rating interface on songs view
If no ratings are present, provide a textbox to make a rating. If a rating is present, show the rating. Eventually, there will be a button that allows an additional rating to be made, and the ability to delete ratings
2025-06-23 16:50:13 -04:00
f292368947 Song name in url string 2025-06-23 10:15:17 -04:00
df8f01525e Merge remote-tracking branch 'refs/remotes/origin/rawsql' into rawsql 2025-06-11 09:28:14 -04:00
2f420bc5ce Testing with groups and htmx 2025-06-11 09:26:12 -04:00
3ef17fcd46 Split entity_items and appears query into more granular queries
We can be a bit more specific about the information we get this way
2025-06-06 14:28:15 -04:00
62590fee37 Made queries.zig look significantly nicer
There's a little bit of weird stuff happening, but holy cannoli, that's so much easier to maintain and parse
2025-05-29 19:39:51 -04:00
d638fa66c5 Create GET function for a song view 2025-05-29 15:33:10 -04:00
7f3778e82f Move SQL logic to separate function
Idk if this makes any sense, and I don't really like the code atm, but the view .zig files lookk nicer?
2025-05-24 13:59:28 -04:00
c42b8d24dd Fix typo 2025-05-15 15:37:21 -04:00
365b9dbf11 Switch to using newtable partial for all tables
Will be renamed eventually, don't care right now. Also cleans up a lot of code I wasn't particularly happy about
2025-05-13 14:24:14 -04:00
94cc6e3bd5 Remove unused views and functions 2025-05-05 11:06:52 -04:00
65136a44d6 Add more information to artists view, songs view, and format dates correctly in scrobbles view 2025-04-27 23:58:50 -04:00
27358fe217 Implement db searches using raw sql 2025-04-17 00:24:48 -04:00
29f8837f19 Use convenience functions for views 2025-03-28 16:11:41 -04:00
cf84b4afdd Remove unnecessary db search for scrobbles
I forgot I made scrobbles owned by their respective songs/albums/artists, so I can just query that instead
2025-03-28 13:09:51 -04:00
3bc81e8c6f Refactor 2025-03-28 10:29:36 -04:00
0522a023b5 Use find() instead of where() for song/albums views and add artists to song view
I think this makes things faster, but I may just be comparing to the scrobbles view which is terribly slow
2025-03-28 10:11:07 -04:00
05e9c05742 Only select necessary columns in artists/albums/songs views
Some guy on GitHub said this is better lol
2025-03-28 09:47:07 -04:00
11ddf40131 Add DataTables to some views
This is awesome. Unfrotunately, it's all rather slow, but I'm mostly blaming db stuff for that. Still, very awesome to see where this is going. Need to add DataTables to more views, and see what I can do about sate sorting in the Scrobbles view
2025-03-26 00:42:07 -04:00
65f18e44f4 Add songs index function 2025-03-04 12:13:57 -05:00
a55f4e7bc0 Rename and begin implementing views
I get an error whenever CSS is loaded, not sure what to do about that yet. Doesn't seem to impact anything, but I should probably be using a different way of getting the id from an entity. Also need to think about deleting the functions I don't need.
2025-03-04 11:17:47 -05:00
Renamed from src/app/views/song.zig (Browse further)