Commit Graph

1559 Commits

Author SHA1 Message Date
Kalle
4a2b974fd3 Calendar event list tweaks spacings 2022-07-28 21:25:51 +03:00
Kalle
98d3d3cd72 Tags showing in calendar page 2022-07-28 21:03:52 +03:00
Kalle
cb7c3ed13f Seed add CalendarEventBadge 2022-07-28 20:11:19 +03:00
Kalle
261a93c154 Remove unused className 2022-07-28 20:00:40 +03:00
Kalle
0bec2214f4 Fix type error with calendar event find by id 2022-07-28 19:59:30 +03:00
Kalle
3ecc6bdc7e Fix WeekLinks text overflow 2022-07-28 19:53:33 +03:00
Kalle
5aa1d78ae8 Track todos in TODO.md 2022-07-28 19:52:59 +03:00
Kalle
e22d169670 Add SQL solution to findAllBetweenTwoTimestamps
by burkhalter83 :)
2022-07-27 00:49:21 +03:00
Kalle
4b76a95a03 Calendar list filter to actual filter function 2022-07-27 00:29:19 +03:00
Kalle
245292c4d0 Show many days on event page 2022-07-26 22:20:42 +03:00
Kalle
b9bd33f144 Calendar event list Day nth text 2022-07-26 22:06:01 +03:00
Kalle
370c547a09 Use white text for selected WeekLink 2022-07-26 21:42:37 +03:00
Kalle
c06fc5fe42 WeekLinkTitle with date ranges 2022-07-26 21:40:10 +03:00
Kalle
cd6dadfec3 Remove search param year range 2022-07-26 21:04:20 +03:00
Kalle
f228e834ae Calculate eventsCountPerWeek on client 2022-07-26 21:00:46 +03:00
Kalle
396f353121 Fix linter problem 2022-07-26 20:42:47 +03:00
Kalle
9041777896 Remove PLUS_SUGGESTIONS_PAGE constant 2022-07-26 20:41:49 +03:00
Kalle
96471cc47f Optimize suggestions loader call amounts 2022-07-26 20:39:08 +03:00
Kalle
118d89496a Plus suggestion redirect to tab with new user 2022-07-26 20:38:56 +03:00
Kalle
5f89b234a3 Suggestions use search params 2022-07-26 20:29:45 +03:00
Kalle
aca0efc746 Calendar on stream progress 25.7. 2022-07-26 01:53:03 +03:00
Kalle
00a6ab8be1 Animate badges page entrance 2022-07-25 22:00:35 +03:00
Kalle
51fdc6c7fb Single event page initial 2022-07-25 21:59:28 +03:00
Kalle
1294bac966 Calendar folder 2022-07-24 10:51:46 +03:00
Kalle
8e3bee8895 stack.vertical -> stack.horizontal 2022-07-24 10:40:51 +03:00
Kalle
912cf5ac57 Events list layout with all elements 2022-07-24 10:38:42 +03:00
Kalle
72b9903b03 Calendar meta 2022-07-23 14:24:24 +03:00
Kalle
db0bc1f102 Events layout initial 2022-07-23 13:21:51 +03:00
Kalle
abc30fd12b Calendar events from DB initial 2022-07-22 23:20:39 +03:00
Kalle
bf291cc5a0 Calendar tables migration 2022-07-21 21:27:21 +03:00
Kalle
12c86ff15e FIx WeekLinks keyboard navigation 2022-07-21 21:25:08 +03:00
Kalle
b5580c347f Calendar navigation with data from loader 2022-07-21 20:57:01 +03:00
Kalle
62c803f4ad Calendar navigation initial 2022-07-21 10:25:58 +03:00
Kalle
dcdb7bef0d Fix hydration hanging in E2E tests 2022-07-20 19:33:14 +03:00
Kalle
c4ce5c5eb3 Try to fix flaky E2E test 2022-07-19 00:27:46 +03:00
Kalle
b3d7aa1e1f Fix E2E tests 2022-07-19 00:12:17 +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
3e64c23e61 Translate contributions page 2022-07-17 12:45:28 +03:00
Kalle
542b437fce Type safe translations 2022-07-17 12:25:28 +03:00
Kalle
63d9a5b53b Set translated title on client side for FAQ 2022-07-17 11:52:35 +03:00
Kalle
e414ef910f I18n for layout & FAQ page 2022-07-16 16:58:27 +03:00
Kalle
640eba9cea i18n support 2022-07-16 14:56:20 +03:00
Kalle
85fd1b238d Fix user showing logged out when CatchBoundary 2022-07-16 13:26:50 +03:00
Kalle
3bb09a64a3 Fix 404 page crashing 2022-07-16 13:21:01 +03:00
Kalle
83d34353c2 Add command to update usernames and avatars 2022-07-15 23:54:08 +03:00
Kalle
6f87992c82 Fix badge info text color for light mode 2022-07-13 17:17:53 +03:00
Kalle
ee9175144b Fix cron callback 2022-07-13 16:04:49 +03:00
Kalle
8eeaa44d8b Footer fix alignment on mobile 2022-07-13 00:21:14 +03:00
Kalle
333c30a25c Patrons with node cron 2022-07-13 00:11:09 +03:00
Kalle
edfc15ba01 Add light mode
Works only with OS level setting for now.
Later an override on the site should be added.
2022-07-12 16:44:16 +03:00
Kalle
64bfa79afc Don't show patrons section if no patrons 2022-07-12 11:12:46 +03:00
Kalle
6f26cdb9c8 Footer mobile style 2022-07-11 23:38:25 +03:00
Kalle
4d2c72c14f Add contributions page 2022-07-11 23:38:21 +03:00
Kalle
2a33b2cefc Footer tweaks 2022-07-11 21:18:57 +03:00
Kalle
4b8eecc2c9 Footer desktop initial 2022-07-11 16:11:09 +03:00
Kalle
925553f8d2 Patrons to DB 2022-07-11 10:51:32 +03:00
Kalle
08df13eba0 Show supporter badges logic 2022-07-11 01:02:50 +03:00
Kalle
fb1d423bf0 Info to FAQ on how to get a badge for event 2022-07-10 18:26:51 +03:00
Kalle
13d9f324cf Fix menu items missing rounded border on bottom 2022-07-10 12:40:34 +03:00
Kalle
b3050bea94 Fix Samsung Internet auto dark mode activating 2022-07-10 12:35:19 +03:00
Kalle
939e6bbd68 Fix seeing other users' badges on route change 2022-07-10 12:32:29 +03:00
Kalle
64d0f95f3b Patreon pledge data parsing endpoint initial 2022-07-10 12:27:02 +03:00
Kalle
85075cfdcb Show summary of changes on badge owner edit 2022-07-09 20:36:09 +03:00
Kalle
5c71e72910 Add some feedback to admin user migration 2022-07-09 15:58:37 +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
4f7e01a91b Fix infinite loop with seed in E2E tests 2022-07-09 14:53:53 +03:00
Kalle
7919b97c26 Debug log 2022-07-08 16:32:27 +03:00
Kalle
25a8eca9f7 Try Cypress in Github Actions 8 2022-07-08 16:22:44 +03:00
Kalle
4888fc248c Try Cypress in Github Actions 6 2022-07-08 14:27:16 +03:00
Kalle
54baf8a158 Test Cypress tests 2022-07-08 11:13:58 +03:00
Kalle
d75edcfb94 Badge users sort alphabetically when count equal 2022-07-08 01:27:53 +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
67c8b2c449 Improve getting started with project experience 2022-07-06 11:02:23 +03:00
Kalle
027adf3bb0 Initial badges E2E tests 2022-07-06 10:36:57 +03:00
Kalle
55e559c348 Fix E2E tests + bug if you do rly bad in voting 2022-07-06 10:21:41 +03:00
Kalle
8779974607 Fix seed script 2022-07-06 10:10:00 +03:00
Kalle
2ca589faf6 Add user migration admin feature 2022-07-05 20:15:30 +03:00
Kalle
ab82ed4d28 Add admin page to menu 2022-07-05 15:53:08 +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
9f50b04f2e Badge thumbnail images 2022-07-04 22:01:51 +03:00
Kalle
89a16d4ff3 Badges url via function 2022-07-04 21:09:10 +03:00
Kalle
0febd67cf9 Fix BadgeContainer key on user profile 2022-07-04 14:31:34 +03:00
Kalle
1d3e7dc02f Fix menu visibile on initial load due to SSR 2022-07-04 14:20:19 +03:00
Kalle
67a13b8515 Fix how score is shown on voting results 2022-07-04 13:17:34 +03:00
Kalle
cf7ec172c9 Add FAQ page with Plus Server info 2022-07-03 15:40:05 +03:00
Kalle
d50d2ccaa7 Show badges in nav but don't show any on the page 2022-07-03 13:23:34 +03:00
Kalle
350a435a68 Fix LinkProps import 2022-07-03 13:23:19 +03:00
Kalle
b8c15c3289 Fix overflow hidden not working on nobile 2022-07-03 13:22:29 +03:00
Kalle
779f735c57 Remove badges from nav 2022-07-03 13:10:05 +03:00
Kalle
12c59a40bf Icons via avif 2022-07-03 12:43:09 +03:00
Kalle
6455e5d6bc Discord bot plus roles command 2022-07-03 12:17:20 +03:00
Kalle
852f03d3a1 Show voting results to everyone 2022-07-02 14:23:52 +03:00
Kalle
6438d1a781 Vote with S/K keys instead of < > keys 2022-07-02 14:22:10 +03:00
Kalle
921a0576b1 Fix plus server downvote button color 2022-07-02 14:14:45 +03:00
Kalle
55398278bf Add aria-label to menu button 2022-07-02 14:05:16 +03:00
Kalle
00225645fc Get all badges not just owned 2022-07-02 11:29:55 +03:00
Kalle
c9c53bc4c5 Fix current page nav icon resolving 2022-07-02 11:25:11 +03:00
Kalle
539f72a48f Background for menu icons as well 2022-07-02 11:13:41 +03:00
Kalle
73cdfb7314 Improve menu a11y 2022-07-02 10:49:52 +03:00
Kalle
e72df27613 Rename MobileMenu -> Menu 2022-07-02 10:34:28 +03:00
Kalle
3154535e39 Tiny menu 2022-07-02 00:33:12 +03:00
Kalle
4df089573e Remove desktop menu 2022-06-30 17:41:58 +03:00
Kalle
8329c28837 Show current page in header 2022-06-29 00:57:38 +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
Kalle
80a53085c5 Fix wrong max count showing on suggestion comment 2022-06-25 21:50:47 +03:00
Kalle
bca8fd6da8 Add id to badge 2022-06-25 14:43:13 +03:00
Kalle
9963963db2 Move SocialLink to route file 2022-06-25 14:20:14 +03:00
Kalle
fab4a82722 BadgeContainer with counts 2022-06-25 14:14:31 +03:00
Kalle
1978bd6f1c BadgeContainer on user page initial 2022-06-25 13:26:43 +03:00
Kalle
4c3bb2134f Badges to user page from DB 2022-06-25 00:36:41 +03:00
Kalle
9ad2543cbe Add badges for admin to seed script 2022-06-24 16:41:36 +03:00
Kalle
36ed51d7b3 Add badges migration 2022-06-24 16:16:06 +03:00
Kalle
40394edd87 Add deleting suggestion of themselves for members 2022-06-24 15:07:50 +03:00
Kalle
640a2bf890 Add deleting suggestion of themselves 2022-06-24 14:55:59 +03:00
Kalle
5544a489a0 Add max-age to login cookie for persisting 2022-06-24 11:02:07 +03:00
Kalle
3e6b5e6f9b Cypress 10 with fixed tests 2022-06-22 23:03:32 +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
ca60014bd6 Fix avatar bad src 2022-06-19 12:16:34 +03:00
Kalle
73cfe0ff40 Fix showing bios for suggested users in voting 2022-06-19 11:34:54 +03:00
Kalle
031b180ba5 Add bios to seed 2022-06-19 11:34:42 +03:00
Kalle
ef1f5071f4 Add info on when voting ends while voting 2022-06-19 11:08:44 +03:00
Kalle
bdd17ae703 Fix crash on suggestions page 2022-06-19 10:49:32 +03:00
Kalle
b633562f7e More graceful 404's 2022-06-18 23:37:57 +03:00
Kalle
1c814317c0 Access command initial 2022-06-18 22:33:14 +03:00
Kalle
f9d3265e88 Don't show broken image placeholder when ava 404's 2022-06-18 17:42:55 +03:00
Kalle
a2f2b2b299 Add container to front page 2022-06-18 16:19:25 +03:00
Kalle
65aaa54a70 Remove unused pageTitle 2022-06-18 15:53:53 +03:00
Kalle
c7a50ded65 Impersonate users in prod 2022-06-18 15:51:17 +03:00
Kalle
5abb49e2fc Remove SearchInput 2022-06-18 01:04:23 +03:00
Kalle
f510afe522 Adjust voting range 2022-06-13 18:37:18 +03:00
Kalle
019c73c2b8 Banner informing user has voted 2022-06-13 08:58:49 +03:00
Kalle
52fea7fcc9 Rename upcomingVoting -> nextNonCompletedVoting 2022-06-12 23:19:16 +03:00
Kalle
1b2376a951 Fix state bio/suggestions from local storage 2022-06-12 23:13:51 +03:00
Kalle
b39c3b745f Rename vote function 2022-06-12 16:41:33 +03:00
Kalle
010f709e4b Plus upvote/downvote from constant 2022-06-12 16:19:43 +03:00
Kalle
f5f589a28c Plus voting saves votes to DB 2022-06-12 16:17:43 +03:00
Kalle
1e8a63c961 Submit votes initial 2022-06-12 15:11:23 +03:00
Kalle
e0f224d84c Add small info on SendouQ page 2022-06-12 14:17:05 +03:00
Kalle
2c46658bbb Progress bar on voting page 2022-06-12 14:11:44 +03:00
Kalle
fc39e133c4 Voting style tweaks 2022-06-12 13:51:50 +03:00
Kalle
039c0b115e Vote with arrow keys 2022-06-12 13:07:46 +03:00
Kalle
253d0112c4 Undo last vote functionality 2022-06-12 12:44:53 +03:00
Kalle
9e9e9ed44e Voting with usePlusVoting hook 2022-06-12 11:35:08 +03:00
Kalle
11eaa6c893 Relative times on suggestions page 2022-06-11 21:57:30 +03:00
Kalle
07cc6699f2 Relative time voting timing info 2022-06-11 21:53:34 +03:00
Kalle
79278c4cbc Add usersForVoting backend logic 2022-06-11 18:28:12 +03:00
Kalle
e0565c23b4 Add WIP notice on front page 2022-06-11 15:53:35 +03:00
Kalle
e16ad178ec xxx -> TODO allTruthy 2022-06-11 15:44:58 +03:00
Kalle
904f9877d1 Prefetch chunks behind modal buttons 2022-06-11 15:30:58 +03:00
Kalle
2c93ac9b77 Suggestions link to user page 2022-06-11 12:17:55 +03:00
Kalle
f06a4c9b20 Move plus server from core to modules 2022-06-11 11:49:22 +03:00
Kalle
77cadcb06d Move useUser to modules/auth 2022-06-11 11:34:25 +03:00
Kalle
1c1d8dd6fe Move auth to modules 2022-06-11 11:21:06 +03:00
Kalle
e5617d095e Get rid of unneeded element in MobileMenu 2022-06-11 10:49:20 +03:00
Kalle
5004befc02 Add /plus link to menu 2022-06-11 10:33:14 +03:00
Kalle
9be2733193 Suggestions layout tweaks 2022-06-10 01:13:47 +03:00
Kalle
ef2d56327d Stricters Typescript 2022-06-10 01:02:59 +03:00
Kalle
7dd6efb832 Replace Array.at with error throwing function 2022-06-10 00:36:06 +03:00
Kalle
5755b06756 Fix removing first suggestion crashing 2022-06-09 00:25:31 +03:00
Kalle
5fac72338c Set first comment length to 500 2022-06-09 00:25:12 +03:00
Kalle
4ccd4de4d0 Set selected tier on first suggest 2022-06-09 00:20:35 +03:00
Kalle
2ec1a1b906 Fix hydration err try 2 (toLocaleString at server) 2022-06-09 00:08:32 +03:00
Kalle
0f668f6ac2 Fix hydration error 2022-06-08 23:56:10 +03:00
Kalle
a4e37fe077 Plus Server don't show members to non-members 2022-06-07 21:06:56 +03:00
Kalle
45e04636a3 Set DB path from env var 2022-06-07 01:23:33 +03:00
Kalle
855240966a Add placeholder Plus Voting page 2022-06-05 20:50:52 +03:00
Kalle
b120cc5827 Add a simple test about voting results page 2022-06-05 20:28:08 +03:00
Kalle
b629d519f4 Rename voting history to results 2022-06-05 20:12:36 +03:00
Kalle
2a60b373d8 Voting history UI done 2022-06-05 20:07:47 +03:00
Kalle
105854335f Voting history page initial 2022-06-05 12:45:58 +03:00
Kalle
7b10f19a3f Consider suggestions when calculating Plus Tier 2022-06-05 10:39:51 +03:00
Kalle
d7348afda8 Complete seeding script again 2022-06-04 16:38:11 +03:00
Kalle
a3ff858858 Fix crash if no suggestions yet this month 2022-06-04 16:04:51 +03:00
Kalle
7528652b42 PlusTier view 2022-06-04 16:04:43 +03:00
Kalle
c4af9bfd95 Add test to adding new suggestion 2022-06-04 13:10:00 +03:00
Kalle
7e25c073e5 Show different text when deleting suggestion 2022-06-04 11:53:04 +03:00
Kalle
9e90784f2a Handle overflow when long name in suggestion 2022-06-04 11:49:39 +03:00
Kalle
759aed9518 Remove unused param useBody 2022-06-04 11:19:08 +03:00
Kalle
ed12978073 Can't delete suggestion if it has comments 2022-06-04 10:57:31 +03:00
Kalle
6f3812bbdc Rename suggestion.info -> suggestedUser 2022-06-04 10:31:05 +03:00
Kalle
6ac99d1d90 Deleting suggestion with FE validation 2022-06-02 17:52:23 +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
317937215b Add new suggestion with UserCombobox 2022-05-31 22:35:50 +03:00
Kalle
9bc252b950 Add Combobox 2022-05-31 22:31:29 +03:00
Kalle
e4526e8d82 Frontend create new suggestion 2022-05-30 01:03:33 +03:00
Kalle
3d4f9af928 Delete comment test 2022-05-29 11:04:27 +03:00
Kalle
5d276fcf2c Change comments data model a bit + adjust sorting 2022-05-28 10:49:44 +03:00
Kalle
6cd5225ceb No margin-right on button icon if no text 2022-05-27 22:34:41 +03:00
Kalle
065c68e794 Catcher handle arbitrary status code 2022-05-27 22:23:11 +03:00
Kalle
7485aed180 Delete comment 2022-05-27 21:46:33 +03:00
Kalle
ceb2241ce2 Add Cypress test for adding comment 2022-05-27 01:19:24 +03:00
Kalle
90784afe2e Fix unnecessary fetch when opening modal 2022-05-27 00:48:58 +03:00
Kalle
44e745692d Add comment to database 2022-05-26 21:49:48 +03:00
Kalle
a4b839d55a Add permissions 2022-05-26 19:48:16 +03:00
Kalle
300b4599f9 Comment modal UI 2022-05-26 16:47:50 +03:00
Kalle
cf96c49e20 Comment modal with functioning link 2022-05-26 15:48:49 +03:00
Kalle
b4c614ed7d Adjust lf script 2022-05-26 13:17:28 +03:00
Kalle
cbb2e1922d Add LinkButton component 2022-05-26 13:17:07 +03:00
Kalle
e303e5ea8f Adjust plus routes 2022-05-26 12:19:50 +03:00
Kalle
eadec24c6d Don't log SQL 2022-05-26 12:19:32 +03:00
Kalle
c706338e1b Upgrade to React 18 2022-05-26 11:53:06 +03:00
Kalle
f18ec8b15c Upgrade deps 2022-05-26 11:41:09 +03:00
Kalle
7af4912453 Add Dialog element 2022-05-26 11:33:02 +03:00
Kalle
6a23c4f2bb Add titles via meta tag 2022-05-25 21:41:37 +03:00
Kalle
108812b94f Plus suggestions CSS tweaks 2022-05-25 21:18:27 +03:00
Kalle
9ceabd5700 Suggestions UI initial 2022-05-25 09:59:58 +03:00
Kalle
65cac61405 Plus page radios 2022-05-25 00:07:45 +03:00
Kalle
500fac288f Add TODO about plusTier view 2022-05-24 21:33:38 +03:00
Kalle
fdbac9082c Prompt user to log in if accessing plus logged out 2022-05-24 21:14:42 +03:00
Kalle
92db2f8976 Cypress test with new mock auth 2022-05-24 19:42:26 +03:00
Kalle
6433383fc7 Avatar placeholder if no discordAvatar set 2022-05-24 19:34:49 +03:00
Kalle
800b456a52 Impersonate another user feature 2022-05-24 19:03:54 +03:00
Kalle
1f25ac89c5 Show text with suggested for info 2022-05-24 00:15:19 +03:00
Kalle
89b4c0a18b Remove unused code from authentication callback 2022-05-22 20:56:47 +03:00
Kalle
c4b0efc47d Rename db models to .server ending 2022-05-22 20:55:29 +03:00
Kalle
cabe6f53e6 Find suggestions database logic 2022-05-22 20:54:23 +03:00
Kalle
e850230c0c PlusSuggestions seed 2022-05-22 11:53:09 +03:00
Kalle
937c29f078 Plus Server DB migration 2022-05-22 10:40:33 +03:00
Kalle
4b71413f7c Add lastCompletedVoting function 2022-05-22 00:06:44 +03:00
Kalle
dbc0149df3 Fix can't have no bio 2022-05-19 17:34:58 +03:00
Kalle
125dac42fa Move authentication logic 2022-05-19 17:34:40 +03:00
Kalle
d3623841de Don't reload root loader 2022-05-18 10:23:46 +03:00
Kalle
2e7bb5706d User page bio 2022-05-17 21:40:55 +03:00
Kalle
7d73a0478c Cypress with user page test 2022-05-17 19:50:05 +03:00
Kalle
f2d547fa01 Move user page data loading to layout route 2022-05-16 22:56:47 +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
1e1f02fb2a Fix TS error with import casing 2022-04-30 11:23:04 +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
fc2a6323fa Don't show match as link if 0-0 Closes #707 2022-04-16 21:09:55 +03:00
Kalle
9d9f60eeb1 Fix one more place match.pos -> num 2022-04-16 21:07:08 +03:00
Kalle
bf6236161a Remove typedJson from match modal page 2022-04-16 20:57:42 +03:00
Kalle
037181c8de Fix few more places match.pos -> num 2022-04-16 20:56:27 +03:00
Kalle
3e8dd29700 Fix bugs w/ position -> number match migration 2022-04-16 20:39:24 +03:00
Kalle
298afe4d4d Fix seed page wrong order in some case Closes #799 2022-04-16 20:02:50 +03:00
Kalle
a249b7bfa7 Use custom Navigate instead of react-router 2022-04-16 19:26:06 +03:00
Kalle
68ead9c9b9 Button to seed teams by SP Closes #798 2022-04-16 19:19:23 +03:00
Kalle
a697c61afd Fix all buttons showing loading on control page 2022-04-16 12:16:37 +03:00
Kalle
4545c970d0 No check out when tourney started Closes #807 2022-04-16 12:10:51 +03:00
Kalle
32c823348f Fix manage page layout when tournament has started 2022-04-16 11:40:49 +03:00
Kalle
9beb35ab75 Prevent access to admins tourney pages Closes #801 2022-04-16 11:34:01 +03:00
Kalle
24bd2b90fb Remove unused tab 2022-04-16 11:32:35 +03:00
Kalle
54f82d2ea1 Fix TODO's on Register page 2022-04-16 11:18:13 +03:00
Kalle
93a7ae9c1e Can unregister from tournament before start 2022-04-16 10:52:40 +03:00
Kalle
695894b1de Fix Cypress tests 2022-04-15 19:29:21 +03:00
Kalle
270e00fbe1 Upgrade deps 2022-04-15 18:22:36 +03:00
Kalle
ceaa6192a9 Filter teams who missed checked in Closes #804 2022-04-13 22:38:19 +03:00
Kalle
799725aa2d Remove chat feature flag 2022-04-13 21:22:24 +03:00
Kalle
d3df5bdda1 Allow canceling SendouQ match 2022-04-13 18:45:13 +03:00
Kalle
2a72ae58d7 Fix tests 2022-04-11 18:43:34 +03:00
Kalle
22966efcc7 Conclude tournament 2022-04-11 18:31:25 +03:00
Kalle
5646650d33 Revert "Fix skill returned not always the most recent"
This reverts commit bacdc5d9f9.
2022-04-09 16:43:27 +03:00
Kalle
5594ecb8f6 Bracket starts with 11 teams / DE Closes #811 2022-04-09 16:23:00 +03:00
Kalle
43aa58476e Format data.json 2022-04-09 12:42:46 +03:00
Kalle
fa8503322e Merge branch 'rewrite' of github.com:Sendouc/sendou.ink into rewrite 2022-04-09 12:41:59 +03:00
Kalle
7aef29c47a Order in bracket with position, display number 2022-04-09 12:41:47 +03:00
Kalle
5b9a17d3a3 Correctly advance byes when many Closes #803 2022-04-09 12:04:24 +03:00
Kalle
ff329027e7
Update data.json 2022-04-07 20:53:21 +03:00
Kalle
da08301b54 Fix countRounds wrong count for SE 2022-04-03 13:45:07 +03:00
Kalle
1287fa4ad9 Add chat to tournament matches 2022-04-03 10:35:07 +03:00
Kalle
61d16d43a5 Leaderboards select month 2022-04-02 22:58:50 +03:00
Kalle
bacdc5d9f9 Fix skill returned not always the most recent 2022-04-02 20:23:48 +03:00
Kalle
54147404c9 Fix start page crash before check-in starts 2022-04-02 20:03:29 +03:00
Kalle
16e8a9d12f Fix controls page table header alignment 2022-04-02 19:49:11 +03:00
Kalle
535b9669a0 Update data.json 2022-04-01 23:04:29 +03:00
Kalle
00ae9d575c Unregister teams from tournament 2022-04-01 18:34:20 +03:00
Kalle
c70e362917 Seeds page display average team SP 2022-03-31 17:45:55 +03:00
Kalle
48540ddec9 Adjust SendouQ map list 2022-03-30 20:19:03 +03:00
Kalle
e2dda84d83 Introduce eslint-plugin-react-hooks 2022-03-30 19:58:08 +03:00
Kalle
05fb292a54 Disable auto complete on Chat input 2022-03-30 00:48:10 +03:00
Kalle
f96410a25a Upgrade deps (React 18) 2022-03-30 00:06:57 +03:00
Kalle
c0e4f01097 Bracket real time solution SSE -> Socket.io 2022-03-29 23:55:42 +03:00
Kalle
8d647eaeff Use React Context for sharing socket 2022-03-29 23:40:08 +03:00
Kalle
7d4c4a73f4 Tournament nav tweaks 2022-03-29 18:30:16 +03:00
Kalle
3ed1be84e1 Fix tournament add-players invite link 2022-03-29 18:18:26 +03:00
Kalle
7d32da3822 Fix bracket straight lines height 2022-03-29 17:53:42 +03:00
Kalle
c7262b069b Urls from utils to urls 2022-03-28 00:42:13 +03:00
Kalle
57960a05b2 Remove unnecessary infos 2022-03-28 00:36:54 +03:00
Kalle
4c6f7ce572 Refactor register for new backend style 2022-03-28 00:16:01 +03:00
Kalle
cd7e8531aa Remove unnecessary fields from tournament team 2022-03-27 17:43:28 +03:00
Kalle
b6fc09d935 Fix button flashing from Continuing... to Continue 2022-03-27 15:40:10 +03:00
Kalle
6bc6741e43 Fix looking page title for league group found 2022-03-27 15:30:40 +03:00
Kalle
0a912b7375 Fix button texts for league 2022-03-27 15:25:02 +03:00
Kalle
765a5d2dea Chat for finished group + remove Discord prompts 2022-03-27 15:07:30 +03:00
Kalle
be63db096e United groups to the top Closes #768 2022-03-27 14:59:44 +03:00
Kalle
471d467953 Fix avatar placeholder for Firefox Closes #790 2022-03-27 14:33:38 +03:00
Kalle
9b775dcf41 Unread indicator for chat 2022-03-27 14:22:01 +03:00
Kalle
1a25aece60 Move chat to bottom right on desktop 2022-03-27 12:13:50 +03:00
Kalle
76e17ce83c Add Redis for leaderboards 2022-03-27 12:01:02 +03:00
Kalle
60a3f709a7 Hardcode leaderboards temporarily
Memory problem hot fix :-)
2022-03-26 17:52:13 +02:00
Kalle
63f5ba8ce7 Load less stuff in memory for leaderboards 2022-03-26 17:34:07 +02:00
Kalle
bb8c9dbafe Leaderboards frontend 2022-03-26 17:09:37 +02:00
Kalle
a2aa773487 skillsToLeaderboard logic 2022-03-26 15:27:04 +02:00
Kalle
6064ede66a Enable Leaderboards in nav 2022-03-26 11:43:40 +02:00
Kalle
aed28496bc Add tau 2022-03-26 10:31:49 +02:00
Kalle
13e00c0d4c Replace TS with Openskill 2022-03-25 18:57:19 +02:00
Kalle
f536918d09 Chat SSE -> socket.io 2022-03-25 00:42:29 +02:00
Kalle
0f029aa84c Feature flag for chat 2022-03-23 00:33:16 +02:00
Kalle
1b25502d64 Get names on chat from loader data 2022-03-22 22:44:54 +02:00
Kalle
7b9045cea8 Allow non-admins to unexpire groups 2022-03-22 00:11:17 +02:00
Kalle
74cff317f8 Fix not being able to send empty friend code 2022-03-22 00:08:57 +02:00
Kalle
430d32cb52 Fix mobile nav SendouQ link 2022-03-22 00:04:51 +02:00
Kalle
fb2b50121a Add SendouQ logo 2022-03-21 22:16:30 +02:00
Kalle
0b0e1d95c6 NZAP use real UUID 2022-03-20 21:37:28 +02:00
Kalle
0d717e30fa Allow submitting on settings page without FC 2022-03-20 21:36:48 +02:00
Kalle
3ad9cbaaee isTestUser 2022-03-20 21:00:14 +02:00
Kalle
5394e0bc50 Temp fix logged in user missing discordName 2022-03-20 20:52:54 +02:00
Kalle
f63f21b369 Closes #789 Fix arrow wrong in relation 2022-03-20 14:24:17 +02:00
Kalle
a38ca2d943 Switch from unranked -> scrim in button texts 2022-03-20 14:17:37 +02:00
Kalle
c693fe349e Chat for looking/match pages Closes #753 2022-03-20 14:12:20 +02:00
Kalle
93eb28f6f9 Refactor looking loader a bit Closes #784
Doesn't really need as much refactoring as I thought
2022-03-17 18:38:13 +02:00
Kalle
23bbea328c Send over all user id's to Lanista 2022-03-17 01:29:19 +02:00
Kalle
0dedf45552 Unify ranked/scrim LFGGroupSelector buttons 2022-03-17 01:25:35 +02:00
Kalle
0551a3eb05 Update data.json 2022-03-16 21:20:46 +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
e7bf6b80f8 Fix match-details wrongly detecting resending 2022-03-12 22:28:08 +02:00
Kalle
dc3e3b055d Match details to frontend 2022-03-12 20:17:10 +02:00
Kalle
ae1ac69517 Fix popover over tabs Closes #775 2022-03-12 17:00:44 +02:00
Kalle
555352c904 Allow non-admins to look again for unranked 2022-03-12 16:47:29 +02:00
Kalle
999a0166e5 Fix error if reporting details of same match twice 2022-03-12 16:16:40 +02:00
Kalle
b49f2434eb Fix admin score editing 2022-03-12 15:02:11 +02:00
Kalle
b169a5e72b Admin can delete match 2022-03-12 14:43:23 +02:00
Kalle
6310bbc823 Fix match-details 2022-03-12 14:02:21 +02:00
Kalle
3b343e066e Admin can edit scores 2022-03-12 11:06:48 +02:00
Kalle
fe6e8a50f2 Fix migration 2022-03-09 00:15:43 +02:00
Kalle
84acf4c3eb User can log out Closes #743 2022-03-07 21:47:27 +02:00
Kalle
e9d650ad3d Lanista match details submit untested version 2022-03-07 21:01:24 +02:00
Kalle
a6c2593a03 Temp fix backdrop filter for Safari on SendouQ 2022-03-06 22:04:06 +02:00
Kalle
176cbbbec6 Match details endpoint test 2022-03-06 16:22:23 +02:00
Kalle
35b041a29d "Handle" overflow in member cards again 2022-03-06 15:44:17 +02:00
Kalle
ea8c16a9f8 Add background for Popover on Firefox 2022-03-06 15:43:35 +02:00
Kalle
c773d70d23 Get weapons from DB 2022-03-06 14:59:46 +02:00
Kalle
1d7f736dee Can edit weapons in SendouQ settings 2022-03-06 13:38:55 +02:00
Kalle
765b3d8004 Require bio if not top 500 2022-03-05 15:17:24 +02:00
Kalle
acb45590ad Mini bio in SendouQ 2022-03-05 14:59:44 +02:00
Kalle
e16024a284 Popover component 2022-03-05 12:29:08 +02:00
Kalle
59fb2d92d7 Looking action redirect don't throw if not LOOKING 2022-03-05 10:01:17 +02:00
Kalle
8e848fc3e7 Refactor to use resolveRedirect function 2022-03-05 10:00:41 +02:00
Kalle
5b8866225c Show captains Closes #773 2022-03-05 00:16:13 +02:00
Kalle
4e49555a63 Validate user isn't in group before continuing 2022-03-04 22:33:49 +02:00
Kalle
56f36c0912 Show SP/XP in looking for match for own group 2022-03-04 22:18:57 +02:00
Kalle
edc6a151c3 Fix play front page button loading Closes #772 2022-03-04 21:24:11 +02:00
Kalle
007a03b05d Clean up unused code 2022-03-04 21:19:57 +02:00
Kalle
9741815ae4 Fix lint 2022-03-04 21:13:49 +02:00
Kalle
2e93148746 Look again with same group after reporting score 2022-03-04 20:59:37 +02:00
Kalle
bf1a61e6b7 Fix can be in PRE_ADD+LOOKING group at same time 2022-03-04 09:23:19 +02:00
Kalle
82cb03aa6f Set color-scheme CSS property 2022-03-03 17:39:16 +02:00
Kalle
10468ff8e0 Show "Replay" indicator in GroupCard 2022-03-03 17:39:01 +02:00
Kalle
8ff5e07db0 Update data.json 2022-03-03 09:08:20 +02:00
Kalle
3f488796eb Fix lint 2022-03-03 09:03:42 +02:00
Kalle
efefe01a4b "No results" not 404 if didn't play SendouQ yet 2022-03-02 17:24:01 +02:00
Kalle
97327da3cd Fix favicon 500 errors 2022-03-02 17:22:20 +02:00
Kalle
a2dddca42e Remove hardcoded Sendou 2022-03-02 00:25:45 +02:00
Kalle
a58410b3bc Remove the thingy from inside map map map 2022-03-02 00:18:25 +02:00
Kalle
35b2009933 Front page also show groups in pre add or match 2022-03-02 00:14:47 +02:00
Kalle
96af5a1705 Fix missing key in match history page 2022-03-02 00:04:12 +02:00
Kalle
c85d5cdded Show set / map winrate on match history page 2022-03-01 23:59:03 +02:00
Kalle
cfff534d7c Fix match history View details link alignment 2022-03-01 22:26:59 +02:00
Kalle
24d21f3443 Match history page 2022-03-01 21:23:17 +02:00
Kalle
f86ead8740 Filter out empty groups 2022-03-01 00:25:26 +02:00
Kalle
bb04b27761 Only show MMR relation for full groups 2022-03-01 00:23:06 +02:00
Kalle
4f8f45fc9e Show relative team MMR for ranked teams 2022-02-28 20:27:42 +02:00
Kalle
e0e8a68de5 Fix join page invite URL 2022-02-27 17:16:49 +02:00
Kalle
10e2f1470b Pre-add players page Closes #716 2022-02-27 16:55:38 +02:00
Kalle
f0b61a47ee Add eslint plugin:react 2022-02-27 11:18:16 +02:00
Kalle
6d82d99b18 Link to old user profiles on match page 2022-02-27 11:06:14 +02:00
Kalle
2b0bdf9d92 Polling 30 -> 20 seconds 2022-02-27 10:55:00 +02:00
Kalle
244f6aab8a Fix team MMR calculation 2022-02-27 10:49:49 +02:00
Kalle
b9faa00c57 Update data.json 2022-02-26 23:31:40 +02:00
Kalle
8c3499c1b9 Ignore PrismaClientKnownRequestError with likes 2022-02-26 22:27:20 +02:00
Kalle
6a302bb14b Validate group is full when matching up 2022-02-26 22:12:05 +02:00
Kalle
7382a653ab Fix lint 2022-02-26 21:55:37 +02:00
Kalle
c6eeeb8b60 Fix unit tests 2022-02-26 21:47:39 +02:00
Kalle
7f5b42ecdf Add rules of SendouQ 2022-02-26 21:45:40 +02:00
Kalle
e50ee17b17 Fix can't report Best of 7 2022-02-26 15:54:58 +02:00
Kalle
52e4d5e9e9 Fix message: null on error page 2022-02-26 15:29:18 +02:00
Kalle
cc475e6083 Update LFG data json 2022-02-26 15:08:05 +02:00
Kalle
f1cd12fceb Add Health Check Path 2022-02-26 14:57:00 +02:00
Kalle
5c7eca32e5 Fix React key warning 2022-02-26 14:55:37 +02:00
Kalle
7f61cea3dc Try best of 7 2022-02-26 14:40:57 +02:00
Kalle
7cc8310dbc Fix test 2022-02-26 13:50:51 +02:00
Kalle
c11d7a4042 Don't check group status when reporting score 2022-02-26 13:48:09 +02:00
Kalle
e07fff02b0 Display MMR + top x% on play front page 2022-02-26 13:44:21 +02:00
Kalle
7d0e616da1 Change MMR formula Closes #755 2022-02-26 11:50:18 +02:00
Kalle
6c4f6d1094 Fix lint 2022-02-26 11:46:20 +02:00
Kalle
cf649c3ad4 Extract countGroups function 2022-02-26 11:46:20 +02:00
Kalle
7eca238734 Fix crash due to null data in meta of looking 2022-02-26 00:49:07 +02:00
Kalle
fcf1bbd9c1 Better error page Closes #763 2022-02-25 21:58:41 +02:00
Kalle
0a6ca87c86 Redirect when match is created 2022-02-25 21:37:59 +02:00
Kalle
62e7fc15cb Switch from active/looking to status enum 2022-02-25 21:33:33 +02:00
Kalle
60d4bb720f Member count take in account full league groups 2022-02-24 22:19:53 +02:00
Kalle
29d6bbeb98 Fix lint 2022-02-24 22:13:01 +02:00
Kalle
fb4b93913e Player looking count on play page Closes #756 2022-02-24 22:11:50 +02:00
Kalle
7218a076e9 Make buttons texts more descriptivive Closes #759 2022-02-24 19:20:40 +02:00
Kalle
19a64e4d99 Link users to old sendou.ink Closes #765 2022-02-24 17:55:52 +02:00
Kalle
2d5fb5ee96 Fix lint 2022-02-24 17:26:54 +02:00
Kalle
0c30211082 Prevent match if other group stopped looking 2022-02-24 17:13:46 +02:00
Kalle
eb1052d763 Fail MATCH_UP if one group already matched up 2022-02-24 09:58:32 +02:00
Kalle
d3dc68592e Can choose "Look again" even if not captain 2022-02-24 09:53:38 +02:00
Kalle
beda88c87a Update LFG data json 2022-02-24 09:41:57 +02:00
Kalle
fc835eae55 Allow user to leave group Closes #749 2022-02-24 09:37:41 +02:00
Kalle
436b44d2d8 Fix 500 error when match page 404's Closes #760 2022-02-24 01:01:05 +02:00
Kalle
c01222b718 Add text if no other group is looking Closes #748 2022-02-23 18:12:04 +02:00
Kalle
09856bcac1 Fix groups showing across queues 2022-02-23 17:56:33 +02:00
Kalle
8d7d69584a Can't take action if group expire Closes #745 2022-02-23 17:35:51 +02:00
Kalle
986de6b76c Centrify score in match page 2022-02-23 17:15:24 +02:00
Kalle
1f4c3d0d97 Fix match score submit wrong order in some cases 2022-02-23 17:12:56 +02:00
Kalle
90cf6f9ae7 Fix name overflow on match page 2022-02-23 17:01:31 +02:00
Kalle
7396ddb049 Fix group meetup channel name 2022-02-23 15:49:22 +02:00
Kalle
9faef3aed1 Refactor looking loader 2022-02-23 00:09:37 +02:00
Kalle
ec8437583b Don't show weapons when looking for match 2022-02-22 00:31:34 +02:00
Kalle
d423fbd347 Fix expiration texts 2022-02-21 23:48:26 +02:00
Kalle
f317b9cb1f Reshow ranked team MMR's 2022-02-21 21:40:44 +02:00
Kalle
789d77abbd Show weapons when looking 2022-02-21 21:33:38 +02:00
Kalle
d9080914e1 Fix lint 2022-02-21 00:21:09 +02:00
Kalle
b7e2cd21bc Can stop looking Closes #734 2022-02-21 00:17:48 +02:00
Kalle
f092b2d3ca Set looking: true right away (temp) Closes #741 2022-02-20 15:34:16 +02:00
Kalle
4639f8172b Hide temporary play radio images Closes #739 2022-02-20 15:06:37 +02:00
Kalle
fa9fabeae9 Grayscale disabled nav icons Closes #740 2022-02-20 15:03:05 +02:00
Kalle
6ec0fba38a npm run build && npm start works (not npm run dev) 2022-02-20 14:18:22 +02:00
Kalle
aea2266bc2 Show XP when looking 2022-02-19 18:05:44 +02:00
Kalle
db2df661ee Make only one DB query in looking loader 2022-02-18 08:46:20 +02:00
Kalle
52822569de Fix lint 2022-02-18 08:26:29 +02:00
Kalle
d498456aae Expiring group Closes #733 2022-02-18 08:09:17 +02:00
Kalle
026bd67b78 Add polling to looking 2022-02-17 09:51:07 +02:00
Kalle
403502a527 Fix tab active style 2022-02-16 09:50:28 +02:00
Kalle
b24a7f4d98 Refactor SSE logic 2022-02-13 13:29:12 +02:00
Kalle
b72fe362ef Add loading states 2022-02-13 10:37:51 +02:00
Kalle
888298500d Looking page mobile friendly Closes #714 2022-02-13 10:14:15 +02:00
Kalle
4129134bc2 Looking columns mapped 2022-02-12 23:29:37 +02:00
Kalle
3a34edb9ab Make group inactive after reporting score 2022-02-10 23:32:32 +02:00
Kalle
0c9e56cf06 Prompt log in on play if needed Closes #726 2022-02-10 20:44:55 +02:00
Kalle
4ad46f1808 Optimize looking page loader DB calls 2022-02-10 17:45:59 +02:00
Kalle
ac85ee2972 Remove flaky test 2022-02-10 17:29:42 +02:00
Kalle
b247943d00 Rankeda and unranked together 2022-02-10 17:26:03 +02:00
Kalle
a436692574 Remove GroupSkill 2022-02-09 21:00:01 +02:00
Kalle
023c65df18 Adjust individual skill after match 2022-02-09 19:40:22 +02:00
Kalle
bcbcbf6d5f Fix typecheck 2022-02-08 22:33:00 +02:00
Kalle
fb1b3deba1 Show warning if reports different score 2022-02-08 22:19:54 +02:00
Kalle
4f4473b355 Match over info UI 2022-02-08 17:49:40 +02:00
Kalle
3913eea1a9 Fetch match results 2022-02-08 09:29:20 +02:00
Kalle
38e4add466 Stop showing more selects once enough scores 2022-02-08 00:24:49 +02:00
Kalle
8410898372 Submit score 2022-02-07 22:24:17 +02:00
Kalle
004501fa0a MapList with score validation logic 2022-02-07 09:49:41 +02:00
Kalle
8d6330712a Fix lint 2022-02-06 17:25:57 +02:00
Kalle
ff53604e66 Maplist for LFG matches 2022-02-06 17:21:47 +02:00
Kalle
7b633fe488 Switch stage constants location 2022-02-06 13:25:57 +02:00
Kalle
109757feda Add LFGGroup map list generating function 2022-02-06 13:21:28 +02:00
Kalle
b87d15c317 Title for match page 2022-02-05 12:58:12 +02:00
Kalle
54a32484e4 Unranked match: look again with unranked match 2022-02-05 12:13:48 +02:00
Kalle
d9160c055e Fix 404's 2022-02-05 11:11:38 +02:00
Kalle
2a9f12981b LFG Match page initial 2022-02-05 10:43:21 +02:00
Kalle
c1e46b84d6 Group with MMR 2022-02-04 09:14:07 +02:00
Kalle
1e37fb5bc2 Placeholder look for members of anonymized teams 2022-02-03 09:42:37 +02:00
Kalle
3579b8676f Show team MMR's in looking 2022-02-03 09:35:38 +02:00
Kalle
84fbcbf24f Fix ranked/unranked appearing in looking 2022-02-01 17:48:01 +02:00
Kalle
b6ac3be17d Match looking initial 2022-02-01 09:56:07 +02:00
Kalle
0745e37ba5 Add unranked/ranked style and logic 2022-01-31 23:56:47 +02:00
Kalle
4ff021ae33 Don't show buttons in looking if not captain 2022-01-31 09:54:40 +02:00
Kalle
ff1806d9fa Closes #723 - Conclusion screen for not ranked 2022-01-31 09:38:12 +02:00
Kalle
21dea578f4 Fix lint 2022-01-30 17:09:06 +02:00
Kalle
8667c04ae0 Closes #715 - Can unite groups 2022-01-30 17:05:40 +02:00
Kalle
19855ebc3d Can undo likes 2022-01-30 11:50:52 +02:00
Kalle
963c30a66e Can like groups and move them to another column 2022-01-29 22:50:24 +02:00
Kalle
056f106612 Member cards some kind of visual 2022-01-29 14:49:03 +02:00
Kalle
d5e62efd48 Seeded groups data to frontend 2022-01-29 11:33:01 +02:00
Kalle
827c0548d3 Add start looking minimal page 2022-01-27 23:13:38 +02:00
Kalle
09df17ec87 Extract AddPlayers component 2022-01-27 17:29:31 +02:00
Kalle (Sendou)
8b00647eb8 Play page redirects 2022-01-27 12:59:28 +02:00
Kalle
8e3a96d0c1
Play page initial (#700) 2022-01-27 00:03:03 +02:00
Kalle (Sendou)
54eff4747b Add TODO 2022-01-24 09:01:08 +02:00
Kalle (Sendou)
fe5d1078c9 Fix visual of match line when "top-only" 2022-01-24 08:55:53 +02:00
Kalle (Sendou)
cd432458bd Fix crash after reporting score 2022-01-23 11:16:49 +02:00
Kalle (Sendou)
f67c51b379 Fix 0's showing in bracket after event 2022-01-23 10:40:04 +02:00
Kalle (Sendou)
25972a6f07 Use real images for FancyStageBanner 2022-01-23 00:51:39 +02:00
Kalle (Sendou)
49482a526d Add beta info page 2022-01-22 17:25:37 +02:00
Kalle (Sendou)
679f6778eb Move validators to core 2022-01-22 16:12:35 +02:00
Kalle (Sendou)
0b649be10d Fix lint 2022-01-22 11:26:51 +02:00
Kalle (Sendou)
c94f2f5bca manage-team + join-team backend logic refactor 2022-01-22 11:09:46 +02:00
Kalle (Sendou)
6162528eea .server. models to keep them out of browser bundle 2022-01-21 09:29:52 +02:00
Kalle (Sendou)
fcce761c12 Put backend logic in models 2022-01-21 09:13:31 +02:00
Kalle (Sendou)
f1c2175153 Actually fix the hooks out of sync warning 2022-01-20 21:52:03 +02:00
Kalle (Sendou)
84d470e1e1 Scrollable modal 2022-01-20 21:42:21 +02:00
Kalle (Sendou)
212d3d09ac Use new be style when putting player to team 2022-01-20 21:39:03 +02:00
Kalle (Sendou)
1b40f1a6f3 Fix React hooks called out of sync error 2022-01-20 21:38:30 +02:00
Kalle (Sendou)
f187eb375b More manage-roster -> manage-team renames 2022-01-20 08:52:29 +02:00
Kalle (Sendou)
2a2c3fe377 Allow seed command with argument 2022-01-20 08:50:00 +02:00
Kalle (Sendou)
4ce68fc758 Rename manage-roster -> manage-team 2022-01-20 08:40:18 +02:00
Kalle (Sendou)
467468bf02 Modal go back on ESC button press 2022-01-19 23:55:26 +02:00
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