Commit Graph

33 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
1f6bda88b4 Private builds Closes #1242 2023-04-23 11:55:00 +03:00
Kalle
5e36b76ee8
TO Tools back (#1349)
* Remove friend code

* Revive TO Tools admin page

* Revive TO Tools maps page

* Initial one mode only map list

* Add modesIncluded arg

* Handle no maps picked for SZ only generation

* Tiebreaker is always from the maps of the teams

* Make modesIncluded necessary arg

* Tiebreaker is from neither team's pool if no overlap

* Handles worst case duplication

* Handles one team submitted no maps test

* Fix crash

* Seed

* Can change one mode tournament map pool

* Fix join page link

* Remove useless TODO

* Fixes related to mapListGeneratorAvailable

* Fix map list generation considering impossible map lists making it take forever

* Show unlisted select for both sides

* Add info texts

* Remove register button

* Add todos

* Finished version for ITZ

* Times

* Remove TODOs

* 23->24
2023-04-22 11:44:20 +03:00
Kalle
a1d9add1ac New builds: Fix delete button off screen Closes #1293 2023-03-12 11:02:04 +02:00
Kalle
cfa0d4dd0d
Build stats / popular builds (#1307)
* Add abilityPoints migration

* Initial stats

* Build stats UI

* Add TODO

* Update css file name

* Popular builds page
2023-03-11 14:05:08 +02:00
Kalle
057c4cf18d Support page 2023-01-23 00:39:21 +02:00
Kalle
d652e76154 Various improvements 2023-01-13 21:18:07 +02:00
Kalle
26e43b2ead Restore light mode 2022-12-08 21:29:51 +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
Remmy Cat Stock
19fbd85f8f
Add auto theme option for detecting the theme from system/browser preferences (#1083)
* Add "auto" option to theme switcher

* Add labels to language and user menu buttons

* Update translation-progress.md
2022-11-03 01:44:56 +01:00
Remmy Cat Stock
edd3a1d91b
Improve MapPoolSelector UI 2022-10-27 13:31:36 +02:00
Kalle
6770b8e214 Map pool from server 2022-10-09 19:06:22 +03:00
Kalle
b1042f8e37 Generates map lists 2022-10-09 00:58:19 +03:00
Kalle
2c330620fb Add button to analyzer to build card 2022-09-27 21:53:12 +03:00
Kalle
1a34a39359 Language switcher toggle 2022-09-05 21:10:57 +03:00
Kalle
db0878c3ab Add color mode toggle
Closes #830
2022-09-04 15:23:59 +03:00
Kalle
b3994ca30d Calendar section on front page done 2022-08-23 18:10:11 +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
03da81a84c
New navigation (#821)
* Menu skeleton

* Menu with nav icons

* Menu opens and closes

* More menu icons + links work

* Menu closes on navigation

* Blurred menu

* Remove other nav

* Rounded nav

* Fix menu alignment for Safari

* Close on click outside

* Disable body scroll when menu open

* SubNav for tournament

* Use grid

* Make images same size again

* Remove comment

* Different style mobile nav

* Readd InfoBanner elements

* Move menu css to layout.css

* Move admin command input top left

* Page title from loader

* Fix error when getting pageTitle

* Fix CI
2022-04-30 11:10:09 +03:00
Kalle
b84917133b Edit match if winner unchanged 2022-04-21 17:34:39 +03:00
Kalle
00ae9d575c Unregister teams from tournament 2022-04-01 18:34:20 +03:00
Kalle
c693fe349e Chat for looking/match pages Closes #753 2022-03-20 14:12:20 +02:00
Kalle
ed74206b6b New MMR relation 2022-03-16 20:57:54 +02:00
Kalle
43d0e8fb78 Detailed matches 2022-03-16 17:13:57 +02:00
Kalle
84acf4c3eb User can log out Closes #743 2022-03-07 21:47:27 +02:00
Kalle
4f8f45fc9e Show relative team MMR for ranked teams 2022-02-28 20:27:42 +02:00
Kalle
fb4b93913e Player looking count on play page Closes #756 2022-02-24 22:11:50 +02:00
Kalle (Sendou)
a4d45e2577 Remove rest useFetchers 2021-12-25 23:01:29 +02:00
Kalle (Sendou)
ef60e3e569 Add icons to buttons 2021-12-22 22:17:09 +02:00
Kalle (Sendou)
4138de512b Add logo to admin only tabs 2021-12-22 22:05:27 +02:00
Kalle (Sendou)
b912b3be0e Check in functionality 2021-12-06 17:27:26 +02:00
Kalle (Sendou)
fa4dab7e94 Add Alert 2021-11-29 13:46:28 +02:00
Kalle (Sendou)
19ac935036 Port Layout to Remix 2021-11-24 22:47:02 +02:00