Commit Graph

168 Commits

Author SHA1 Message Date
Daniel Schädler 31b0687c32 On favorite set; pulse scroll button 2025-03-14 22:30:21 +01:00
Daniel Schädler f8c49a04d3 Styling 2025-03-14 22:23:47 +01:00
Daniel Schädler 05000a3243 Sort team names in favorites 2025-03-14 22:15:50 +01:00
Daniel Schädler 416a4fbc86 Add basic scroll to favorite behaviour 2025-03-14 22:13:28 +01:00
Daniel Schädler b44d7cb673 Add icons 2025-03-14 19:35:10 +01:00
Daniel Schädler 9306dfea6c Add mockup for favorites 2025-03-14 18:08:10 +01:00
Daniel Schädler 5184d63738 Mark advancing teams with success background 2025-03-14 14:45:30 +01:00
Daniel Schädler 6455a3c087 Add timer to normal tournament page as well 2025-03-13 16:46:03 +01:00
Daniel Schädler 42b2003336 Move timer into separate class 2025-03-13 15:51:24 +01:00
Tobias Huber cd06ab4747 changed "Position" to "#" to save some space in the table 2024-04-13 10:48:16 +02:00
Daniel Schädler 586286bc2e Update footer 2024-04-10 22:28:31 +02:00
Daniel Schädler 6d136d65d7 Switch to backend positioning 2024-04-07 22:11:34 +02:00
Daniel Schädler 9966bb0d18
Add tooltips to group table heading 2023-09-15 15:31:01 +02:00
Daniel Schädler 7de56ea195
Render group information per match 2023-09-15 15:25:42 +02:00
Daniel Schädler 54e17ea494
DRY sorting 2023-09-15 14:28:56 +02:00
Daniel Schädler b02be2e3e3
Fix group stage match sorting 2023-09-15 14:25:55 +02:00
Daniel Schädler 8c2d7412d5
Add match position to matches 2022-07-02 00:19:42 +02:00
Daniel Schädler e91c519560
TURNIERE-206: Improve wasted space 2022-07-01 22:19:56 +02:00
Daniel Schädler 407cc5a596
Merge branch 'master' into ticket/TURNIERE-206 2022-07-01 22:12:54 +02:00
Daniel Schädler af9594f512
TURNIERE-206: Improve layout 2022-07-01 21:55:05 +02:00
Daniel Schädler 94c62e7a2d
TURNIERE-206: Fix heading in mobile view 2022-07-01 21:55:05 +02:00
Daniel Schädler 7af8ad66b3 Merge branch 'beerpong_styling' into 'master'
Switch to using Beerpong terms in group tables

See merge request turniere/turniere-frontend!31
2022-07-01 18:25:35 +00:00
Daniel Schädler f9686f4428
Switch to using Beerpong terms in group tables 2022-07-01 13:50:02 +02:00
Daniel Schädler 2973b49f33
Hide registration 2022-07-01 13:08:35 +02:00
Thor77 a6e20a5c2a
Add tournament fullscreen groups view 2022-06-25 23:43:03 +02:00
Thor77 c1bc78a3b3
Switch group score table columns 2022-06-25 17:08:38 +02:00
Thor77 b29fc0c08e
Fix match background color 2022-06-14 20:25:50 +02:00
Thor77 41e4d3c37a
Fix margin between login links 2022-06-12 20:23:55 +02:00
Thor77 eedd27ea86
Remove unused react-boostrap dependency 2022-06-11 23:39:40 +02:00
Thor77 9b55af68cd
Fix match table border 2022-06-11 23:16:08 +02:00
Thor77 a6b13ce56f
Refactor LinkButton into class component
because setting defaultProps on function components is deprecated
2022-06-11 23:16:07 +02:00
Thor77 4cbf377ec6
Remove react-bootstrap/Navbar 2022-06-11 23:16:07 +02:00
Thor77 86274ec42a
Fix buttons in tournament view 2022-06-11 23:16:06 +02:00
Thor77 a10b01cc85
Fix navbar alignment 2022-06-11 23:16:06 +02:00
Thor77 142b0252ff
Remove Beta badge 2022-06-11 23:16:06 +02:00
Thor77 2130b94970
Move EditableStringList style to component
https://nextjs.org/docs/basic-features/built-in-css-support#adding-component-level-css
2022-06-11 23:16:06 +02:00
Thor77 c34831610a
Remove deprecated InputGroupAddon 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
Daniel Schädler aa00dcc6b3
#Sellout 2022-05-29 23:40:33 +02:00
Felix Hamme f8180e2b98 Add content loading message to TournamentList (both public and private) 2019-06-20 16:11:07 +02:00
Felix Hamme 2f9c801890 Add loading page 2019-06-20 15:39:49 +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 3df9f44c92 Merge remote-tracking branch 'origin/master' into ticket/TURNIERE-148
# Conflicts:
#	js/api.js
#	pages/tournament.js
2019-06-19 16:39:48 +02:00
Felix Hamme afca9fa224 Update next stage (fetching from backend) after a match in the preceding playoff stage changes to finished (after successful backend update) 2019-06-18 13:41:58 +02:00
Felix Hamme 682db6f832 Cleanup: Use reactstrap components instead of buggy "self-coded" stuff 2019-06-17 22:26:58 +02:00
Felix Hamme 59153eca7a Merge remote-tracking branch 'origin/master' into ticket/TURNIERE-239 2019-06-17 20:28:46 +02:00
Felix Hamme 4cc2660551 Code style fixes 2019-06-17 19:40:53 +02:00
Jonny 39164053ff Add warning popup for invalid values 2019-06-16 19:17:40 +02:00
Felix Hamme 815065099b Use the actual group number for group titles 2019-06-15 23:22:10 +02:00
Felix Hamme 8185a7b4b5 Update group after a match score changes 2019-06-15 23:20:30 +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
Jonny 71d66fdb74 Extract the numeric input as single component 2019-06-14 14:26:36 +02:00
Jonny ba701f675a
Merge branch 'master' into ticket/TURNIERE-243 2019-06-10 18:13:40 +02:00
Felix Hamme 0172625387 Simplify the default usecase of UserRestrictor by creating RequireLogin and applying it to the create and private pages 2019-06-06 18:23:58 +02:00
Felix Hamme ba38864a1c Update the Match when the scores are submitted 2019-06-06 12:06:09 +02:00
Felix Hamme 4e8a690d2a Make calls to api for changing match scores 2019-06-06 12:06:09 +02:00
Felix Hamme 85a36a02c9 Add change score button (no functionality yet) 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 5826a06ab6 Split up Match into more files 2019-06-06 12:06:09 +02:00
Jonny 38e24a2ec1 Fix some code issues from eslint 2019-05-29 09:42:03 +02:00
Felix Hamme 4a444babd4 Bugfix: match scores weren't editable 2019-05-29 08:40:11 +02:00
Jonny f1ca2d3d82
Merge branch 'master' into ticket/TURNIERE-148 2019-05-29 04:43:38 +02:00
JP1998 e813726f50 Adjust the StandingsTable to the new API data format 2019-05-29 04:24:39 +02:00
JP1998 da4b5ac2e5 Adjust DominanceShower to the actually implemented API data 2019-05-29 04:03:32 +02:00
Jonny abfded9e0f Adjust names of the used data to the (expected) backend names 2019-05-29 00:23:40 +02:00
Jonny a05cc768fd Fix a bug which resets the striping after the last element that has not been hidden 2019-05-29 00:23:40 +02:00
Jonny 2ea9668f38 Extract the dominance shower view 2019-05-29 00:23:40 +02:00
Jonny beffd24855 Extract the standings table view 2019-05-29 00:23:39 +02:00
Jonny a38624fd5b Adjust style of the tournament information view 2019-05-29 00:19:26 +02:00
Jonny 9fc909e257 Extract the tournament information view for more consisten looks 2019-05-29 00:19:26 +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 7848d3d81d Implement starting a match, make backend calls 2019-05-28 22:03:17 +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 501cc7a208 Refactor ErrorComponents 2019-05-12 12:21:24 +02:00
Felix Hamme fb4b380407 Refactor Footer and update copyright year 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 a4b1506d41 Replace for-in-loop with for-of-loop (suggested by eslint) 2019-05-09 14:48:43 +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
Jonny b30a3a759e
Merge branch 'master' into ticket/TURNIERE-156 2019-05-02 08:52:18 +02:00
Felix Hamme a1828c30c3 Review changes: code cleanup 2019-05-01 15:53:22 +02:00
Felix Hamme fd3085e1f1 Change code formatting to satisfy Hound 2019-04-28 04:27:41 +02:00
Felix Hamme b300049e1e Merge branch 'master' into ticket/TURNIERE-141 2019-04-28 04:22:14 +02:00
Felix Hamme dac0c33272 Implement page for displaying the list of private tournaments 2019-04-28 04:18:18 +02:00
Felix Hamme 9b56b2eddb Merge branch 'master' into ticket/TURNIERE-141 2019-04-27 13:32:37 +02:00
Felix Hamme 60c8bff55d Greet the user with a toast notification when he logs in or out [now done with success callback methods] 2019-04-27 13:30:34 +02:00
Felix Hamme f243b69a5e Revert "Greet the user after login with a toast"
This reverts commit b85ce62b
2019-04-27 13:27:26 +02:00
Felix Hamme bf8a9431bf Revert "Say goodbye to the user when he logs out"
This reverts commit 7b38b503
2019-04-27 13:27:11 +02:00
Felix Hamme 7b38b503ef Say goodbye to the user when he logs out 2019-04-23 20:47:07 +02:00
Felix Hamme b85ce62b2f Greet the user after login with a toast 2019-04-23 15:41:43 +02:00
Jonny 2bc3fe24b3 Remove manual clearing of errors
Since the errors are now always cleared upon rehydration of the
application state, we can now safely remove the api method
clearErrors() and also remove calls to this method.
2019-04-18 00:03:28 +02:00
Jonny 0643b4bb0e Format the errors for logging in 2019-04-17 16:32:49 +02:00
Felix Hamme 4f079d75ec Merge branch 'master' into ticket/TURNIERE-138 2019-04-17 10:02:08 +02:00
Felix Hamme 0aa1660cd1 Link private tournament list in navigation bar if the user is signed in 2019-04-17 09:59:51 +02:00
JP1998 dc3b1a2cac Fix design with white borders being visible while dragging teams 2019-04-16 19:17:28 +02:00
Jonny 23447c7afe Merge branch 'master' into ticket/TURNIERE-139 2019-04-16 14:16:51 +02:00
Felix Hamme 47b4c4602b Replace disgusting code with beautiful code 2019-04-16 14:13:01 +02:00
Jonny 11d607c08b Implement actual swapping on drag and drop 2019-04-16 13:51:23 +02:00