Commit Graph

94 Commits

Author SHA1 Message Date
Erik Vroon
53bc71ddf6 Fix frontend code style 2024-03-04 14:37:49 +01:00
Erik Vroon
2d088e91d0 Fix path to tournament logos (#571) 2024-02-28 08:55:53 +01:00
robigan
e3fa10e2a9 Team logos (#529) 2024-02-28 08:41:19 +01:00
Erik Vroon
76adf613d3 Add support for umami analytics (#528)
We can make the loading of analytics script slightly more abstract to
support more providers.
2024-02-24 22:34:51 +01:00
Erik Vroon
14f036848c Replace vercel analytics (#527)
Replace vercel analytics by Plausible analytics for selfhosting
purposes.
2024-02-24 19:50:31 +01:00
Erik Vroon
34ea8e85cc Fix logout button (#522)
fix https://github.com/evroon/bracket/issues/513

I also improved and optimized the rest of the navbar
2024-02-24 13:19:42 +01:00
Erik Vroon
880d212ce9 Use uuids for logos (#488)
Otherwise uploads can replace current files with the same name.
Also fixes and adds more tests for logo uploads.
2024-02-18 11:24:35 +01:00
Erik Vroon
6899980ec2 Improve courts page (#486) 2024-02-17 19:37:28 +01:00
Erik Vroon
0c0d99f8fe Write files async (non-blocking) (#485)
Also remove unused files and reload image in frontend when uploading a
new image.
2024-02-17 18:20:01 +01:00
Erik Vroon
181bbe3368 SWR: Keep cache when mutating (#484) 2024-02-17 14:31:07 +01:00
Erik Vroon
31537a6f99 Add sort params to endpoints (#482)
Fixes a bug with pagination where only results of the currently shown
page are sorted, not all results are sorted and then limited to 25
items.
2024-02-17 13:20:54 +01:00
Erik Vroon
85f8583de9 Fix translations dashboard (#479) 2024-02-15 19:21:43 +01:00
Erik Vroon
15870bfbb1 Stop using isvalidating (#478)
Using isValidating, we see flickering in the UI because we don't use the
caching of SWR optimally. We only need to check whether there is some
data available, expired or not.
2024-02-15 19:17:35 +01:00
Erik Vroon
43989878cd Improve fetching of tournaments (#475)
This PR simplifies fetching of a single tournament
2024-02-13 19:11:46 +01:00
Erik Vroon
f4c8bcdd65 Improve ui when there is no content (#473)
Adds more skeletons, fixes user page, fixes bug in modal for stage item
creation, etc.
2024-02-13 18:57:41 +01:00
Erik Vroon
f834fab2de Add pagination (#472)
Adds pagination (backend and frontend) to teams and players GET
endpoints
2024-02-12 19:08:50 +01:00
Erik Vroon
14728a62bb Make dashboard endpoint unique (#454) 2024-02-10 16:15:27 +01:00
Erik Vroon
5e6ac5b165 Update baseurl for custom domain (#449) 2024-02-09 14:17:14 +01:00
Erik Vroon
0b4c8412d0 Small fixes after pydantic migration and translations (#448) 2024-02-09 12:45:02 +01:00
Erik Vroon
f8c2607c4d Dutch translations (#444) 2024-02-06 22:04:19 +01:00
Erik Vroon
4ea921239b Fix capitalization (#428) 2024-02-04 20:10:37 +01:00
Erik Vroon
5659cd7344 Add demo functionality (#413)
Lets users create a temporary demo account to test the tool
2024-02-03 14:18:57 +01:00
Erik Vroon
b2a2dd1ea1 Implement hcaptcha (#410) 2024-01-17 16:31:38 +01:00
SevicheCC
78b6eab62b Add i18n support and translation for zh-CN (#394)
Relative issue: #223

---------

Co-authored-by: Erik Vroon <erik.vroon@channable.com>
Co-authored-by: Erik Vroon <erik.vroon22@gmail.com>
2023-12-28 19:15:41 +01:00
Erik Vroon
033e8864f2 Update all frontend dependencies (#385) 2023-12-06 21:56:05 +01:00
Erik Vroon
cf00344c01 Fix vertical alignment and other frontend issues (#382) 2023-12-06 21:27:02 +01:00
Erik Vroon
908d05e36d Fix stage item modal: team_id should be string (#381) 2023-12-06 15:41:39 +01:00
Erik Vroon
c8177603c3 Make frontend more responsive (#371) 2023-12-02 17:52:00 +01:00
Erik Vroon
c93e0b3801 Bump mantine from 6.0.10 to 7.0.0 in /frontend (#273)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-02 11:41:41 +01:00
dependabot[bot]
fcf8dd16bd Bump next from 13.3.4 to 14.0.3 in /frontend (#335)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Vroon <erik.vroon@channable.com>
2023-11-27 22:06:56 +01:00
Erik Vroon
b50e38ca60 Fix array sorting (#353) 2023-11-26 12:37:15 +01:00
Erik Vroon
daf081b802 Small usability fixes (#350) 2023-11-25 17:06:45 +01:00
Erik Vroon
b8cedd2a8e Implement autoscheduling with parameters (#348) 2023-11-25 12:08:54 +01:00
Erik Vroon
165c816a3a Tweak tournament not started alert (#345) 2023-11-24 00:06:37 +01:00
Erik Vroon
1c0eda7109 Persist scheduling settings in query params (#344) 2023-11-23 22:52:34 +01:00
Erik Vroon
a4c08c5119 Fix tournament creation (#343)
Some fields were missing in the form to create tournaments
2023-11-23 10:49:17 +01:00
Erik Vroon
4b3dfb9b20 Implement custom time per match (#337) 2023-11-21 21:11:25 +01:00
Erik Vroon
4e616d8d97 Multi users and teams creation (#342)
fixes https://github.com/evroon/bracket/issues/292
2023-11-21 20:07:35 +01:00
Erik Vroon
72c818e76f Add spotlight feature (#340) 2023-11-20 10:04:55 +01:00
Erik Vroon
00cac360eb Improve swiss scheduling (#336) 2023-11-19 11:54:08 +01:00
Erik Vroon
1228c7dbeb Cleanup unnecessary scheduling code (#333) 2023-11-18 12:24:13 +01:00
Erik Vroon
19ab03f9d9 Add segmented control to filter matches (#332) 2023-11-11 17:23:42 +01:00
Erik Vroon
664b13b0db Fix swiss scheduling (#328) 2023-11-11 10:59:52 +01:00
Erik Vroon
68aff95fe4 Add elo to teams table (#325) 2023-11-08 17:44:51 +01:00
Erik Vroon
a76abc9364 Sort stage items (#324) 2023-11-08 17:24:38 +01:00
Erik Vroon
5c78ee922f Fix start time null (#323) 2023-11-08 17:10:08 +01:00
Erik Vroon
d77dd1432b Fix update of match start times (#322) 2023-11-08 16:28:36 +01:00
Erik Vroon
8cf2dd4bba Filter on groups in teams table (#321) 2023-11-08 16:23:32 +01:00
Erik Vroon
28fd9dc61d Show start time in matches (#319) 2023-11-07 21:03:32 +01:00
Erik Vroon
3dceda218a Time scheduling (#315) 2023-11-07 19:51:46 +01:00