a0d91333ae
made claude make me a ui that looks actually nice
2026-05-26 13:08:20 +01:00
102af95084
moved global emitter to new file, streamlined registeredEvents again plus comments
2026-05-26 13:07:38 +01:00
59839d79aa
realised that caching was pointless, made getResultPresets return all presets if there is no preset specified
2026-05-26 13:06:57 +01:00
a6839c268b
changed seed data for testing
2026-05-26 13:06:26 +01:00
fa0827afe7
moved the emitter to its own file
2026-05-26 11:37:39 +01:00
c0cc7519dd
started on dynamic event view
2026-05-25 21:58:18 +01:00
cff479c68d
moved utility function to databaseManager
2026-05-25 21:58:00 +01:00
788db89ea0
made resultPresets available to serverside
2026-05-25 21:58:00 +01:00
0d0c4824de
moved eventManager to databaseManager and started prep for caching
2026-05-25 21:58:00 +01:00
7f4f37608c
moved some stuff around and made the scores look nicer
2026-05-25 16:42:30 +01:00
d6fdddb972
added result presets to schema and seeding script, added seed data for consistency
2026-05-25 14:58:46 +01:00
9e8101c583
changed some table stuff and made the brackets render on seperate rows, players ordered by placement then team name
2026-05-24 15:19:21 +01:00
21314bbb78
changed structure of registeredEvent endpoint to order players into brackets
2026-05-24 15:18:37 +01:00
32c5d2af7a
added brackets and function to get them, updated data structure of players view
2026-05-24 15:17:48 +01:00
8f844472c6
added the events table along with some highkey ass player boxes 🙏
2026-05-23 20:16:03 +01:00
51d44afb9d
new eventmanager functions for the new view i made
2026-05-23 20:15:34 +01:00
bbcb04f882
moved loading logic to eventManager
2026-05-23 20:14:58 +01:00
dff0d9441f
changed api names to make them more fitting, incase i want a player endpoint later
2026-05-23 20:14:38 +01:00
8879c943a4
made a function to generate a websocket endpoint to reduce boilerplate
2026-05-23 20:14:06 +01:00
5f4436180e
added ability to make tables
2026-05-23 19:50:08 +01:00
7a76412a3f
fixed the schema again because it was buggin frfr
2026-05-23 19:49:52 +01:00
6b3baad695
added really satisfying log messages and made divisions apply correctly
2026-05-23 19:49:33 +01:00
3624ce9c00
new db schema works perfectly first try frfr
2026-05-22 17:22:24 +01:00
b4611d262b
updating the scores works now yayyy
...
but also the database is shit so imma rewrite it lol
2026-05-22 16:27:01 +01:00
fdfbd4c7c7
trying to add score updates
2026-05-06 20:00:30 +01:00
94c139c7b8
removed db from tracked files and added readme
2026-05-06 16:21:07 +01:00
8afc181b86
main screen works again, will come back to database.
...
duplicated placement data in the attribution table and the ledger scores
table. Means that setting placement in the attribution table is
meaningless. Probably best to remove the placement in the attribution,
or have it reference the placement in the ledger, else return 0. That
would mean that the only way to change the scores is in the ledger,
which is basically what I want, but also if the db dies then there's not
really anything that I can do to recover the scores (same is true for
the attribute table, but I can seed that so it doesn't matter as much).
To get around that, I would need to add seeding the ledger to a seperate
command, which defeats the point of a ledger.
Just add a way to import and export the whole ledger to csv, dumbass.
2026-05-06 16:16:32 +01:00
16acfd2b05
added script to reset and seed database (thanks opencode)
2026-05-06 15:47:24 +01:00
3f6e8073e9
loads of nonsense
2026-05-04 17:55:29 +01:00
a7caf77284
initial with catppuccin theming
2026-05-04 13:06:18 +01:00