Commit Graph

1559 Commits

Author SHA1 Message Date
Kalle
3e28818269 Analyzer damage table initial 2022-09-15 13:14:33 +03:00
Kalle
69b1e476d7 Analyzer add missing overwrites 2022-09-15 11:32:25 +03:00
Kalle
d5ba4016ef
Merge pull request #947 from DoubleCookies/rewrite
Outline for tabbed add as text/user buttons
2022-09-15 10:52:55 +03:00
Kalle
cf5a9de6e5
Remove curly boys 2022-09-15 10:52:28 +03:00
Kalle
fb08ca8426
Add empy line at EOF 2022-09-15 10:51:45 +03:00
DoubleCookies
aa2f546761 fix 2022-09-15 08:07:47 +03:00
DoubleCookies
c97368d8f4 remove unused styles 2022-09-15 08:07:05 +03:00
Kalle
2fc048d1a9 Analyzer add weapon badge about weight 2022-09-15 01:23:49 +03:00
Kalle
9260accd73 Adjust patch badge color 2022-09-15 01:07:58 +03:00
Kalle
4c9cd0796e Clear analyzer weapon combobox input on focus 2022-09-15 01:05:55 +03:00
Kalle
1f6d034b14 Analyzer add patch badge 2022-09-15 00:34:14 +03:00
Kalle
c8d2d996e4 Run/swim speed to analyzer 2022-09-15 00:16:37 +03:00
DoubleCookies
8827d633a3 move css to utils 2022-09-14 23:07:40 +03:00
Kalle
35dbe4e6cc Default preview image for Discord etc. links 2022-09-14 23:04:52 +03:00
Kalle
84d042431e
Fix mobile layout calendar
Fix mobile layout calendar
2022-09-14 22:33:15 +03:00
Kalle
69a656a958 Use css var for padding 2022-09-14 22:28:30 +03:00
Kalle
55705e2832 Prettify 2022-09-14 22:28:11 +03:00
Kalle
263bcbbecb Analyzer Ink Recover Up effect 2022-09-14 22:18:11 +03:00
Garcez17
872778ed05 Fix mobile layout calendar 2022-09-14 14:21:36 -03:00
Kalle
a6226a215c White ink stat 2022-09-14 19:46:08 +03:00
Kalle
444bab65d4 New style for StatCards 2022-09-14 19:32:56 +03:00
Kalle
13db27b512 Display slosher shots as "Sloshes" 2022-09-14 19:13:01 +03:00
Kalle
01b2693e88 Display sub name in consumption table 2022-09-14 19:04:47 +03:00
Kalle
60b2038a2f Full charges instead of shots for splatlings 2022-09-14 18:56:52 +03:00
DoubleCookies
39dfa8eeae outline for tabbed add as text/user buttons 2022-09-14 15:19:10 +03:00
Kalle
6ae3f02236 Remove internal name from params json 2022-09-14 15:11:34 +03:00
Kalle
c0c91b3d28 Combine vertical and horizontal swing if same val 2022-09-14 15:03:47 +03:00
Kalle
dad5c3c0ac Ink consumption table for analyzer 2022-09-14 14:55:30 +03:00
Kalle
18c2d3bbab Make lint happy 2022-09-14 14:06:52 +03:00
Kalle
e48465b66a Upgrade deps 2022-09-14 14:06:46 +03:00
Kalle
012d7f8afc Add launch gear 2022-09-14 13:43:57 +03:00
Kalle
b6ae4f73da Add Hero Shot & REEF-LUX 2022-09-14 13:02:52 +03:00
Kalle
5216ea9275 Serialize build and weapon to URL in analyzer 2022-09-14 12:11:04 +03:00
Kalle
03ab68d9ac Create empty build constant 2022-09-14 12:05:30 +03:00
Kalle
85c74496ec Fix typo 2022-09-14 12:03:47 +03:00
Kalle
acb94460c6 Ink saver levels initial 2022-09-14 01:12:18 +03:00
DoubleCookies
cf9df3b28c outline for tabbed lang buttons 2022-09-13 15:14:01 +03:00
Kalle
ef1b89675d KitCards for analyzer 2022-09-12 19:31:33 +03:00
Kalle
21e1376273 Sub & special weapons in translation json 2022-09-12 18:21:39 +03:00
Kalle
8990f565c7 Fix bug w/ WeaponCombobox not showing initial val 2022-09-12 17:08:49 +03:00
Kalle
42ebd69ebc Update main weapons folder name 2022-09-12 16:52:52 +03:00
Kalle
dd5680b41b buildToAbilityPoints handle main abilities 2022-09-12 16:52:52 +03:00
Kalle
8065e8a6e5 Add special saver effect 2022-09-12 16:52:52 +03:00
Kalle
454dc923a4 Add id: 8010 to params.json 2022-09-12 16:52:52 +03:00
Kalle
3d837a95fe Rename variable 2022-09-12 16:52:52 +03:00
DoubleCookies
8a08f14254 Higher bracket URL size 2022-09-11 12:37:37 +03:00
Kalle
bc2b83373f Handle changing weapon in analyzer 2022-09-10 21:16:29 +03:00
Kalle
73e3ddf007 Analyzer UI initial 2022-09-10 21:06:19 +03:00
Kalle
3701f48763 Fix can't scroll badge winner report modal
Closes #937
2022-09-10 15:56:28 +03:00
Kalle
9324d5cdfa Add Danish language to dropdown 2022-09-10 11:32:12 +03:00
Kalle
0b040e170a Bake ability values calculation into abilityPointsToEffect 2022-09-08 22:28:53 +03:00
Kalle
b7c6ac7a67 Ability values with overwrites 2022-09-08 22:14:13 +03:00
Kalle
2ba93c41c8 Create analyzer json get overwrites 2022-09-08 20:27:36 +03:00
Kalle
109c60ca41 Analyzer core structure 2022-09-08 18:32:00 +03:00
Kalle
3aa1e9061a This/Last/Next week to one translation string
Closes #923
2022-09-07 10:59:12 +03:00
Kalle
fe7a14168c Gear and weapon translations for every language 2022-09-05 21:12:20 +03:00
Kalle
1a34a39359 Language switcher toggle 2022-09-05 21:10:57 +03:00
Kalle
5410f52b1f Extract ColorModeToggle component 2022-09-05 17:05:42 +03:00
Kalle
561bca818f Top nav header new place for page title
Closes #910
2022-09-05 15:54:38 +03:00
Kalle
003c2c47a4 Fix badge owners number input width 2022-09-05 15:23:12 +03:00
Kalle
ffd184ffe6 Better user combobox options location badges modal
Closes #883
2022-09-05 15:21:56 +03:00
Kalle
2d77587d7b Move TODO to issues 2022-09-05 15:19:10 +03:00
Kalle
5275520533 Show joining instructions when passing Plus Voting
Closes #911
2022-09-04 23:27:00 +03:00
Kalle
35e1c3a03f Increase light mode abilities selector bg contrast
Closes #900
2022-09-04 23:02:24 +03:00
Kalle
b559ac87d0 Validate all abilities are set before submitting a build
Closes #901
2022-09-04 22:47:03 +03:00
Kalle
9162b9afd2 Add user build tab E2E tests
Closes #909
2022-09-04 22:13:36 +03:00
Kalle
395be2f95f Upgrade deps 2022-09-04 18:57:56 +03:00
Kalle
db0878c3ab Add color mode toggle
Closes #830
2022-09-04 15:23:59 +03:00
Kalle
d14d1acb11 Padding between user results table and footer
Closes #879
2022-09-03 20:54:36 +03:00
Kalle
24a151dd3b Event description include line breaks
Closes #880
2022-09-03 20:47:20 +03:00
Kalle
b69b20378b Fix + make tickets of problem comments 2022-09-03 18:14:53 +03:00
Kalle
28e3d22f92 Editing builds 2022-09-03 18:14:53 +03:00
Kalle
d69f335866 Can delete build 2022-09-03 18:14:53 +03:00
Kalle
f43e51b377 Seed with ability tuples 2022-09-03 18:14:53 +03:00
Kalle
c06a7c4f74 Can submit a new build 2022-09-03 18:14:53 +03:00
Kalle
e94cd3e755 AbilitySelector 2022-09-03 18:14:53 +03:00
Kalle
b75a3c5703 Build schema initial 2022-09-03 18:14:53 +03:00
Kalle
8260004b92 Gear selectors 2022-09-03 18:14:53 +03:00
Kalle
b94a1beb6f UNKNOWN ability 2022-09-03 18:14:53 +03:00
Kalle
6db1136ac2 Add weapons images to combobox 2022-09-03 18:14:53 +03:00
Kalle
a895976381 Weapons selector initial 2022-09-03 18:14:53 +03:00
Kalle
b98c9ef16c Builds form progress 2022-09-03 18:14:53 +03:00
Kalle
788da90437 BuildCard bottom row buttons 2022-09-03 18:14:53 +03:00
Kalle
9090d19b57 Add build description button 2022-09-03 18:14:53 +03:00
Kalle
816985b5ea Fixes and tweaks 2022-09-03 18:14:53 +03:00
Kalle
0f0542f2e9 Build cards initial 2022-09-03 18:14:53 +03:00
Kalle
4ca2eef6c9 JSON stringify modes 2022-09-03 18:14:53 +03:00
Kalle
f4234b0aa0 Builds query to user page 2022-09-03 18:14:53 +03:00
Kalle
0efff0c907 Builds migration with seed 2022-09-03 18:14:53 +03:00
Kalle
382af8439f Add ability types 2022-09-03 18:14:53 +03:00
Kalle
ea9fda5cb5 Gear ids and translations 2022-09-03 18:14:53 +03:00
Kalle
820dfc7668 Add ability icons 2022-09-03 18:14:53 +03:00
Kalle
98584b6299 Add weapon ids list 2022-09-03 18:14:53 +03:00
Kalle
2a163ad3d5 Add translations to front page 2022-08-24 20:42:28 +03:00
Kalle
3c09c16e05 Front page feature cards 2022-08-24 20:27:08 +03:00
Kalle
db96345e53 Articles on front page initial 2022-08-24 00:17:45 +03:00
Kalle
b3994ca30d Calendar section on front page done 2022-08-23 18:10:11 +03:00
Kalle
64c53d7d83 Front page upcomig events initial 2022-08-22 00:08:47 +03:00
Kalle
14d12e110c Front page recent winners initial 2022-08-21 22:34:36 +03:00
Kalle
afd6a00fa2 Add theme-color meta tag 2022-08-20 17:01:05 +03:00
Kalle
806aabd4e1 Add a few more og properties 2022-08-20 16:44:58 +03:00
Kalle
009c2a3e24 Article feature initial 2022-08-20 16:15:03 +03:00
Kalle
924cfa1b55 fix(calendar): events late on sunday not showing in some cases
For events happened late on Sunday it was possible
for them to not show in the list view at all.
They were only showing as number in the navigation section.
Thanks to 공주 Alice#0232 for reporting.

Closes #877
2022-08-20 11:43:04 +03:00
Kalle
a5f9d91b91 Add map pool serializer module 2022-08-18 17:51:14 +03:00
Kalle
f7224588bd Map list serializer module initial 2022-08-17 22:48:41 +03:00
Kalle
5319a73837 Refactor Avatar component to take user object
Closes #852
2022-08-17 21:06:53 +03:00
Kalle
dbffc82138 Fix radio input width
Closes #870
2022-08-17 21:02:48 +03:00
Kalle
adf15e72e6 Seed via admin panel 2022-08-16 20:17:25 +03:00
Kalle
b7b8e382de User db queries to sql files 2022-08-16 17:43:41 +03:00
Kalle
294807ce2a PlusVotes db queries to sql files 2022-08-16 00:29:32 +03:00
Kalle
78578d93bf PlusSuggestions db queries to sql files 2022-08-14 13:41:05 +03:00
Kalle
01722dd26d Calendar db queries to sql files 2022-08-14 13:15:18 +03:00
Kalle
9f13586e30 Badge db queries to sql files 2022-08-14 12:22:04 +03:00
Kalle
6adb44dbf6 Move DB models to folders 2022-08-14 12:05:44 +03:00
Kalle
a4aa217271 Make combobox required on new plus suggestion
Closes #842
2022-08-14 11:08:21 +03:00
Kalle
431f5b525b Let user names wrap on profile page
Closes #829
2022-08-14 10:52:05 +03:00
Kalle
3baa2ebf60 Calendar "This Week" disable click and focus
Closes #862
Closes #859
2022-08-13 21:29:54 +03:00
Kalle
d3c982cf9a Fix ' showing as escaped in badge name Closes #837 2022-08-13 20:58:23 +03:00
Kalle
0e5bf4af83 Better quality Discord avatars Closes #838 2022-08-13 20:45:46 +03:00
Kalle
1a353c350b Validate permission to report results 2022-08-13 15:54:18 +03:00
Kalle
cc1dee675c Fix when editing event time doesn't match 2022-08-13 15:49:59 +03:00
Kalle
e855a0fc13 Fix permission to edit calendar event 2022-08-13 15:30:17 +03:00
Kalle
d835be6208 Year on tournament page 2022-08-13 15:27:35 +03:00
Kalle
9e7fea7741 Allow results on user page to span wider 2022-08-13 15:26:05 +03:00
Kalle
96a2019c43 Center plain names on user results page 2022-08-13 15:17:57 +03:00
Kalle
f1081a1caf Merge branch 'rewrite' of github.com:Sendouc/sendou.ink into calendar 2022-08-13 13:45:08 +03:00
Kalle
c1520a9041 E2E tests to report results 2022-08-13 13:42:49 +03:00
Kalle
678f1c6bbb Fix existing calendar E2E tests 2022-08-13 13:07:15 +03:00
Kalle
ec38b80147 Add translations 2022-08-13 12:39:08 +03:00
Kalle
1b652f52f0 Add translations to user page 2022-08-13 10:27:19 +03:00
Kalle
5fc8ad637a Fix wrong players showing in result tables 2022-08-13 10:14:55 +03:00
Kalle
d45db1527a Redirect to event page after reporting winners 2022-08-12 23:00:59 +03:00
Kalle
8269288cb2 Banner on calendar page to notify about reporting 2022-08-12 22:52:55 +03:00
Kalle
bc599e0c60 Fix not able to add tournament with no badges 2022-08-11 23:49:25 +03:00
Kalle
2a7d32b77f User profile results page 2022-08-11 23:21:15 +03:00
Kalle
f38fafd493 Results styled 2022-08-11 01:08:09 +03:00
Kalle
463f0fada2 Event results initial table component 2022-08-09 23:44:55 +03:00
Kalle
28fd38f49d CalendarEventResults seed 2022-08-07 16:07:43 +03:00
Kalle
8fb4f515ad Adjust calendar event results table to deduplicate 2022-08-07 15:36:10 +03:00
Kalle
af65d8eb77 CALENDAR_EVENT constants to object 2022-08-07 14:31:04 +03:00
Kalle
95571bd261 Date input fix error when server rendering 2022-08-07 14:19:43 +03:00
Kalle
6a6f8a19e8 New event dates fix able to submit without one 2022-08-07 13:25:49 +03:00
Kalle
53fa0147c7 Get users to combobox via useSWR 2022-08-07 12:07:32 +03:00
Kalle
eb3b5a1cfe Don't put hidden team report winners to DOM 2022-08-07 11:41:29 +03:00
Kalle
b36b073521 Initial values from server for report results form 2022-08-06 22:18:06 +03:00
Kalle
6a649efc06 Saves winners to DB 2022-08-06 18:42:56 +03:00
Kalle
f29ca201e8 Render errors if submitting fails 2022-08-06 12:01:45 +03:00
Kalle
e04f573029 Closes #845 fix bio overflow in voting 2022-08-06 11:09:12 +03:00
Kalle
bae2b12371 Add header to bio in Plus Voting 2022-08-06 11:08:33 +03:00
Kalle
8f9b420e31 Reset avatar is errored when src changes
Closes #844
2022-08-06 01:18:03 +03:00
Kalle
1157502e0c Fix typo in voting tip 2022-08-06 01:17:06 +03:00
Kalle
c86a548b4f Parse tournament results and return errors 2022-08-06 01:12:57 +03:00
Kalle
762cb5e215 Implement parsing report scores action 2022-08-05 00:35:10 +03:00
Kalle
45d1ef8f45 Report results UI 2022-08-02 21:35:30 +03:00
Kalle
2d1553f627 Allow admin to delete suggestions with comments 2022-08-01 21:02:27 +03:00
Kalle
e39e72c840 Report results page link 2022-08-01 09:28:45 +03:00
Kalle
c4b5d8d1c2 "browses weeks and inspects event page" E2E test 2022-07-31 20:32:38 +03:00
Kalle
8e51c26ab5 Show "No events this week" when appropriate 2022-07-31 20:19:12 +03:00
Kalle
f8d97ff3c5 Badge prize preview inside tags 2022-07-31 19:59:03 +03:00
Kalle
2477c5fb10 "edits an event" E2E test 2022-07-31 19:19:44 +03:00
Kalle
b33361c673 "adds a new event" E2E test 2022-07-31 15:35:06 +03:00
Kalle
6281c4cb5f "operates custom form controls" E2E test 2022-07-31 15:25:26 +03:00
Kalle
8564c990ef Merge branch 'rewrite' of github.com:Sendouc/sendou.ink into calendar 2022-07-31 14:41:59 +03:00
Kalle
7d7f771c19 Edit event full flow 2022-07-31 14:16:03 +03:00
Kalle
beb8e73436 Title for event page + edit page 2022-07-31 13:38:10 +03:00
Kalle
d67312f825 Sort tags before adding to DB 2022-07-31 13:14:30 +03:00
Kalle
a02633ea84 Make tags deletable 2022-07-31 13:05:31 +03:00
Kalle
1da04edc2d Calendar new page can edit event 2022-07-30 22:18:27 +03:00
Kalle
7d333a5b7f Implement adding new event to DB 2022-07-30 17:45:12 +03:00
Kalle
a53a448a7f Add tournament action data schema 2022-07-30 16:41:16 +03:00
Kalle
fc252568b8 Save discord invite code instead of the whole URL 2022-07-30 13:19:54 +03:00
Kalle
57fb28a449 Implement BadgesSelector 2022-07-30 12:56:51 +03:00
Kalle
e47391a0bb Implement TagsSelector 2022-07-30 11:55:57 +03:00
Kalle
0b1993b4f1 Make bracketUrl mandatory 2022-07-30 11:07:17 +03:00
Kalle
03db8c827e Time zone info in list view 2022-07-30 10:56:42 +03:00
Kalle
438c303ef5 Refactor ErrorMessage to use FormMessage 2022-07-30 10:38:39 +03:00
Kalle
c6115e3540 DatesInput tweaks 2022-07-30 10:35:15 +03:00
Kalle
a209d6afeb Manage plus tier query param on modal switch 2022-07-30 00:27:26 +03:00
Kalle
dcd0918bce Fix menu overflow on Safari
Closes #835 hopefully for real this time
2022-07-29 23:57:44 +03:00
Kalle
c3c43c1943 Use transform for menu animation
Closes #827 Closes #835
2022-07-29 23:30:15 +03:00
Kalle
212966eb32 Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into calendar 2022-07-29 22:54:25 +03:00
Kalle
6a5368baf1 New Calendar event BracketUrlInput 2022-07-29 22:53:44 +03:00
Kalle
48aa098ecd New Calendar event DiscordLinkInput 2022-07-29 22:47:40 +03:00
Kalle
89b358f86d New Calendar event DatesInput 2022-07-29 22:21:31 +03:00
Kalle
5b459622d0 Add new events page initial 2022-07-29 21:24:45 +03:00
Kalle
228af2a5d2 Calendar event page prevent time layout shift 2022-07-29 21:02:02 +03:00
Kalle
04074f434e Change flatMap -> map with fragments in event list 2022-07-29 20:59:09 +03:00
Kalle
23ba309166 Don't add Badge prizes tag in seeding 2022-07-28 23:51:31 +03:00
Kalle
d39fa5c0d1 Tags to seed 2022-07-28 23:43:24 +03:00
Kalle
83a6e15737 Fix tag name visibility in light mode 2022-07-28 23:25:33 +03:00
Kalle
5383becfcb Fill up tags.json with initial tags 2022-07-28 23:25:23 +03:00
Kalle
0ac3ad9c2b addTagArray typing from global type 2022-07-28 23:01:45 +03:00
Kalle
61ace7e9b2 Rename global CSS files 2022-07-28 22:59:58 +03:00
Kalle
6de71121dc db.calendar -> db.calendarEvents 2022-07-28 22:50:26 +03:00
Kalle
b22b311494 Event page don't show "Day" if one day event 2022-07-28 22:46:31 +03:00
Kalle
efbcafaf82 Badge prize preview on calendar event page 2022-07-28 22:39:33 +03:00
Kalle
5f196ac1d9 Add tags to event page 2022-07-28 21:57:00 +03:00
Kalle
907cc90eb0 Extract Tags component to a separate file 2022-07-28 21:49:05 +03:00
Kalle
b21bd5c12d Add CalendarEvent.tags in migration 2022-07-28 21:37:05 +03:00
Kalle
e0d512bd88 Translate tag 2022-07-28 21:32:42 +03:00
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