Commit Graph

1559 Commits

Author SHA1 Message Date
Kalle (Sendou)
b9a79103a2 Close modal on click outside 2022-01-19 18:27:01 +02:00
Kalle (Sendou)
be10d4b460 Score title in match modal 2022-01-19 09:26:15 +02:00
Kalle (Sendou)
92337f37e2 Display "Winner" as text in presentational mode 2022-01-19 09:10:09 +02:00
Kalle (Sendou)
65a9ee90e3 FancyStageBanners in Match modal 2022-01-19 08:58:07 +02:00
Kalle (Sendou)
487f0e27fb Match modal renders correct info 2022-01-19 08:37:27 +02:00
Kalle (Sendou)
7c7140f046 Match modal info, inputs rendering w/ player info 2022-01-18 09:45:06 +02:00
Kalle (Sendou)
e4ffdd1bae Define TeamRosterInputTeam interface 2022-01-17 09:44:27 +02:00
Kalle (Sendou)
72731fe887 Extract TeamRosterInputs component 2022-01-17 09:35:57 +02:00
Kalle (Sendou)
cfedcf3c72 Match modal using match number with round name 2022-01-17 09:15:38 +02:00
Kalle (Sendou)
93c4ed9edd Seeds use new backend logic style 2022-01-16 22:59:41 +02:00
Kalle (Sendou)
d530e9383c Switch common hooks from /utils to /hooks 2022-01-16 22:03:53 +02:00
Kalle (Sendou)
c8377f5a98 Change zod schemas location 2022-01-16 21:59:33 +02:00
Kalle (Sendou)
5ed5af2465 Use parseRequestFormData in seeds 2022-01-16 21:43:44 +02:00
Kalle (Sendou)
2285e4bb1e Center modal 2022-01-16 16:47:33 +02:00
Kalle (Sendou)
5916579a61 Match modal with team names 2022-01-15 15:58:25 +02:00
Kalle (Sendou)
139ac3b6b6 Rename in bracket: $id -> $bid 2022-01-15 15:54:19 +02:00
Kalle (Sendou)
08cf196828 Route structure for Match Modal 2022-01-14 21:26:00 +02:00
Kalle (Sendou)
11f2ef1a2c Match link styles 2022-01-14 09:40:17 +02:00
Kalle (Sendou)
11d440e1ea Update deps 2022-01-14 08:54:05 +02:00
Kalle (Sendou)
be147a9c1f When match ends -> events 2022-01-14 08:49:02 +02:00
Kalle (Sendou)
4ba9594620 Fix crash when dropped out of the tournament 2022-01-13 23:50:38 +02:00
Kalle (Sendou)
2bc3cb1ca1 BracketData tuple -> object 2022-01-13 08:59:09 +02:00
Kalle (Sendou)
90f9e54775 Score live update UNDO SCORE REPORT 2022-01-13 08:30:19 +02:00
Kalle (Sendou)
18aaef9854 Fix lint 2022-01-12 23:04:02 +02:00
Kalle (Sendou)
3bff18fae8 Bracket with events working 2022-01-12 18:13:37 +02:00
Kalle (Sendou)
f376047463 Refactor BracketModified to common format 2022-01-12 18:13:09 +02:00
Kalle (Sendou)
c686291442 Getting info about scores to frontend 2022-01-12 09:33:23 +02:00
Kalle (Sendou)
27627fdcfc Events PoC 2022-01-12 09:11:13 +02:00
Kalle (Sendou)
403b61486f Fix lint 2022-01-11 23:14:19 +02:00
Kalle (Sendou)
ce11be6c46 Don't show Register button after tournament start 2022-01-11 08:52:29 +02:00
Kalle (Sendou)
15b2c4b6e3 Delete unused file 2022-01-11 08:52:16 +02:00
Kalle (Sendou)
af49b5be39 Fix loser source matches logic + add tests 2022-01-11 08:38:45 +02:00
Kalle (Sendou)
e8c612fe8b Loser source in R2 if R1 skipped due to BYE 2022-01-10 09:20:50 +02:00
Kalle (Sendou)
346026b119 Extract bracket service 2022-01-10 09:03:55 +02:00
Kalle (Sendou)
ddb28e95d6 Line generation working for losers byes 2022-01-10 08:53:02 +02:00
Kalle (Sendou)
1efa499461 Advance losers on report if BYE 2022-01-09 23:33:54 +02:00
Kalle (Sendou)
340c640c39 Add TODO 2022-01-09 20:26:46 +02:00
Kalle (Sendou)
ef75059801 Fix lint errors 2022-01-09 13:49:54 +02:00
Kalle (Sendou)
cb0409ccf1 Bring back undo score button 2022-01-09 12:06:20 +02:00
Kalle (Sendou)
e6cfc4dc09 Pill team roster checkboxes 2022-01-09 11:30:40 +02:00
Kalle (Sendou)
041f7a4945 Extract TeamRosterCheckboxes component 2022-01-08 21:20:41 +02:00
Kalle (Sendou)
ab266bbcc3 Fix already done match showing as current match 2022-01-08 17:56:48 +02:00
Kalle (Sendou)
7586c352dd New DuringMatchActions style 2022-01-08 15:29:27 +02:00
Kalle (Sendou)
ba3d472589 Remove the undefined in CreateParticipantsData 2022-01-07 15:48:48 +02:00
Kalle (Sendou)
b8f2aa192d tournament-start variation 2022-01-07 14:54:21 +02:00
Kalle (Sendou)
b60bde2444 Extract function in repotScore 2022-01-07 14:54:09 +02:00
Kalle (Sendou)
eb19399984 Temp placeholder in UserItem when no avatar 2022-01-07 13:46:45 +02:00
Kalle (Sendou)
083f4a2896 Log in, seed via magic search input 2022-01-07 13:18:38 +02:00
Kalle (Sendou)
16f5691424 Loser team source info shown 2022-01-06 23:01:30 +02:00
Kalle (Sendou)
d74af2bf28 Add TODO 2022-01-06 17:26:52 +02:00
Kalle (Sendou)
b7846ec5fe Seeds page visual tweaks 2022-01-06 16:14:25 +02:00
Kalle (Sendou)
4a2dfac884 Seed page with rosters 2022-01-06 15:45:46 +02:00
Kalle (Sendou)
44e72a8a18 Memoize the Layout a bit 2022-01-06 15:44:54 +02:00
Kalle (Sendou)
f0a4c7cb22 Manage teams page 2022-01-06 13:37:02 +02:00
Kalle (Sendou)
f8a80ac4dd Scroll active nav item into view on load 2022-01-06 11:58:06 +02:00
Kalle (Sendou)
53bbe13c41 Fix more ESLint complaints 2022-01-06 11:06:13 +02:00
Kalle (Sendou)
1ea4ff72fd Fix ESLint complaints 2022-01-05 23:38:59 +02:00
Kalle (Sendou)
3c99572923 Fix not able to select winner aftr reporting score 2022-01-05 20:51:58 +02:00
Kalle (Sendou)
700ed935cc Submit button avoid flicker on actionReload 2022-01-05 17:11:02 +02:00
Kalle (Sendou)
09545f97f0 Undo reported score 2022-01-05 11:24:19 +02:00
Kalle (Sendou)
bcfcc9714d Clear winner selection after reporting score 2022-01-05 09:16:05 +02:00
Kalle (Sendou)
ff5812f8e6 Ending a match advances the bracket 2022-01-05 08:56:38 +02:00
Kalle (Sendou)
90586f01f8 classnames -> clsx 2022-01-04 19:31:32 +02:00
Kalle (Sendou)
460fa344b9 Report score works without advance 2022-01-04 19:22:19 +02:00
Kalle (Sendou)
2c886a3739 Report score working kind of 2022-01-04 09:19:41 +02:00
Kalle (Sendou)
52df3c61c3 Player ids to tournament match game result schema 2022-01-04 08:29:31 +02:00
Kalle (Sendou)
c016813fbb Report score backend logic initial 2022-01-03 10:01:21 +02:00
Kalle (Sendou)
5536f8c1cb Score reporting UI pretty complete ver 2022-01-03 08:55:26 +02:00
Kalle (Sendou)
7d7785d6b7 ....aaand fix types 2022-01-01 13:31:29 +02:00
Kalle (Sendou)
5de4a97ed6 Fix unit tests 2022-01-01 13:24:09 +02:00
Kalle (Sendou)
1ea6587e82 Clean up utility classes 2022-01-01 12:25:20 +02:00
Kalle (Sendou)
e7eafad962 Rid of Tailwind 2021-12-31 17:48:20 +02:00
Kalle (Sendou)
b9cccc23df Map list stage banner initial 2021-12-31 16:36:05 +02:00
Kalle (Sendou)
28f5c42945 Split During Match Actions to two panels 2021-12-31 08:56:38 +02:00
Kalle (Sendou)
ea72bdb477 Report score UI initial 2021-12-31 08:17:08 +02:00
Kalle (Sendou)
f86b0ea533 Extract component 2021-12-29 08:50:41 +02:00
Kalle (Sendou)
d77fa8a8a3 Add Tailwind 2021-12-29 08:46:40 +02:00
Kalle (Sendou)
c379b051f7 During match actions join room UI 2021-12-28 11:31:23 +02:00
Kalle (Sendou)
1040b92eee Bracket defeated team visual 2021-12-28 09:19:10 +02:00
Kalle (Sendou)
d1df95da2d Seeding v=match complete 2021-12-28 09:02:55 +02:00
Kalle (Sendou)
7b27c74d4d Rename <ActionSection /> 2021-12-27 16:51:27 +02:00
Kalle (Sendou)
34075dec1a Fix type errors 2021-12-27 16:39:53 +02:00
Kalle (Sendou)
ff5377fc1f Bracket action panel initial 2021-12-27 16:37:30 +02:00
Kalle (Sendou)
c06de36cb2 SubmitButton for ADD_PLAYER 2021-12-27 12:57:52 +02:00
Kalle (Sendou)
0b8042f229 Show success when editing a team 2021-12-27 12:56:20 +02:00
Kalle (Sendou)
e1629cb101 parseRequestFormData throw 400 response if fail 2021-12-27 11:35:43 +02:00
Kalle (Sendou)
059797f1fd parseRequestFormData function 2021-12-27 11:26:06 +02:00
Kalle (Sendou)
1847f02aba Manage roster E2E tests initial (not working) 2021-12-26 21:02:15 +02:00
Kalle (Sendou)
3e14bb4320 Edit team info: friend code, room pass & canHost 2021-12-26 19:23:35 +02:00
Kalle (Sendou)
26c8838f66 Migration FC mandatory / roomPass 2021-12-26 10:57:52 +02:00
Kalle (Sendou)
7c54ba1048 Friend code when registering 2021-12-26 10:48:14 +02:00
Kalle (Sendou)
a5a90ec616 Fix Cypress tests 2021-12-25 23:10:03 +02:00
Kalle (Sendou)
a4d45e2577 Remove rest useFetchers 2021-12-25 23:01:29 +02:00
Kalle (Sendou)
0b6a831765 manage-roster page to local action function 2021-12-25 22:46:44 +02:00
Kalle (Sendou)
fd26d70e7e Check-in/check-out to local action function 2021-12-25 22:33:15 +02:00
Kalle (Sendou)
3cdf9dcf34 Remove formDataFromRequest helper function 2021-12-25 22:04:02 +02:00
Kalle (Sendou)
56e735dd28 Seeds to local action function 2021-12-25 21:57:46 +02:00
Kalle (Sendou)
8352a7f2ed Refactor: new way to pass CSS vars (types) 2021-12-25 00:50:23 +02:00
Kalle (Sendou)
40e7b70646 Refactor tournaments background CSS var name 2021-12-24 13:05:40 +02:00
Kalle (Sendou)
258669993c Highlight own team 2021-12-24 13:04:41 +02:00
Kalle (Sendou)
80b42eb7de Handle BYE line visual 2021-12-24 12:24:40 +02:00
Kalle (Sendou)
b586747038 Make bye matches not increment match number count 2021-12-24 11:38:47 +02:00
Kalle (Sendou)
89110c016b Advance byes basic logic 2021-12-24 11:36:51 +02:00
Kalle (Sendou)
f5c0a38ff3 Fix bracket lines for losers 2021-12-23 23:31:09 +02:00
Kalle (Sendou)
9b4e909412 Match numbers to bracket 2021-12-23 21:51:32 +02:00
Kalle (Sendou)
4b18d45335 Fix hamburger button 2021-12-23 20:30:58 +02:00
Kalle (Sendou)
3344104dc8 Fix bracket tab link 2021-12-23 18:00:09 +02:00
Kalle (Sendou)
7914377309 Tournament bracket working with data 2021-12-23 13:58:18 +02:00
Kalle (Sendou)
aed3023832 Bracket data modified to frontend 2021-12-23 10:02:15 +02:00
Kalle (Sendou)
0c659ec6af Import <Bracket /> component 2021-12-23 08:47:09 +02:00
Kalle (Sendou)
f811c4f56a Button minimal default to theme color 2021-12-22 23:08:50 +02:00
Kalle (Sendou)
5148247f0c Check-in button -> green 2021-12-22 22:36:12 +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)
126204ad86 Adjust tournament navigation when it has started 2021-12-22 21:44:43 +02:00
Kalle (Sendou)
7d14cb843b Add favicon 2021-12-22 21:21:40 +02:00
Kalle (Sendou)
d0b9708510 Create tournaments rounds seems to work edition 2021-12-22 19:54:13 +02:00
Kalle (Sendou)
88dc19f450 Create tournaments rounds almost™️ edition 2021-12-22 18:19:41 +02:00
Kalle (Sendou)
ba4ee2c00b tournamentRoundsForDB() function implementation 2021-12-22 09:39:45 +02:00
Kalle (Sendou)
a9afdb4bd3 Adjust theme color and button style 2021-12-22 09:18:19 +02:00
Kalle (Sendou)
e7fda6c415 Remove unnecessary match1 match2 info 2021-12-21 10:36:25 +02:00
Kalle (Sendou)
cc142cca0f Get destination match in algorithms 2021-12-21 10:28:50 +02:00
Kalle (Sendou)
31b0b34c80 ID's via uuid package 2021-12-21 09:14:19 +02:00
Kalle (Sendou)
2edb446a15 Create tournament rounds progress 2021-12-21 08:49:37 +02:00
Kalle (Sendou)
0e7f42a512 Log in link when trying to join team logged out 2021-12-20 11:40:15 +02:00
Kalle (Sendou)
06f9fa2811 Minor padding tweak 2021-12-20 11:21:40 +02:00
Kalle (Sendou)
d82f0d7744 Account for search queries when returning to page 2021-12-20 11:21:33 +02:00
Kalle (Sendou)
be84598a9f Fix TODO: no indicator when tabbing 2021-12-19 14:45:01 +02:00
Kalle (Sendou)
0877fe9264 Tournament nav new style 2021-12-19 14:29:57 +02:00
Kalle (Sendou)
5648218943 Add Catcher component 2021-12-19 12:18:25 +02:00
Kalle (Sendou)
33dd17eeda utils switch to using function keyword 2021-12-19 11:15:22 +02:00
Kalle (Sendou)
e4e1b11ff0 Return to same page after log in 2021-12-19 11:11:17 +02:00
Kalle (Sendou)
0a319200ae Less jank dragging UI 2021-12-18 13:34:01 +02:00
Kalle (Sendou)
acdbc34223 Move user upsert code to auth.ts
Pretty ugly to do it this way but otherwise server won't run
and don't feel like setting ts paths for ts-node
2021-12-18 12:33:09 +02:00
Kalle (Sendou)
862061243f Update rest of app to using models folder 2021-12-18 12:05:26 +02:00
Kalle (Sendou)
e62f87ee12 Move to models folder 2021-12-18 11:46:17 +02:00
Kalle (Sendou)
4f6c7715dc Move tournaments prisma calls to separate file 2021-12-18 11:20:28 +02:00
Kalle (Sendou)
c48bdea053 Disable buttons on /start if round being edited 2021-12-18 08:57:13 +02:00
Kalle (Sendou)
37da3c5e38 Add TODOs 2021-12-18 08:09:20 +02:00
Kalle (Sendou)
52fdf958f7 Number map list rounds 2021-12-17 23:12:08 +02:00
Kalle (Sendou)
df08fc0af6 Fix Edge white on white selects 2021-12-17 22:56:16 +02:00
Kalle (Sendou)
7b196384cc Edit map list stages functionality 2021-12-17 22:39:00 +02:00
Kalle (Sendou)
33155e2593 Regenerate all maps 2021-12-17 19:32:07 +02:00
Kalle (Sendou)
d27683ecc9 Handle counting SE rounds 2021-12-17 19:01:14 +02:00
Kalle (Sendou)
2332456ef2 Generate bracket reset 2021-12-17 18:57:51 +02:00
Kalle (Sendou)
02af571113 Handle a few map generation special cases 2021-12-17 17:50:28 +02:00
Kalle (Sendou)
54ca8aaab9 Map list algorithm better map picking
Don't repeat a map between rounds
2021-12-17 10:45:00 +02:00
Kalle (Sendou)
dc84895b4e Map list algorithm better mode picking
Don't repeat a mode before other modes have appeared in the round
2021-12-17 10:12:43 +02:00
Kalle (Sendou)
2cef8ad5e4 Use more realistic map pool set for test 2021-12-17 09:32:02 +02:00
Kalle (Sendou)
19e74bccc2 Fix jank when changing best of 2021-12-17 09:28:30 +02:00
Kalle (Sendou)
a6a303302c Can change best of and regen maps 2021-12-17 09:17:58 +02:00
Kalle (Sendou)
357f8b1024 Fix hydration error 2021-12-17 08:31:02 +02:00
Kalle (Sendou)
7da5e912c0 Start page UI initial 2021-12-17 08:16:02 +02:00
Kalle (Sendou)
9899755e81 Map list generating algorithm maps 2021-12-16 09:57:18 +02:00
Kalle (Sendou)
30d82e92d3 Map list generating algorithm modes 2021-12-16 09:00:10 +02:00
Kalle (Sendou)
1398dadc31 Start page UI hooks skeleton 2021-12-15 09:26:55 +02:00
Kalle (Sendou)
a868ce390e Adjust tournament/core folder structure 2021-12-14 20:49:11 +02:00
Kalle (Sendou)
d495644c36 TournamentBracket type in schema 2021-12-13 19:00:22 +02:00
Kalle (Sendou)
8e7dcb40f5 Don't make ADMIN text bold when link is active 2021-12-13 17:46:08 +02:00
Kalle (Sendou)
6b1b88494b Tournament nav links with admin only links 2021-12-13 15:47:39 +02:00
Kalle (Sendou)
c493f0082a Show round names and default best of on /start 2021-12-13 11:36:17 +02:00
Kalle (Sendou)
a4dec62b61 Count rounds algorithm 2021-12-13 10:22:31 +02:00
Kalle (Sendou)
f8437e3975 Elim bracket algorithm 2021-12-12 20:23:10 +02:00
Kalle (Sendou)
207ec000a5 Tournament InfoBanner construct CSS vars on server 2021-12-11 11:50:49 +02:00
Kalle (Sendou)
0e2ea81b48 Remove TODOs that aren't TODOs 2021-12-11 10:46:34 +02:00
Kalle (Sendou)
cdd59b139d Remove MyForm component 2021-12-11 10:38:26 +02:00
Kalle (Sendou)
de25132b52 Fix TODO (article global styles) 2021-12-10 23:45:03 +02:00
Kalle (Sendou)
f9e11b19c5 Disable sorting teams when seed POST call pending 2021-12-10 23:42:56 +02:00
Kalle (Sendou)
73171d0d9a Sortable team list CSS adjustments 2021-12-10 23:10:55 +02:00
Kalle (Sendou)
c6f4d9b016 Sort teams to show own team first on team tab 2021-12-10 09:38:43 +02:00
Kalle (Sendou)
13084b7dac Save seeds to database 2021-12-10 09:31:31 +02:00
Kalle (Sendou)
abb5dda7ab Manage roster fix type error & needless renders 2021-12-10 08:20:35 +02:00
Kalle (Sendou)
0a97fb16a1 Sort teams by seed logic 2021-12-09 10:11:53 +02:00
Kalle (Sendou)
e888fef7c6 Sortable list UI 2021-12-09 09:07:03 +02:00
Kalle (Sendou)
36c42c1980 Fix bug of negative minute remaining showing 2021-12-08 20:04:09 +02:00
Kalle (Sendou)
a9384ca099 Admin can check in and check out teams 2021-12-08 01:36:27 +02:00
Kalle (Sendou)
14bf713094 Fix Serialized type 2021-12-07 22:07:04 +02:00
Kalle (Sendou)
4e72f67615 Tournament admin page initial 2021-12-07 00:57:06 +02:00
Kalle (Sendou)
cc7e1d6428 Add overview tab 2021-12-06 23:05:41 +02:00
Kalle (Sendou)
24ee2ff099 Move api folder to routes root 2021-12-06 22:47:08 +02:00
Kalle (Sendou)
a812feaac3 Add loading state to Check-in button 2021-12-06 21:09:45 +02:00
Kalle (Sendou)
710e67599e Update tournament team schema 2021-12-06 17:41:04 +02:00
Kalle (Sendou)
b912b3be0e Check in functionality 2021-12-06 17:27:26 +02:00
Kalle (Sendou)
2d33e73378 Seeding script with variations 2021-12-06 15:58:02 +02:00
Kalle (Sendou)
50edb54689 ActionSection different composition 2021-12-06 15:40:04 +02:00
Kalle (Sendou)
a24afa2af8 ActionSection initial 2021-12-06 14:48:50 +02:00
Kalle (Sendou)
873d39270c Extract hook utils to different file 2021-12-06 13:46:08 +02:00
Kalle (Sendou)
0229a5d714 Can delete players from roster 2021-12-06 13:43:19 +02:00
Kalle (Sendou)
f574a1985c Show alert if team full 2021-12-06 12:45:08 +02:00
Kalle (Sendou)
291da9e7bc Update deps 2021-12-06 02:02:43 +02:00
Kalle (Sendou)
0554b1dcda Add trust when joining a team via invite link 2021-12-06 02:01:48 +02:00
Kalle (Sendou)
859daacf19 Add player to team from dropdown functionality 2021-12-06 01:30:30 +02:00
Kalle (Sendou)
340c6fd101 Adjust manage roster layout 2021-12-05 15:36:09 +02:00
Kalle (Sendou)
6106803745 Invite players via dropdown loader functionality 2021-12-05 15:15:04 +02:00
Kalle (Sendou)
758f9e71ca Global checkbox styles 2021-12-05 13:52:47 +02:00
Kalle (Sendou)
2b689abb3e Add MyForm element 2021-12-05 13:29:39 +02:00
Kalle (Sendou)
236ed75391 Add N-ZAP user to seed script 2021-12-05 13:28:40 +02:00
Kalle (Sendou)
83135e214a Add Button component 2021-12-05 12:22:49 +02:00
Kalle (Sendou)
687da723fd Update tests 2021-12-04 15:22:33 +02:00
Kalle (Sendou)
87e53abf42 Join team action 2021-12-04 15:12:05 +02:00
Kalle (Sendou)
0a56f72d8b Join team page UI initial 2021-12-04 14:00:28 +02:00
Kalle (Sendou)
b2e7c6b275 Extract InfoBanner component 2021-12-04 00:20:20 +02:00
Kalle (Sendou)
002047b7e6 Change which links show for tourneys before start 2021-12-02 22:06:56 +02:00
Kalle (Sendou)
cd9f2953e7 Tweak InfoBanner semantics 2021-12-02 21:57:31 +02:00
Kalle (Sendou)
d42eaf8a81 Copy to clipboard button functionality 2021-12-02 21:29:28 +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)
357d4e03fd Switch from serial to UUID's 2021-11-30 21:34:00 +02:00
Kalle (Sendou)
f06fe6edf8 Fix TW logo overflowing map pool image 2021-11-30 20:34:26 +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)
c4cb5ac2a6 Add global select styles 2021-11-29 14:23:48 +02:00
Kalle (Sendou)
fa4dab7e94 Add Alert 2021-11-29 13:46:28 +02:00
Kalle (Sendou)
8167430f68 Move manage-roster to different page and redirect 2021-11-29 13:13:23 +02:00
Kalle (Sendou)
5fd79e2e96 Roster shown on manage roster page 2021-11-29 12:52:33 +02:00
Kalle (Sendou)
79c378a2c8 InfoBannerActionButton initial 2021-11-29 12:28:05 +02:00
Kalle (Sendou)
99094987a8 New CSS reset 2021-11-29 11:29:56 +02:00
Kalle (Sendou)
3cad6bdde5 Invite players page progress 2021-11-29 11:27:45 +02:00
Kalle (Sendou)
8956ffcae7 Fix hydration error in console 2021-11-28 22:24:10 +02:00
Kalle (Sendou)
1555a79bc3 Validate team name on server 2021-11-28 16:05:49 +02:00
Kalle (Sendou)
72d89cef0a Register to tournament action 2021-11-28 14:21:55 +02:00
Kalle (Sendou)
76acdb2515 Remove old files 2021-11-27 16:10:06 +02:00
Kalle (Sendou)
4dbc56e98c Port auth 2021-11-27 16:08:32 +02:00
Kalle (Sendou)
3007c6aa38 TypeScript server 2021-11-27 15:06:19 +02:00
Kalle (Sendou)
7fbcdd196c Tweaks 2021-11-27 03:32:02 +02:00
Kalle (Sendou)
7d18d66c7a Nuke let from template 2021-11-27 03:08:35 +02:00
Kalle (Sendou)
2e07eac747 Adjust imports 2021-11-27 03:02:45 +02:00
Kalle (Sendou)
3fc21704ea Move services folder 2021-11-27 02:57:34 +02:00
Kalle (Sendou)
813374ca45 Add register button 2021-11-27 02:51:02 +02:00
Kalle (Sendou)
5c93263b64 Port teams tab 2021-11-26 23:20:23 +02:00
Kalle (Sendou)
dff33033b3 Port tournaments with map pool 2021-11-26 22:01:48 +02:00
Kalle (Sendou)
3cb407a4a8 Add data fetching for tournament page 2021-11-26 00:12:13 +02:00
Kalle (Sendou)
19ac935036 Port Layout to Remix 2021-11-24 22:47:02 +02:00
Kalle (Sendou)
4b17732f0f Remix starter 2021-11-23 18:54:52 +02:00
Kalle
1589b84c4b
New layout (#427) closes #405
* side layout initial

* add elements to side nav

* side buttons links

* remove clog

* calendar page initial

* position sticky working

* x trends page initial

* new table

* same mode selector

* mobile friendly table

* no underline for nav links

* xsearch

* x trends page outlined

* sr initial

* relocate calendar components

* calendar fix flex

* topnav fancier look

* layout looking good edition

* relocate xtrends

* xtrends remove linecharts

* x trends new

* calender page new

* delete headbanner, new login

* remove calendar stuff from api

* rename stuff in utils

* fix user item margin

* new home page initial

* remove page concept

* no pointer xtrends

* remove xrank from app

* xtrends service

* move fa from app

* move plus

* maps tweaks

* new table for plus history

* navigational sidebar flex tweaks

* builds page

* analyzer

* user page

* free agents

* plans

* remove mx

* tweaks

* change layout to grid

* home page finalized

* mobile nav

* restrict main content width

* tweaks style

* language switcher

* container in css

* sticky nav

* use duplicate icons for now

* change mapsketch width to old

* chara tour vid

* borzoic icons
2021-04-21 17:26:50 +03:00
Kalle (Sendou)
12bcf83532 Add Cloudburst logo to Calendar 2021-04-19 21:37:23 +03:00
Igor
9290e3eb6f
form controls (#417) 2021-04-17 23:17:36 +03:00
Kalle (Sendou)
c7e1440a4c hide suggestion text in UI if not member 2021-04-15 16:31:24 +03:00
Kalle (Sendou)
0cb05580a3 add event icons for zones cup+ and plus draft cup 2021-04-12 22:22:57 +03:00
Kalle (Sendou)
a70d1ec4f9 fix some type errors 2021-04-10 15:47:11 +03:00
Kalle
a812561a83
Free agent filters + free agents inside app (#401)
* new location

* free agents modal use trpc

* extract components from FreeAgentsPage

* trpc for likes

* unify naming

* extract filters component

* top 500 filter

* plus server membeship filter

* weapon filter

* all filters implemented

* reset filters

* filters final look

* filters from query params

* fetch fa posts statically
2021-04-10 15:19:09 +03:00
Kalle (Sendou)
47a35c9632 add kotc logo to events 2021-04-08 18:30:56 +03:00
Kalle (Sendou)
63ee770ab4 Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-04-08 18:22:06 +03:00
Kalle (Sendou)
1bad562254 add rr tg ut event images 2021-04-08 18:21:56 +03:00
Igor
2876d31b65 Titles for pages (#375)
* Start with pages titles

* user and team title

* titles + prettier

* remove unused import
2021-04-07 16:50:59 +03:00
Alex Johansson
edcf1c875a
suggested changes for trpc 5 (#357)
* suggested changes for trpc 5

* prettier format

* add queryclient options

* 5.0

Co-authored-by: Kalle (Sendou) <38327916+Sendouc@users.noreply.github.com>
2021-04-06 20:48:30 +03:00
Igor
fe6f2fea7d
Font-family for headings (#358)
* Rubik for all headings

* Font for headings
2021-04-05 20:30:06 +03:00
Kalle (Sendou)
1dc62e9aae add idtga logo 2021-04-03 23:50:34 +03:00
Kalle (Sendou)
344916fa89 event info use time tag 2021-04-03 12:27:58 +03:00
Kalle (Sendou)
35f1ef8f88 events bot api 2021-04-03 10:34:23 +03:00
Kalle (Sendou)
04b7f4d4dc calendar better day headers 2021-04-03 00:17:57 +03:00
Kalle (Sendou)
f1a19954be closes #352 2021-04-02 23:13:43 +03:00
Kalle (Sendou)
b66eb0f892 add event images 2021-04-02 23:04:00 +03:00
Kalle (Sendou)
97d36cb0d9 order tags 2021-04-02 20:40:00 +03:00
Kalle (Sendou)
f9f9f8da47 non-native date picker 2021-04-02 19:54:59 +03:00
Kalle (Sendou)
46b3215a87 allow admin to update and delete events 2021-04-02 19:29:17 +03:00
Kalle (Sendou)
b3e4b5056b translations for calendar 2021-04-02 19:23:36 +03:00
Kalle (Sendou)
692c7b24d2 calendar public 2021-04-02 19:15:55 +03:00
Kalle (Sendou)
a003b2789f event images support 2021-04-02 19:15:17 +03:00
Kalle (Sendou)
1b486a1f3e calendar page mobile friendliness + other stuff 2021-04-02 19:01:56 +03:00
Kalle (Sendou)
ab9b38c381 calendar event tests 2021-04-02 18:39:25 +03:00
Kalle (Sendou)
190c5a19fb can edit and delete events 2021-04-02 15:25:40 +03:00
Kalle (Sendou)
714f970569 EventInfo UI additions and tweaks 2021-04-02 13:41:40 +03:00
Kalle (Sendou)
bb7f1d8f47 use custom random element function instead of lodash 2021-04-01 23:45:00 +03:00
Kalle (Sendou)
c95b70087d event tests 2021-03-31 20:02:51 +03:00
Kalle (Sendou)
720aeed82d day headers 2021-03-31 12:06:54 +03:00
Kalle (Sendou)
8b18bedf9d event info card look 2021-03-30 23:15:02 +03:00
Kalle (Sendou)
a0445f3631 fix weapon selector 2021-03-28 01:17:14 +02:00
Kalle (Sendou)
a3410ca3bf event info 2021-03-28 00:14:55 +02:00
Kalle (Sendou)
8a00c60a14 load events 2021-03-27 14:43:09 +02:00
Kalle (Sendou)
dd9a00f78b can send event 2021-03-27 13:57:12 +02:00
Kalle (Sendou)
b6eefa5a47 disable isTournament 2021-03-26 21:06:24 +02:00
Kalle (Sendou)
f81f56a3a4 date picker component 2021-03-26 20:50:43 +02:00
Kalle (Sendou)
42bee34836 calendar form all events 2021-03-26 08:36:21 +02:00
Kalle (Sendou)
7bfd43732c also make voucherId null 2021-03-25 12:48:20 +02:00
Kalle (Sendou)
1fda2adf1b give vouch even if got to higher tier 2021-03-23 01:27:45 +02:00
Kalle (Sendou)
8347794a32 fix vouching bug 2021-03-23 01:10:33 +02:00
Kalle (Sendou)
39e1d1604a suggestion 5 characters or less 2021-03-22 21:33:58 +02:00
Kalle (Sendou)
8a0f912c48 can't vouch if kicked last month 2021-03-22 21:27:30 +02:00
Kalle (Sendou)
7721ffa5ce delete suggestions if vouched 2021-03-22 21:01:00 +02:00
Kalle (Sendou)
d55aa397f8 voting ending fixed 2021-03-22 19:19:51 +02:00
Kalle (Sendou)
9598723795 end voting initial 2021-03-22 18:25:52 +02:00
Kalle (Sendou)
3fc22c7269 calendar initial 2021-03-22 12:09:00 +02:00
Kalle (Sendou)
400dc82739 migration for calendar 2021-03-21 00:30:23 +02:00
Kalle (Sendou)
e4523a1a58 voting links on top 2021-03-20 16:32:21 +02:00
Kalle (Sendou)
dbde957195 can edit vote a bit better for mobile 2021-03-20 16:28:33 +02:00
Kalle (Sendou)
4928221146 can edit votes 2021-03-20 16:16:59 +02:00
Kalle (Sendou)
9c7351ad0f plus voting progress bars 2021-03-19 16:53:40 +02:00
Kalle (Sendou)
9daa60d92a redirect if no access 2021-03-19 14:12:03 +02:00
Kalle (Sendou)
d129dfcd4e fix bug and fetch also vouches 2021-03-19 13:40:52 +02:00
Kalle (Sendou)
d895542abb don't show sugg button front if voting has started 2021-03-19 12:24:08 +02:00
Kalle (Sendou)
0ce08bf00a actually throw errors 2021-03-19 12:21:42 +02:00
Kalle (Sendou)
9fcd9882d7 don't allow add votes api if voting is not active 2021-03-19 10:38:09 +02:00
Kalle (Sendou)
a1ab70a32e voting done 2021-03-19 10:23:34 +02:00
Kalle (Sendou)
4c16006eff minimize flashing avas 2021-03-19 10:20:51 +02:00
Kalle (Sendou)
820e6642b6 add header to voting 2021-03-19 10:02:04 +02:00
Kalle (Sendou)
4486f317b3 can submit votes 2021-03-19 09:40:10 +02:00
Kalle (Sendou)
dbbee90f08 voting UI done 2021-03-18 21:36:23 +02:00
Kalle (Sendou)
8ddc3ac353 initial useplusvoting 2021-03-17 13:36:56 +02:00
Kalle (Sendou)
f7dbbbb3c3 fix invalidateQuery 2021-03-11 17:51:53 +02:00
Kalle (Sendou)
9ab84e754f fix type error, move xtrends hook location 2021-03-09 13:23:12 +02:00
Kalle (Sendou)
ca8c288810 fix type error 2021-03-09 13:09:22 +02:00
Kalle (Sendou)
cd16d92f0e xrank in app 2021-03-09 11:57:42 +02:00
Kalle (Sendou)
950f2be402 new api for plus 2021-03-09 00:01:59 +02:00
Kalle (Sendou)
710520d0f6 suggestion mutation backend 2021-03-08 22:04:09 +02:00
Kalle (Sendou)
acc20ad5e1 plus with dots 2021-03-08 21:36:51 +02:00
Kalle (Sendou)
0cbffc8cb2 suggestions plusStatuses via trpc 2021-03-08 20:25:16 +02:00
Kalle (Sendou)
27612d9d89 fixes #291 2021-03-08 19:29:19 +02:00
Kalle (Sendou)
4fbebe6209 migrate plus location 2021-03-08 19:22:01 +02:00