Commit Graph

28 Commits

Author SHA1 Message Date
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
9da4493555 Change invariant to validate with good error message 2023-04-25 00:08:27 +03:00
Kalle
7a249522a4 Fix sploosh build stat pages returning 404 2023-03-29 21:45:26 +03:00
Kalle
f0f6b14f58 Upgrade deps 2023-01-22 13:40:05 +02:00
Kalle
895acabda8 Handle user not existing -> 404 2023-01-06 16:33:37 +02:00
Kalle
34ca290bdd
Redesign (#1179)
* Remove light mode

* Trim header

* New front page initial

* Get rid of build layout

* Breadcrumbs

* Desktop side nav

* Overhaul colors

* Add breadcrumbs

* New sub nav style

* Front page action buttons

* Add back add new build button

* Add articles page with icon

* Minor Object damage page layout tweaks

* Remove one unnecessary render from object damage

* Fix wrong link in article page

* Profile -> My Page in header

* Log in/out buttons in front

* Add drawings to front page

* Remove unnecessary comment
2022-12-05 16:05:51 +02:00
Kalle
e705c58ebb More type safety to SendouRouteHandle.navItemName 2022-10-22 12:40:36 +03:00
Remmy Cat Stock
3ce7c00d5b
Detect active nav item via route handle instead of path matching 2022-10-21 18:29:23 +02:00
Remmy Cat Stock
85fda204c0
Refactor breadcrumbs into a component that uses route handles 2022-10-21 00:48:58 +02:00
Remmy Cat Stock
db4f633a47
Add type for route handles 2022-10-21 00:48:10 +02:00
Kalle
6a649efc06 Saves winners to DB 2022-08-06 18:42:56 +03:00
Kalle
c86a548b4f Parse tournament results and return errors 2022-08-06 01:12:57 +03:00
Kalle
762cb5e215 Implement parsing report scores action 2022-08-05 00:35:10 +03:00
Kalle
7d7f771c19 Edit event full flow 2022-07-31 14:16:03 +03:00
Kalle
63d9a5b53b Set translated title on client side for FAQ 2022-07-17 11:52:35 +03:00
Kalle
2ca589faf6 Add user migration admin feature 2022-07-05 20:15:30 +03:00
Kalle
80b901a121 Edit badge owners button with permissions 2022-07-05 15:46:00 +03:00
Kalle
0f7518e055 Badge details page initial 2022-06-27 09:36:29 +03:00
Kalle
1c1d8dd6fe Move auth to modules 2022-06-11 11:21:06 +03:00
Kalle
759aed9518 Remove unused param useBody 2022-06-04 11:19:08 +03:00
Kalle
5f66dddb08 Restructure and add notes 2022-06-02 17:34:46 +03:00
Kalle
03c7404720 Rename stuff in permissions 2022-06-02 10:10:30 +03:00
Kalle
44e745692d Add comment to database 2022-05-26 21:49:48 +03:00
Kalle
6a23c4f2bb Add titles via meta tag 2022-05-25 21:41:37 +03:00
Kalle
800b456a52 Impersonate another user feature 2022-05-24 19:03:54 +03:00
Kalle
cabe6f53e6 Find suggestions database logic 2022-05-22 20:54:23 +03:00
Kalle
125dac42fa Move authentication logic 2022-05-19 17:34:40 +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