Commit Graph

58 Commits

Author SHA1 Message Date
Kalle
a8a42797e5 Exclude scripts from main typecheck
The dicts might or might not exist. The new command can be ran
when the dicts do exist.
2026-04-26 17:53:13 +03:00
Kalle
540ae58a89 Update Typescript 2026-04-24 20:12:43 +03:00
Kalle
81483de0db
Upgrade to React Router 7 (#2681) 2025-12-29 19:21:11 +02:00
Kalle
85f246ef06
New VoD form UI improvements (#2667) 2025-12-18 20:29:40 +02:00
Kalle
9693f867bc Enable erasableSyntaxOnly TS flag 2025-04-26 20:15:16 +03:00
Kalle
52cf70f9ae
Many starting brackets (#1992)
* Initial

* Fixes

* Fix types

* Unit tests

* Clarify which discord

* progression selector tweaks

* Adjust input UI

* Done
2024-12-22 12:55:35 +02:00
Kalle
fd48bced91
Migrate Prettier/Eslint/Stylelint setup to Biome (#1772)
* Initial

* CSS lint

* Test CI

* Add 1v1, 2v2, and 3v3 Tags (#1771)

* Initial

* CSS lint

* Test CI

* Rename step

---------

Co-authored-by: xi <104683822+ximk@users.noreply.github.com>
2024-06-24 13:07:17 +03:00
Kalle
93ebb6e369 Migrate to Vite 2024-02-24 21:12:54 +02:00
Kalle
2b197e9f5e Upgrade deps 2024-02-11 11:03:04 +02:00
Kalle
c43d48f930 Upgrade deps 2024-02-03 10:20:21 +02:00
Kalle
837b9e1df5 Try to fix deploy 2023-12-06 20:30:20 +02:00
Kalle
73fd2e4a6c Upgrade all deps to latest 2023-12-06 12:40:39 +02:00
Kalle
7a613bd1da tsconfig ES2020 2023-11-25 14:04:26 +02:00
Kalle
c8ccdb35b9 Move bot to https://github.com/Sendouc/lohi 2023-09-09 14:02:38 +03:00
Kalle
ef78d3a2c2
Tournament full (#1373)
* Got something going

* Style overwrites

* width != height

* More playing with lines

* Migrations

* Start bracket initial

* Unhardcode stage generation params

* Link to match page

* Matches page initial

* Support directly adding seed to map list generator

* Add docs

* Maps in matches page

* Add invariant about tie breaker map pool

* Fix PICNIC lacking tie breaker maps

* Only link in bracket when tournament has started

* Styled tournament roster inputs

* Prefer IGN in tournament match page

* ModeProgressIndicator

* Some conditional rendering

* Match action initial + better error display

* Persist bestOf in DB

* Resolve best of ahead of time

* Move brackets-manager to core

* Score reporting works

* Clear winner on score report

* ModeProgressIndicator: highlight winners

* Fix inconsistent input

* Better text when submitting match

* mapCountPlayedInSetWithCertainty that works

* UNDO_REPORT_SCORE implemented

* Permission check when starting tournament

* Remove IGN from upsert

* View match results page

* Source in DB

* Match page waiting for teams

* Move tournament bracket to feature folder

* REOPEN_MATCH initial

* Handle proper resetting of match

* Inline bracket-manager

* Syncify

* Transactions

* Handle match is locked gracefully

* Match page auto refresh

* Fix match refresh called "globally"

* Bracket autoupdate

* Move fillWithNullTillPowerOfTwo to utils with testing

* Fix map lists not visible after tournament started

* Optimize match events

* Show UI while in progress to members

* Fix start tournament alert not being responsive

* Teams can check in

* Fix map list 400

* xxx -> TODO

* Seeds page

* Remove map icons for team page

* Don't display link to seeds after tournament has started

* Admin actions initial

* Change captain admin action

* Make all hooks ts

* Admin actions functioning

* Fix validate error not displaying in CatchBoundary

* Adjust validate args order

* Remove admin loader

* Make delete team button menancing

* Only include checked in teams to bracket

* Optimize to.id route loads

* Working show map list generator toggle

* Update full tournaments flow

* Make full tournaments work with many start times

* Handle undefined in crud

* Dynamic stage banner

* Handle default strat if map list generation fails

* Fix crash on brackets if less than 2 teams

* Add commented out test for reference

* Add TODO

* Add players from team during register

* TrustRelationship

* Prefers not to host feature

* Last before merge

* Rename some vars

* More renames
2023-05-15 22:37:43 +03:00
Kalle
0e7371d125 Fix checks 2022-11-23 21:53:36 +02:00
Kalle
6061c9672a Fix nanoid warning by replacing it with own function
Closes #1160
2022-11-23 21:15:42 +02:00
Kalle
aea7406586
Map Planner (#1145)
* Initial

* Add images

* Tweaks

* Proper sized bg image and weapons

* Stage bg picker

* Outlined weapon images for planner

* First version

* Lint

* Add alt and title to weapon
2022-11-23 17:38:38 +02:00
Kalle
e97fcd4e99 Remove Cypress tests
Planned to be replaced with Playwright maybe?
Just removing in the meanwhile so they don't confuse people.
Or that people won't accidentally develop new.
2022-10-30 02:15:15 +03:00
Kalle
009c2a3e24 Article feature initial 2022-08-20 16:15:03 +03:00
Kalle
542b437fce Type safe translations 2022-07-17 12:25:28 +03:00
Kalle
2bee296561 Fix checks command problems
Don't really need same level of linting for the bot
2022-06-22 22:36:49 +03:00
Kalle
f1991cff61 Discord bot initial 2022-06-14 21:12:29 +03:00
Kalle
ef2d56327d Stricters Typescript 2022-06-10 01:02:59 +03:00
Kalle
7d73a0478c Cypress with user page test 2022-05-17 19:50:05 +03:00
Kalle
185295d54e
User page initial with SQLite3 (#822)
* Clean away prisma migrations

* Way to migrate WIP

* SQLite3 seeding script initial

* Fetch tournament data in loader

* CheckinActions new loader data model

* Virtual banner text color columns

* Logged in user

* Count teams

* ownTeam

* Map pool tab fully working

* Teams tab

* Fix timestamp default

* Register page

* Manage team page

* Camel case checkedInTimestamp

* Clean slate

* Add .nvmrc

* Add favicon

* Package lock file version 2

* Update tsconfig

* Add Tailwind

* Add StrictMode

* Add background color

* Auth without DB

* Revert "Add Tailwind"

This reverts commit 204713c602.

* Auth with DB

* Switch back to tilde absolute import

* Import layout

* Camel case for database columns

* Move auth routes to folder

* User popover links working

* Import linters

* User page initial

* User edit page with country

* Script to delete db files before migration in dev

* Remove "youtubeName" column

* Correct avatar size on desktop

* Fix SubNav not spanning the whole page

* Remove duplicate files

* Update README
2022-05-16 17:52:54 +03:00
Kalle (Sendou)
72a82e7c12 Seeding v=match initial 2021-12-28 08:40:05 +02:00
Kalle (Sendou)
3d66a02065 noUncheckedIndexedAccess: false 2021-12-16 22:30:58 +02:00
Kalle (Sendou)
30d82e92d3 Map list generating algorithm modes 2021-12-16 09:00:10 +02:00
Kalle (Sendou)
0229a5d714 Can delete players from roster 2021-12-06 13:43:19 +02:00
Kalle (Sendou)
60e9e16bcd Seed via HTTP call 2021-11-30 23:33:21 +02:00
Kalle (Sendou)
163d72d2e4 Update seed not to use faker 2021-11-30 23:00:33 +02:00
Kalle (Sendou)
eb3701edda E2E test tweaks (still not working though) 2021-11-30 01:20:24 +02:00
Kalle (Sendou)
dae0ed137b Cypress test with auth initial 2021-11-29 22:07:48 +02:00
Kalle (Sendou)
dff33033b3 Port tournaments with map pool 2021-11-26 22:01:48 +02:00
Kalle (Sendou)
4b17732f0f Remix starter 2021-11-23 18:54:52 +02:00
Kalle (Sendou)
44b4ce5bb1 Move stuff to old folder 2021-11-23 18:24:02 +02:00
Kalle (Sendou)
3a89be47d5 Add navigation tests 2021-11-22 19:28:52 +02:00
Kalle (Sendou)
8edbd6b515 Add server 2021-11-14 00:04:55 +02:00
Kalle (Sendou)
88b690b6ad Switch to Solid.js 2021-11-13 23:29:31 +02:00
Kalle (Sendou)
e123544358 Clean slate 2021-10-23 16:06:15 +03:00
Kalle (Sendou)
05550927df Upgrade deps 2021-08-25 21:10:29 +03:00
Kalle (Sendou)
2584213b3d TS check for unused vars 2021-08-06 17:39:04 +03:00
Kalle (Sendou)
0e167160f4 Use ES6 as compile target 2021-08-03 18:31:21 +03:00
Kalle (Sendou)
3a589c053f crash fixes 2021-01-30 13:36:39 +02:00
Kalle (Sendou)
6ec6bf9531 principal id script 2021-01-20 18:27:43 +02:00
Kalle (Sendou)
3fdb9b8258 npm run extract 2020-11-27 23:17:01 +02:00
Kalle (Sendou)
03aca1a414 add to tsconfig exclude 2020-11-18 15:50:56 +02:00
Kalle (Sendou)
e924cb3917 fix type errors 2020-11-18 13:57:41 +02:00
Kalle (Sendou)
acd0e11110 /builds frontend works without filters 2020-11-12 20:33:51 +02:00