Commit Graph

192 Commits

Author SHA1 Message Date
Kalle
057c4cf18d Support page 2023-01-23 00:39:21 +02:00
Kalle
318f7a5043 Ugprade Remix deps 2023-01-22 14:32:18 +02:00
Kalle
f0f6b14f58 Upgrade deps 2023-01-22 13:40:05 +02:00
Kalle
f48c49aaa5 Build Analyzer: AP comparing 2023-01-21 12:10:40 +02:00
Kalle
8ba5c715fe Remove Fathom 2023-01-20 21:59:08 +02:00
Kalle
1170dc0bd0 Team: Manage roster page 2023-01-06 16:33:37 +02:00
Kalle
fd28e382ec Team: Flags from data 2022-12-27 22:23:41 +02:00
Kalle
d51beef9d5 Team: UI initial 2022-12-27 22:01:15 +02:00
Kalle
7945e1ecc7 User page: weapon pool 2022-12-13 18:51:06 +02:00
Kalle
89fdb8ac43 Don't track search params changing 2022-12-12 21:32:10 +02:00
Kalle
0014940d31 Fix URL 2022-12-12 21:05:22 +02:00
Kalle
3fdfdff429 Use Fathom 2022-12-12 20:51:18 +02:00
Kalle
d5579358fa Remove GA 2022-12-12 20:23:06 +02:00
Kalle
c3963223b6
Add initial Playwright tests (#1191) 2022-12-11 17:18:33 +02:00
Kalle
9cd190df53 Try to fix GA 2022-12-10 23:54:10 +02:00
Kalle
1c21e333ae Fix can't use useLoaderData in an error boundary 2022-12-08 21:50:10 +02:00
Kalle
26e43b2ead Restore light mode 2022-12-08 21:29:51 +02:00
Kalle
61b91af464 Fix GA errors 2022-12-07 20:55:25 +02:00
Kalle
9e2f7fb59d Fix process.env in frontend code 2022-12-07 19:28:46 +02:00
Kalle
0946a77957 Add GA 2022-12-07 18:57:59 +02:00
Kalle
1e3832944f PWA 2022-12-06 14:18:20 +02:00
Kalle
51bebe00c8 Theme color to bg color 2022-12-05 16:32:14 +02:00
Kalle
34ca290bdd
Redesign (#1179)
* Remove light mode

* Trim header

* New front page initial

* Get rid of build layout

* Breadcrumbs

* Desktop side nav

* Overhaul colors

* Add breadcrumbs

* New sub nav style

* Front page action buttons

* Add back add new build button

* Add articles page with icon

* Minor Object damage page layout tweaks

* Remove one unnecessary render from object damage

* Fix wrong link in article page

* Profile -> My Page in header

* Log in/out buttons in front

* Add drawings to front page

* Remove unnecessary comment
2022-12-05 16:05:51 +02:00
Kalle
7658f8cb27 Add default description 2022-11-16 19:45:38 +02:00
Kalle
ecd5a2a2f7
TO Tools (#1077)
* Add DB tables

* Toggle TO Tools in new calendar event page

* TO tools page initial

* Add counter pick map pool UI

* Save tie breaker map pool

* Save team name

* Layout initial

* Load users own team

* Make team name input required

* Rename team

* Divide to sections

* Submit team map pool

* New style for counter pick map pool section expand

* Fix tiebreaker map pool not saved when new event made

* Split to many forms

* According for team name

* Small UI consistency tweaks

* Add explanation to tie breaker maps

* Remove redundant prop

* Fix new calendar event todos

* Use required hidden input component in new build page

* Fix to tools page showing even when toToolsEnabled = 0

* Delete team

* Map list generation tests initial

* Add tournament map list generation tests

* First version of map list generation

* Add seeded RNG

* Rearrange files

* Generation with strats initial

* Default map pool + allow one team not to have any maps

* Implement map generation via backtracking

* Make order of stages irrelevant

* Add one more TODO

* Seed

* Fixes

* Tournament map list generator initial

* More functional maplist

* Fix any

* Persist in search params initial

* Add date to calendar seed

* Revert "Persist in search params initial"

This reverts commit f01a9e6982.

* Allow admin to start tournament

* Rate maplist instead of optimal / suboptimal

* Add fallback if map list generation errors out

* Hide TO Tools if not admin

* Submit team roster and delete members

* Teams page

* Give roster s p a c e

* Clear user combobox on sent + layout tweaks

* Gracefully handle updating after tournament has started

* Add title

* Persist map list in search params

* Add i18n
2022-11-13 14:41:13 +02:00
Remmy Cat Stock
2fa18547b0 Wrap useTranslation to detect missing translations on the route 2022-11-05 14:45:12 +01:00
Remmy Cat Stock
19fbd85f8f
Add auto theme option for detecting the theme from system/browser preferences (#1083)
* Add "auto" option to theme switcher

* Add labels to language and user menu buttons

* Update translation-progress.md
2022-11-03 01:44:56 +01:00
Kalle
743a89bfc7 Preload translations to avoid layout flashing
Closes #869
2022-10-29 10:08:19 +03:00
Kalle
dfd16cef2f Fix errors not getting logged 2022-10-23 12:49:05 +03:00
Remmy Cat Stock
db4f633a47
Add type for route handles 2022-10-21 00:48:10 +02:00
Kalle
ff857f3369 Custom URL url redirects and replacements 2022-10-02 00:25:13 +03:00
Kalle
fa5cd28c0d More friendly error page 2022-09-25 16:18:09 +03:00
Kalle
3129822c49 Remember selected language
Closes #921
2022-09-25 15:55:22 +03:00
Kalle
cb369985c8 Build analyzer don't scroll to top on build change
Closes #952
2022-09-25 14:24:18 +03:00
Kalle
35dbe4e6cc Default preview image for Discord etc. links 2022-09-14 23:04:52 +03:00
Kalle
db0878c3ab Add color mode toggle
Closes #830
2022-09-04 15:23:59 +03:00
Kalle
afd6a00fa2 Add theme-color meta tag 2022-08-20 17:01:05 +03:00
Kalle
b7b8e382de User db queries to sql files 2022-08-16 17:43:41 +03:00
Kalle
6adb44dbf6 Move DB models to folders 2022-08-14 12:05:44 +03:00
Kalle
8564c990ef Merge branch 'rewrite' of github.com:Sendouc/sendou.ink into calendar 2022-07-31 14:41:59 +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
61ace7e9b2 Rename global CSS files 2022-07-28 22:59:58 +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
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
4b8eecc2c9 Footer desktop initial 2022-07-11 16:11:09 +03:00
Kalle
b3050bea94 Fix Samsung Internet auto dark mode activating 2022-07-10 12:35:19 +03:00
Kalle
b8c15c3289 Fix overflow hidden not working on nobile 2022-07-03 13:22:29 +03:00
Kalle
b633562f7e More graceful 404's 2022-06-18 23:37:57 +03:00
Kalle
1c1d8dd6fe Move auth to modules 2022-06-11 11:21:06 +03:00
Kalle
7528652b42 PlusTier view 2022-06-04 16:04:43 +03:00
Kalle
fdbac9082c Prompt user to log in if accessing plus logged out 2022-05-24 21:14:42 +03:00
Kalle
1f25ac89c5 Show text with suggested for info 2022-05-24 00:15:19 +03:00
Kalle
cabe6f53e6 Find suggestions database logic 2022-05-22 20:54:23 +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
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
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
270e00fbe1 Upgrade deps 2022-04-15 18:22:36 +03:00
Kalle
e2dda84d83 Introduce eslint-plugin-react-hooks 2022-03-30 19:58:08 +03:00
Kalle
8d647eaeff Use React Context for sharing socket 2022-03-29 23:40:08 +03: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
97327da3cd Fix favicon 500 errors 2022-03-02 17:22:20 +02:00
Kalle
24d21f3443 Match history page 2022-03-01 21:23:17 +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
52e4d5e9e9 Fix message: null on error page 2022-02-26 15:29: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 (Sendou)
c8377f5a98 Change zod schemas location 2022-01-16 21:59:33 +02:00
Kalle (Sendou)
346026b119 Extract bracket service 2022-01-10 09:03:55 +02:00
Kalle (Sendou)
44e72a8a18 Memoize the Layout a bit 2022-01-06 15:44:54 +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)
e7eafad962 Rid of Tailwind 2021-12-31 17:48:20 +02:00
Kalle (Sendou)
d77fa8a8a3 Add Tailwind 2021-12-29 08:46:40 +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)
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)
6106803745 Invite players via dropdown loader functionality 2021-12-05 15:15:04 +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)
8956ffcae7 Fix hydration error in console 2021-11-28 22:24:10 +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)
7d18d66c7a Nuke let from template 2021-11-27 03:08:35 +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