Commit Graph

58 Commits

Author SHA1 Message Date
Daniel Schädler 3b05195434 Basic scroll to top button 2025-03-14 22:45:39 +01:00
Daniel Schädler 9306dfea6c Add mockup for favorites 2025-03-14 18:08:10 +01:00
Thor77 a6e20a5c2a
Add tournament fullscreen groups view 2022-06-25 23:43:03 +02:00
Thor77 2c9f805be0
Fix incompatibilities with new deps 2022-06-25 16:46:59 +02:00
Felix Hamme 4df2537ad7
Link fullscreen page from tournament page 2022-06-25 16:14:54 +02:00
Thor77 5a9b090195
Remove unused NavbarBrand import 2022-06-11 23:16:07 +02:00
Thor77 19eb3f531d
Remove duplicate tournament name 2022-06-11 23:16:07 +02:00
Thor77 86274ec42a
Fix buttons in tournament view 2022-06-11 23:16:06 +02:00
Thor77 0c61fcf570
Move bootstrap css import to _app.js 2022-06-11 23:16:05 +02:00
Thor77 185f0d5534
Move all css imports into _app.js
https://nextjs.org/docs/basic-features/built-in-css-support
2022-06-11 23:16:04 +02:00
Felix Hamme c380c2ae80 Use loading page for tournament page 2019-06-20 15:40:36 +02:00
Felix Hamme 778d017302 Continuing merge: link tournament view, edit and statistics pages between each other, use new design from merged branch 2019-06-19 18:55:04 +02:00
Felix Hamme ecc1401042 Continuing merge: add Statistics button to tournament page 2019-06-19 17:53:56 +02:00
Felix Hamme 9897257748 Redesign tournament header/properties 2019-06-18 22:29:33 +02:00
Felix Hamme 99ca99ea38 Add a collapse button for all matches in a group stage
The button defaults to show if the playoff hasn't started, otherwise to hide.
2019-06-14 22:56:52 +02:00
Felix Hamme 5a9d543a01 Implement group stage 2019-06-14 22:23:58 +02:00
Felix Hamme 112e5b7a81 Refactoring: Move Stage, playoff stages out of tournament.js 2019-06-14 22:03:38 +02:00
Felix Hamme fed0516334 Refactoring: Move api call and conversion out of tournament.js 2019-06-14 21:51:51 +02:00
Felix Hamme 4e8a690d2a Make calls to api for changing match scores 2019-06-06 12:06:09 +02:00
Felix Hamme 78e511f228 Disable end-match-button if the scores are equal and the match is in playoff stage 2019-06-06 12:06:09 +02:00
Felix Hamme 134844973e Implement ending a match: make backend calls, replace match states {team1_won, team2_won, undecided} with {finished}, hold the match data in Match.js in state instead of in props, reorder internal match data storage 2019-05-29 00:00:54 +02:00
Felix Hamme 97ba7726ed Move Match and belongings out of tournament.js to new file Match.js 2019-05-12 12:21:24 +02:00
Felix Hamme a40ecd56e9 Move axios wrapper methods to new file backendApi 2019-05-12 12:21:24 +02:00
Felix Hamme 7b5e18cc9e Move everypage.css into css directory 2019-05-12 12:21:24 +02:00
Felix Hamme b3243f6a5c Format every js file to comply with the new eslint rules 2019-05-09 14:48:43 +02:00
Felix Hamme b40c0382a8 Automatically apply eslint rules 2019-05-09 14:48:43 +02:00
Felix Hamme b0b6fb84e0 Use smaller scope for variables 2019-04-16 14:25:42 +02:00
Felix Hamme 303f774989 Use strong typed comparison expressions 2019-04-16 14:17:33 +02:00
JP1998 148686b7c1 Fix bug preventing the owner of a tournament from starting / editing matches 2019-04-11 16:25:24 +02:00
JP1998 980d2eac3d Fix a bug, which causes the tournament site to crash
Whenever a match in the play off stage of a tournament has not had a team determined
yet the tournament site would crash on it since it expected two team objects attached.
2019-04-11 16:19:17 +02:00
JP1998 2e93076d79 Fix a bug where you are logged out after reloading the /create page 2019-04-11 15:53:27 +02:00
JP1998 4964040ad8 Fix bug showing public tournaments as private 2019-04-11 13:00:02 +02:00
Jonny 74aa5c67fd
Merge branch 'master' into ticket/TURNIERE-131 2019-04-11 08:17:08 +02:00
JP1998 45136aa1d6 Fix a bug which crashes the site when there is no internet connection
In case there is no internet connection axios will not return a response object
with the error after a request. Since we still tried to access said object the
website crashed when there was no internet connection.
2019-04-09 17:03:04 +02:00
JP1998 6035da058e Restrict access to the modal for users that are not the owner of the tournament 2019-04-09 17:00:49 +02:00
JP1998 2b1d7b084e Pull up signed in and username properties from EditButton to TournamentPage
This makes us able to provide these fields in lower components without having to
rebind the state to the properties of this component.
This will be needed to restrct access to the modal allowing the user to modify scores.
2019-04-09 16:58:56 +02:00
JP1998 f1e206db0b Clean imports in all the javascript files 2019-04-09 09:52:51 +02:00
JP1998 7838237f4b Export all the common components into their own files 2019-04-09 09:22:12 +02:00
JP1998 fb93feed45 Make the tournament page correctly handle status codes from the backend 2019-04-08 11:41:48 +02:00
JP1998 4dc55a93d2 Remove the edit button from tournaments that the user is not the owner of 2019-04-08 09:43:42 +02:00
JP1998 d307cdb907 Resolve conflicts and style issues 2018-12-13 08:49:01 +01:00
Jonny 4ecd4bd207
Merge branch 'master' into ticket/TURNIERE-113 2018-12-13 08:12:06 +01:00
JP1998 498e0353c1 Resolve conflicts and fix style issues 2018-12-12 21:54:07 +01:00
Jonny e77e3f6dc8
Merge branch 'master' into ticket/TURNIERE-105 2018-12-12 21:32:02 +01:00
JP1998 cbaa1b8270 Fix issue with order of mounting of components
Since the credentials were checked in the componentDidMount of the App
but the tournamen was loaded in the componentDidMount of the EditTournament component,
which was done first. Thus the auth headers were cleared, and the user was logged out.
2018-12-12 20:47:45 +01:00
Felix Hamme 21d43ab641 Minor design tweak for matches 2018-12-11 22:04:36 +01:00
Felix Hamme 0eb4df58cf Write the name of the tournament owner in the tournament view 2018-12-11 16:05:44 +01:00
Felix Hamme 115df26572 Make code for MatchTable in tournament view more readable (fFix react error message) 2018-12-11 16:01:25 +01:00
Felix Hamme b30971385f Fetch single tournaments from the api in tournament view 2018-12-11 15:56:56 +01:00
Felix Hamme a9f38ce6f6 In tournament view: Iterate over stages and write method for level name 2018-12-11 13:52:39 +01:00