Commit Graph

335 Commits

Author SHA1 Message Date
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