Commit Graph

486 Commits

Author SHA1 Message Date
Kalle
561bca818f Top nav header new place for page title
Closes #910
2022-09-05 15:54:38 +03:00
Kalle
2d77587d7b Move TODO to issues 2022-09-05 15:19:10 +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
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
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
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
b3994ca30d Calendar section on front page done 2022-08-23 18:10:11 +03:00
Kalle
5319a73837 Refactor Avatar component to take user object
Closes #852
2022-08-17 21:06:53 +03:00
Kalle
a4aa217271 Make combobox required on new plus suggestion
Closes #842
2022-08-14 11:08:21 +03:00
Kalle
0e5bf4af83 Better quality Discord avatars Closes #838 2022-08-13 20:45:46 +03:00
Kalle
cc1dee675c Fix when editing event time doesn't match 2022-08-13 15:49:59 +03:00
Kalle
f1081a1caf Merge branch 'rewrite' of github.com:Sendouc/sendou.ink into calendar 2022-08-13 13:45:08 +03:00
Kalle
ec38b80147 Add translations 2022-08-13 12:39:08 +03:00
Kalle
8269288cb2 Banner on calendar page to notify about reporting 2022-08-12 22:52:55 +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
95571bd261 Date input fix error when server rendering 2022-08-07 14:19:43 +03:00
Kalle
53fa0147c7 Get users to combobox via useSWR 2022-08-07 12:07:32 +03:00
Kalle
b36b073521 Initial values from server for report results form 2022-08-06 22:18:06 +03:00
Kalle
f29ca201e8 Render errors if submitting fails 2022-08-06 12:01:45 +03:00
Kalle
8f9b420e31 Reset avatar is errored when src changes
Closes #844
2022-08-06 01:18:03 +03:00
Kalle
45d1ef8f45 Report results UI 2022-08-02 21:35:30 +03:00
Kalle
b33361c673 "adds a new event" E2E test 2022-07-31 15:35:06 +03:00
Kalle
1da04edc2d Calendar new page can edit event 2022-07-30 22:18:27 +03:00
Kalle
a53a448a7f Add tournament action data schema 2022-07-30 16:41:16 +03:00
Kalle
e47391a0bb Implement TagsSelector 2022-07-30 11:55:57 +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
48aa098ecd New Calendar event DiscordLinkInput 2022-07-29 22:47:40 +03:00
Kalle
5b459622d0 Add new events page initial 2022-07-29 21:24:45 +03:00
Kalle
aca0efc746 Calendar on stream progress 25.7. 2022-07-26 01:53:03 +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
db0bc1f102 Events layout initial 2022-07-23 13:21:51 +03:00
Kalle
62c803f4ad Calendar navigation initial 2022-07-21 10:25:58 +03:00
Kalle
542b437fce Type safe translations 2022-07-17 12:25:28 +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
8eeaa44d8b Footer fix alignment on mobile 2022-07-13 00:21:14 +03:00
Kalle
64bfa79afc Don't show patrons section if no patrons 2022-07-12 11:12:46 +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
13d9f324cf Fix menu items missing rounded border on bottom 2022-07-10 12:40:34 +03:00
Kalle
bb96f631fe Edit managers frontend 2022-07-07 11:23:16 +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
94d5e8c137 Add support for badge hue rotate 2022-07-05 11:30:01 +03:00
Kalle
9f50b04f2e Badge thumbnail images 2022-07-04 22:01:51 +03:00
Kalle
1d3e7dc02f Fix menu visibile on initial load due to SSR 2022-07-04 14:20:19 +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
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
55398278bf Add aria-label to menu button 2022-07-02 14:05:16 +03:00
Kalle
c9c53bc4c5 Fix current page nav icon resolving 2022-07-02 11:25:11 +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
9963963db2 Move SocialLink to route file 2022-06-25 14:20:14 +03:00
Kalle
1978bd6f1c BadgeContainer on user page initial 2022-06-25 13:26:43 +03:00
Kalle
ca60014bd6 Fix avatar bad src 2022-06-19 12:16:34 +03:00
Kalle
f9d3265e88 Don't show broken image placeholder when ava 404's 2022-06-18 17:42:55 +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
07cc6699f2 Relative time voting timing info 2022-06-11 21:53:34 +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
77cadcb06d Move useUser to modules/auth 2022-06-11 11:34:25 +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
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
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
6ac99d1d90 Deleting suggestion with FE validation 2022-06-02 17:52:23 +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
3d4f9af928 Delete comment test 2022-05-29 11:04:27 +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
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
9ceabd5700 Suggestions UI initial 2022-05-25 09:59:58 +03:00
Kalle
fdbac9082c Prompt user to log in if accessing plus logged out 2022-05-24 21:14:42 +03:00
Kalle
6433383fc7 Avatar placeholder if no discordAvatar set 2022-05-24 19:34:49 +03:00
Kalle
7d73a0478c Cypress with user page test 2022-05-17 19:50:05 +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
a249b7bfa7 Use custom Navigate instead of react-router 2022-04-16 19:26:06 +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
270e00fbe1 Upgrade deps 2022-04-15 18:22:36 +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
22966efcc7 Conclude tournament 2022-04-11 18:31:25 +03:00
Kalle
1287fa4ad9 Add chat to tournament matches 2022-04-03 10:35:07 +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
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
7d4c4a73f4 Tournament nav tweaks 2022-03-29 18:30:16 +03:00
Kalle
7d32da3822 Fix bracket straight lines height 2022-03-29 17:53:42 +03:00
Kalle
57960a05b2 Remove unnecessary infos 2022-03-28 00:36:54 +03:00
Kalle
cd7e8531aa Remove unnecessary fields from tournament team 2022-03-27 17:43:28 +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
9b775dcf41 Unread indicator for chat 2022-03-27 14:22:01 +03:00
Kalle
f536918d09 Chat SSE -> socket.io 2022-03-25 00:42:29 +02:00
Kalle
1b25502d64 Get names on chat from loader data 2022-03-22 22:44:54 +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
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
0dedf45552 Unify ranked/scrim LFGGroupSelector buttons 2022-03-17 01:25:35 +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
3b343e066e Admin can edit scores 2022-03-12 11:06:48 +02:00
Kalle
84acf4c3eb User can log out Closes #743 2022-03-07 21:47:27 +02:00
Kalle
1d7f736dee Can edit weapons in SendouQ settings 2022-03-06 13:38:55 +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
5b8866225c Show captains Closes #773 2022-03-05 00:16:13 +02:00
Kalle
007a03b05d Clean up unused code 2022-03-04 21:19:57 +02:00
Kalle
10468ff8e0 Show "Replay" indicator in GroupCard 2022-03-03 17:39:01 +02:00
Kalle
3f488796eb Fix lint 2022-03-03 09:03:42 +02:00
Kalle
24d21f3443 Match history page 2022-03-01 21:23:17 +02:00
Kalle
4f8f45fc9e Show relative team MMR for ranked teams 2022-02-28 20:27:42 +02:00
Kalle
10e2f1470b Pre-add players page Closes #716 2022-02-27 16:55:38 +02:00
Kalle
6d82d99b18 Link to old user profiles on match page 2022-02-27 11:06:14 +02:00
Kalle
7382a653ab Fix lint 2022-02-26 21:55:37 +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
fcf1bbd9c1 Better error page Closes #763 2022-02-25 21:58:41 +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
d3dc68592e Can choose "Look again" even if not captain 2022-02-24 09:53:38 +02:00
Kalle
fc835eae55 Allow user to leave group Closes #749 2022-02-24 09:37:41 +02:00
Kalle
8d7d69584a Can't take action if group expire Closes #745 2022-02-23 17:35:51 +02:00
Kalle
1f4c3d0d97 Fix match score submit wrong order in some cases 2022-02-23 17:12:56 +02:00
Kalle
7396ddb049 Fix group meetup channel name 2022-02-23 15:49:22 +02:00
Kalle
d423fbd347 Fix expiration texts 2022-02-21 23:48:26 +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
fa9fabeae9 Grayscale disabled nav icons Closes #740 2022-02-20 15:03:05 +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
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
4f4473b355 Match over info UI 2022-02-08 17:49:40 +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
7b633fe488 Switch stage constants location 2022-02-06 13:25:57 +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