Commit Graph

32 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
c670237e4c Fix badge adding modal not scrollable Closes #1347 2023-04-19 01:28:56 +03:00
Kalle
de646e4fda Badges: Fix modal not showing overflowing user combobox 2023-04-15 20:08:44 +03:00
Kalle
014c71a748 Different badge text if XP badge 2023-03-26 18:20:23 +03:00
Kalle
946a287b96 Introduce getUserId and requireUserId
Idea is to avoid doing DB calls when all we need
is just the user's id.
2023-01-14 13:45:06 +02:00
Kalle
6feb269193
Full tournament feature WIP (#1196)
* Layout initial

* Add FillRosterSection component

* Move tournaments to feature folder

* Refactor Button props

* SubmitButton

* Register action

* Identifier -> Id

* Invite link via nanoid

* Team info submit

* Enter tiebreaker map list UI

* Invite members to tournament team initial

* Show banner if joined a team not captain of

* Add back teams page

* Change team roster size color when good

* Delete tournament team member
2022-12-21 23:24:59 +02:00
Remmy Cat Stock
2fa18547b0 Wrap useTranslation to detect missing translations on the route 2022-11-05 14:45:12 +01: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
Remmy Cat Stock
974b65b642
Fix edit badge dialog flickering 2022-10-16 10:17:33 +02:00
Kalle
3701f48763 Fix can't scroll badge winner report modal
Closes #937
2022-09-10 15:56:28 +03:00
Kalle
ffd184ffe6 Better user combobox options location badges modal
Closes #883
2022-09-05 15:21:56 +03:00
Kalle
6adb44dbf6 Move DB models to folders 2022-08-14 12:05:44 +03:00
Kalle
d3c982cf9a Fix ' showing as escaped in badge name Closes #837 2022-08-13 20:58:23 +03:00
Kalle
b36b073521 Initial values from server for report results form 2022-08-06 22:18:06 +03:00
Kalle
c8fe95967a Translate badges page 2022-07-17 14:05:59 +03:00
Kalle
4bc7b3025b Translate user page 2022-07-17 13:38:57 +03:00
Kalle
08df13eba0 Show supporter badges logic 2022-07-11 01:02:50 +03:00
Kalle
85075cfdcb Show summary of changes on badge owner edit 2022-07-09 20:36:09 +03:00
Kalle
83a66aa21a Close badge edit modal after successful POST 2022-07-09 15:36:28 +03:00
Kalle
8fd525b7b5 Show badge managers on badge page 2022-07-09 15:30:24 +03:00
Kalle
a8ff0a3a5a Add badges page e2e tests 2022-07-07 15:38:17 +03:00
Kalle
dde0b56d8f Clean up random things 2022-07-07 15:09:08 +03:00
Kalle
155d54d411 Edit badge owners in DB 2022-07-07 14:38:28 +03:00
Kalle
2a37365bd6 Edit managers in DB 2022-07-07 12:30:08 +03:00
Kalle
bb96f631fe Edit managers frontend 2022-07-07 11:23:16 +03:00
Kalle
027adf3bb0 Initial badges E2E tests 2022-07-06 10:36:57 +03:00
Kalle
80b901a121 Edit badge owners button with permissions 2022-07-05 15:46:00 +03:00
Kalle
94d5e8c137 Add support for badge hue rotate 2022-07-05 11:30:01 +03:00
Kalle
3378320f06 Badges overall improvements 2022-07-05 10:30:27 +03:00
Kalle
89a16d4ff3 Badges url via function 2022-07-04 21:09:10 +03:00
Kalle
0f7518e055 Badge details page initial 2022-06-27 09:36:29 +03:00
Kalle
3fd8e4338f All badges page initial 2022-06-26 10:49:08 +03:00