Kalle
212966eb32
Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into calendar
2022-07-29 22:54:25 +03:00
Kalle
6a5368baf1
New Calendar event BracketUrlInput
2022-07-29 22:53:44 +03:00
Kalle
48aa098ecd
New Calendar event DiscordLinkInput
2022-07-29 22:47:40 +03:00
Kalle
89b358f86d
New Calendar event DatesInput
2022-07-29 22:21:31 +03:00
Kalle
5b459622d0
Add new events page initial
2022-07-29 21:24:45 +03:00
Kalle
04074f434e
Change flatMap -> map with fragments in event list
2022-07-29 20:59:09 +03:00
Kalle
23ba309166
Don't add Badge prizes tag in seeding
2022-07-28 23:51:31 +03:00
Kalle
d39fa5c0d1
Tags to seed
2022-07-28 23:43:24 +03:00
Kalle
5383becfcb
Fill up tags.json with initial tags
2022-07-28 23:25:23 +03:00
Kalle
6de71121dc
db.calendar -> db.calendarEvents
2022-07-28 22:50:26 +03:00
Kalle
b22b311494
Event page don't show "Day" if one day event
2022-07-28 22:46:31 +03:00
Kalle
efbcafaf82
Badge prize preview on calendar event page
2022-07-28 22:39:33 +03:00
Kalle
5f196ac1d9
Add tags to event page
2022-07-28 21:57:00 +03:00
Kalle
907cc90eb0
Extract Tags component to a separate file
2022-07-28 21:49:05 +03:00
Kalle
e0d512bd88
Translate tag
2022-07-28 21:32:42 +03:00
Kalle
4a2b974fd3
Calendar event list tweaks spacings
2022-07-28 21:25:51 +03:00
Kalle
98d3d3cd72
Tags showing in calendar page
2022-07-28 21:03:52 +03:00
Kalle
261a93c154
Remove unused className
2022-07-28 20:00:40 +03:00
Kalle
5aa1d78ae8
Track todos in TODO.md
2022-07-28 19:52:59 +03:00
Kalle
e22d169670
Add SQL solution to findAllBetweenTwoTimestamps
...
by burkhalter83 :)
2022-07-27 00:49:21 +03:00
Kalle
4b76a95a03
Calendar list filter to actual filter function
2022-07-27 00:29:19 +03:00
Kalle
245292c4d0
Show many days on event page
2022-07-26 22:20:42 +03:00
Kalle
b9bd33f144
Calendar event list Day nth text
2022-07-26 22:06:01 +03:00
Kalle
c06fc5fe42
WeekLinkTitle with date ranges
2022-07-26 21:40:10 +03:00
Kalle
cd6dadfec3
Remove search param year range
2022-07-26 21:04:20 +03:00
Kalle
f228e834ae
Calculate eventsCountPerWeek on client
2022-07-26 21:00:46 +03:00
Kalle
396f353121
Fix linter problem
2022-07-26 20:42:47 +03:00
Kalle
9041777896
Remove PLUS_SUGGESTIONS_PAGE constant
2022-07-26 20:41:49 +03:00
Kalle
96471cc47f
Optimize suggestions loader call amounts
2022-07-26 20:39:08 +03:00
Kalle
118d89496a
Plus suggestion redirect to tab with new user
2022-07-26 20:38:56 +03:00
Kalle
5f89b234a3
Suggestions use search params
2022-07-26 20:29:45 +03:00
Kalle
aca0efc746
Calendar on stream progress 25.7.
2022-07-26 01:53:03 +03:00
Kalle
00a6ab8be1
Animate badges page entrance
2022-07-25 22:00:35 +03:00
Kalle
51fdc6c7fb
Single event page initial
2022-07-25 21:59:28 +03:00
Kalle
1294bac966
Calendar folder
2022-07-24 10:51:46 +03:00
Kalle
8e3bee8895
stack.vertical -> stack.horizontal
2022-07-24 10:40:51 +03:00
Kalle
912cf5ac57
Events list layout with all elements
2022-07-24 10:38:42 +03:00
Kalle
72b9903b03
Calendar meta
2022-07-23 14:24:24 +03:00
Kalle
db0bc1f102
Events layout initial
2022-07-23 13:21:51 +03:00
Kalle
abc30fd12b
Calendar events from DB initial
2022-07-22 23:20:39 +03:00
Kalle
12c86ff15e
FIx WeekLinks keyboard navigation
2022-07-21 21:25:08 +03:00
Kalle
b5580c347f
Calendar navigation with data from loader
2022-07-21 20:57:01 +03:00
Kalle
62c803f4ad
Calendar navigation initial
2022-07-21 10:25:58 +03:00
Kalle
c4ce5c5eb3
Try to fix flaky E2E test
2022-07-19 00:27:46 +03:00
Kalle
c8fe95967a
Translate badges page
2022-07-17 14:05:59 +03:00
Kalle
4bc7b3025b
Translate user page
2022-07-17 13:38:57 +03:00
Kalle
3e64c23e61
Translate contributions page
2022-07-17 12:45:28 +03:00
Kalle
542b437fce
Type safe translations
2022-07-17 12:25:28 +03:00
Kalle
63d9a5b53b
Set translated title on client side for FAQ
2022-07-17 11:52:35 +03:00
Kalle
e414ef910f
I18n for layout & FAQ page
2022-07-16 16:58:27 +03:00
Kalle
83d34353c2
Add command to update usernames and avatars
2022-07-15 23:54:08 +03:00
Kalle
8eeaa44d8b
Footer fix alignment on mobile
2022-07-13 00:21:14 +03:00
Kalle
333c30a25c
Patrons with node cron
2022-07-13 00:11:09 +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
925553f8d2
Patrons to DB
2022-07-11 10:51:32 +03:00
Kalle
08df13eba0
Show supporter badges logic
2022-07-11 01:02:50 +03:00
Kalle
fb1d423bf0
Info to FAQ on how to get a badge for event
2022-07-10 18:26:51 +03:00
Kalle
939e6bbd68
Fix seeing other users' badges on route change
2022-07-10 12:32:29 +03:00
Kalle
64d0f95f3b
Patreon pledge data parsing endpoint initial
2022-07-10 12:27:02 +03:00
Kalle
85075cfdcb
Show summary of changes on badge owner edit
2022-07-09 20:36:09 +03:00
Kalle
5c71e72910
Add some feedback to admin user migration
2022-07-09 15:58:37 +03:00
Kalle
83a66aa21a
Close badge edit modal after successful POST
2022-07-09 15:36:28 +03:00
Kalle
8fd525b7b5
Show badge managers on badge page
2022-07-09 15:30:24 +03:00
Kalle
54baf8a158
Test Cypress tests
2022-07-08 11:13:58 +03:00
Kalle
a8ff0a3a5a
Add badges page e2e tests
2022-07-07 15:38:17 +03:00
Kalle
dde0b56d8f
Clean up random things
2022-07-07 15:09:08 +03:00
Kalle
155d54d411
Edit badge owners in DB
2022-07-07 14:38:28 +03:00
Kalle
2a37365bd6
Edit managers in DB
2022-07-07 12:30:08 +03:00
Kalle
bb96f631fe
Edit managers frontend
2022-07-07 11:23:16 +03:00
Kalle
67c8b2c449
Improve getting started with project experience
2022-07-06 11:02:23 +03:00
Kalle
027adf3bb0
Initial badges E2E tests
2022-07-06 10:36:57 +03:00
Kalle
55e559c348
Fix E2E tests + bug if you do rly bad in voting
2022-07-06 10:21:41 +03:00
Kalle
2ca589faf6
Add user migration admin feature
2022-07-05 20:15:30 +03:00
Kalle
80b901a121
Edit badge owners button with permissions
2022-07-05 15:46:00 +03:00
Kalle
94d5e8c137
Add support for badge hue rotate
2022-07-05 11:30:01 +03:00
Kalle
3378320f06
Badges overall improvements
2022-07-05 10:30:27 +03:00
Kalle
9f50b04f2e
Badge thumbnail images
2022-07-04 22:01:51 +03:00
Kalle
89a16d4ff3
Badges url via function
2022-07-04 21:09:10 +03:00
Kalle
0febd67cf9
Fix BadgeContainer key on user profile
2022-07-04 14:31:34 +03:00
Kalle
67a13b8515
Fix how score is shown on voting results
2022-07-04 13:17:34 +03:00
Kalle
cf7ec172c9
Add FAQ page with Plus Server info
2022-07-03 15:40:05 +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
6455e5d6bc
Discord bot plus roles command
2022-07-03 12:17:20 +03:00
Kalle
852f03d3a1
Show voting results to everyone
2022-07-02 14:23:52 +03:00
Kalle
6438d1a781
Vote with S/K keys instead of < > keys
2022-07-02 14:22:10 +03:00
Kalle
921a0576b1
Fix plus server downvote button color
2022-07-02 14:14:45 +03:00
Kalle
3154535e39
Tiny menu
2022-07-02 00:33:12 +03:00
Kalle
0f7518e055
Badge details page initial
2022-06-27 09:36:29 +03:00
Kalle
3fd8e4338f
All badges page initial
2022-06-26 10:49:08 +03:00
Kalle
80a53085c5
Fix wrong max count showing on suggestion comment
2022-06-25 21:50:47 +03:00
Kalle
9963963db2
Move SocialLink to route file
2022-06-25 14:20:14 +03:00
Kalle
fab4a82722
BadgeContainer with counts
2022-06-25 14:14:31 +03:00
Kalle
1978bd6f1c
BadgeContainer on user page initial
2022-06-25 13:26:43 +03:00
Kalle
4c3bb2134f
Badges to user page from DB
2022-06-25 00:36:41 +03:00
Kalle
40394edd87
Add deleting suggestion of themselves for members
2022-06-24 15:07:50 +03:00
Kalle
640a2bf890
Add deleting suggestion of themselves
2022-06-24 14:55:59 +03:00
Kalle
ef1f5071f4
Add info on when voting ends while voting
2022-06-19 11:08:44 +03:00
Kalle
1c814317c0
Access command initial
2022-06-18 22:33:14 +03:00
Kalle
a2f2b2b299
Add container to front page
2022-06-18 16:19:25 +03:00
Kalle
c7a50ded65
Impersonate users in prod
2022-06-18 15:51:17 +03:00
Kalle
f510afe522
Adjust voting range
2022-06-13 18:37:18 +03:00
Kalle
019c73c2b8
Banner informing user has voted
2022-06-13 08:58:49 +03:00
Kalle
52fea7fcc9
Rename upcomingVoting -> nextNonCompletedVoting
2022-06-12 23:19:16 +03:00
Kalle
b39c3b745f
Rename vote function
2022-06-12 16:41:33 +03:00
Kalle
010f709e4b
Plus upvote/downvote from constant
2022-06-12 16:19:43 +03:00
Kalle
f5f589a28c
Plus voting saves votes to DB
2022-06-12 16:17:43 +03:00
Kalle
1e8a63c961
Submit votes initial
2022-06-12 15:11:23 +03:00
Kalle
e0f224d84c
Add small info on SendouQ page
2022-06-12 14:17:05 +03:00
Kalle
2c46658bbb
Progress bar on voting page
2022-06-12 14:11:44 +03:00
Kalle
fc39e133c4
Voting style tweaks
2022-06-12 13:51:50 +03:00
Kalle
039c0b115e
Vote with arrow keys
2022-06-12 13:07:46 +03:00
Kalle
253d0112c4
Undo last vote functionality
2022-06-12 12:44:53 +03:00
Kalle
9e9e9ed44e
Voting with usePlusVoting hook
2022-06-12 11:35:08 +03:00
Kalle
11eaa6c893
Relative times on suggestions page
2022-06-11 21:57:30 +03:00
Kalle
07cc6699f2
Relative time voting timing info
2022-06-11 21:53:34 +03:00
Kalle
79278c4cbc
Add usersForVoting backend logic
2022-06-11 18:28:12 +03:00
Kalle
e0565c23b4
Add WIP notice on front page
2022-06-11 15:53:35 +03:00
Kalle
904f9877d1
Prefetch chunks behind modal buttons
2022-06-11 15:30:58 +03:00
Kalle
2c93ac9b77
Suggestions link to user page
2022-06-11 12:17:55 +03:00
Kalle
f06a4c9b20
Move plus server from core to modules
2022-06-11 11:49:22 +03:00
Kalle
77cadcb06d
Move useUser to modules/auth
2022-06-11 11:34:25 +03:00
Kalle
1c1d8dd6fe
Move auth to modules
2022-06-11 11:21:06 +03:00
Kalle
5004befc02
Add /plus link to menu
2022-06-11 10:33:14 +03:00
Kalle
9be2733193
Suggestions layout tweaks
2022-06-10 01:13:47 +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
5fac72338c
Set first comment length to 500
2022-06-09 00:25:12 +03:00
Kalle
4ccd4de4d0
Set selected tier on first suggest
2022-06-09 00:20:35 +03:00
Kalle
2ec1a1b906
Fix hydration err try 2 (toLocaleString at server)
2022-06-09 00:08:32 +03:00
Kalle
0f668f6ac2
Fix hydration error
2022-06-08 23:56:10 +03:00
Kalle
a4e37fe077
Plus Server don't show members to non-members
2022-06-07 21:06:56 +03:00
Kalle
855240966a
Add placeholder Plus Voting page
2022-06-05 20:50:52 +03:00
Kalle
b120cc5827
Add a simple test about voting results page
2022-06-05 20:28:08 +03:00
Kalle
b629d519f4
Rename voting history to results
2022-06-05 20:12:36 +03:00
Kalle
2a60b373d8
Voting history UI done
2022-06-05 20:07:47 +03:00
Kalle
105854335f
Voting history page initial
2022-06-05 12:45:58 +03:00
Kalle
a3ff858858
Fix crash if no suggestions yet this month
2022-06-04 16:04:51 +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
7e25c073e5
Show different text when deleting suggestion
2022-06-04 11:53:04 +03:00
Kalle
9e90784f2a
Handle overflow when long name in suggestion
2022-06-04 11:49:39 +03:00
Kalle
6f3812bbdc
Rename suggestion.info -> suggestedUser
2022-06-04 10:31:05 +03:00
Kalle
6ac99d1d90
Deleting suggestion with FE validation
2022-06-02 17:52:23 +03:00
Kalle
5f66dddb08
Restructure and add notes
2022-06-02 17:34:46 +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
e4526e8d82
Frontend create new suggestion
2022-05-30 01:03:33 +03:00
Kalle
3d4f9af928
Delete comment test
2022-05-29 11:04:27 +03:00
Kalle
5d276fcf2c
Change comments data model a bit + adjust sorting
2022-05-28 10:49:44 +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
cbb2e1922d
Add LinkButton component
2022-05-26 13:17:07 +03:00
Kalle
e303e5ea8f
Adjust plus routes
2022-05-26 12:19:50 +03:00
Kalle
7af4912453
Add Dialog element
2022-05-26 11:33:02 +03:00
Kalle
6a23c4f2bb
Add titles via meta tag
2022-05-25 21:41:37 +03:00
Kalle
108812b94f
Plus suggestions CSS tweaks
2022-05-25 21:18:27 +03:00
Kalle
9ceabd5700
Suggestions UI initial
2022-05-25 09:59:58 +03:00
Kalle
65cac61405
Plus page radios
2022-05-25 00:07:45 +03:00
Kalle
fdbac9082c
Prompt user to log in if accessing plus logged out
2022-05-24 21:14:42 +03:00
Kalle
800b456a52
Impersonate another user feature
2022-05-24 19:03:54 +03:00
Kalle
1f25ac89c5
Show text with suggested for info
2022-05-24 00:15:19 +03:00
Kalle
89b4c0a18b
Remove unused code from authentication callback
2022-05-22 20:56:47 +03:00
Kalle
c4b0efc47d
Rename db models to .server ending
2022-05-22 20:55:29 +03:00
Kalle
cabe6f53e6
Find suggestions database logic
2022-05-22 20:54:23 +03:00
Kalle
dbc0149df3
Fix can't have no bio
2022-05-19 17:34:58 +03:00
Kalle
125dac42fa
Move authentication logic
2022-05-19 17:34:40 +03:00
Kalle
2e7bb5706d
User page bio
2022-05-17 21:40:55 +03:00
Kalle
7d73a0478c
Cypress with user page test
2022-05-17 19:50:05 +03:00
Kalle
f2d547fa01
Move user page data loading to layout route
2022-05-16 22:56:47 +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
b84917133b
Edit match if winner unchanged
2022-04-21 17:34:39 +03:00
Kalle
bf6236161a
Remove typedJson from match modal page
2022-04-16 20:57:42 +03:00
Kalle
298afe4d4d
Fix seed page wrong order in some case Closes #799
2022-04-16 20:02:50 +03:00
Kalle
a249b7bfa7
Use custom Navigate instead of react-router
2022-04-16 19:26:06 +03:00
Kalle
68ead9c9b9
Button to seed teams by SP Closes #798
2022-04-16 19:19:23 +03:00
Kalle
a697c61afd
Fix all buttons showing loading on control page
2022-04-16 12:16:37 +03:00
Kalle
4545c970d0
No check out when tourney started Closes #807
2022-04-16 12:10:51 +03:00
Kalle
32c823348f
Fix manage page layout when tournament has started
2022-04-16 11:40:49 +03:00
Kalle
9beb35ab75
Prevent access to admins tourney pages Closes #801
2022-04-16 11:34:01 +03:00
Kalle
24bd2b90fb
Remove unused tab
2022-04-16 11:32:35 +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
695894b1de
Fix Cypress tests
2022-04-15 19:29:21 +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
61d16d43a5
Leaderboards select month
2022-04-02 22:58:50 +03:00
Kalle
54147404c9
Fix start page crash before check-in starts
2022-04-02 20:03:29 +03:00
Kalle
16e8a9d12f
Fix controls page table header alignment
2022-04-02 19:49:11 +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
f96410a25a
Upgrade deps (React 18)
2022-03-30 00:06:57 +03:00
Kalle
c0e4f01097
Bracket real time solution SSE -> Socket.io
2022-03-29 23:55:42 +03:00
Kalle
7d4c4a73f4
Tournament nav tweaks
2022-03-29 18:30:16 +03:00
Kalle
3ed1be84e1
Fix tournament add-players invite link
2022-03-29 18:18:26 +03:00
Kalle
c7262b069b
Urls from utils to urls
2022-03-28 00:42:13 +03:00
Kalle
4c6f7ce572
Refactor register for new backend style
2022-03-28 00:16:01 +03:00
Kalle
cd7e8531aa
Remove unnecessary fields from tournament team
2022-03-27 17:43:28 +03:00
Kalle
b6fc09d935
Fix button flashing from Continuing... to Continue
2022-03-27 15:40:10 +03:00
Kalle
6bc6741e43
Fix looking page title for league group found
2022-03-27 15:30:40 +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
76e17ce83c
Add Redis for leaderboards
2022-03-27 12:01:02 +03:00
Kalle
60a3f709a7
Hardcode leaderboards temporarily
...
Memory problem hot fix :-)
2022-03-26 17:52:13 +02:00
Kalle
bb8c9dbafe
Leaderboards frontend
2022-03-26 17:09:37 +02:00
Kalle
a2aa773487
skillsToLeaderboard logic
2022-03-26 15:27:04 +02: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
1b25502d64
Get names on chat from loader data
2022-03-22 22:44:54 +02:00
Kalle
7b9045cea8
Allow non-admins to unexpire groups
2022-03-22 00:11:17 +02:00
Kalle
74cff317f8
Fix not being able to send empty friend code
2022-03-22 00:08:57 +02:00
Kalle
0d717e30fa
Allow submitting on settings page without FC
2022-03-20 21:36:48 +02:00
Kalle
3ad9cbaaee
isTestUser
2022-03-20 21:00:14 +02:00
Kalle
5394e0bc50
Temp fix logged in user missing discordName
2022-03-20 20:52:54 +02:00
Kalle
c693fe349e
Chat for looking/match pages Closes #753
2022-03-20 14:12:20 +02:00
Kalle
93eb28f6f9
Refactor looking loader a bit Closes #784
...
Doesn't really need as much refactoring as I thought
2022-03-17 18:38:13 +02:00
Kalle
0dedf45552
Unify ranked/scrim LFGGroupSelector buttons
2022-03-17 01:25:35 +02:00
Kalle
ed74206b6b
New MMR relation
2022-03-16 20:57:54 +02:00
Kalle
43d0e8fb78
Detailed matches
2022-03-16 17:13:57 +02:00
Kalle
e7bf6b80f8
Fix match-details wrongly detecting resending
2022-03-12 22:28:08 +02:00
Kalle
dc3e3b055d
Match details to frontend
2022-03-12 20:17:10 +02:00
Kalle
555352c904
Allow non-admins to look again for unranked
2022-03-12 16:47:29 +02:00
Kalle
999a0166e5
Fix error if reporting details of same match twice
2022-03-12 16:16:40 +02:00
Kalle
b49f2434eb
Fix admin score editing
2022-03-12 15:02:11 +02:00
Kalle
b169a5e72b
Admin can delete match
2022-03-12 14:43:23 +02:00
Kalle
6310bbc823
Fix match-details
2022-03-12 14:02:21 +02:00
Kalle
3b343e066e
Admin can edit scores
2022-03-12 11:06:48 +02:00
Kalle
fe6e8a50f2
Fix migration
2022-03-09 00:15:43 +02:00
Kalle
e9d650ad3d
Lanista match details submit untested version
2022-03-07 21:01:24 +02:00
Kalle
176cbbbec6
Match details endpoint test
2022-03-06 16:22:23 +02:00
Kalle
c773d70d23
Get weapons from DB
2022-03-06 14:59:46 +02:00
Kalle
1d7f736dee
Can edit weapons in SendouQ settings
2022-03-06 13:38:55 +02:00
Kalle
765b3d8004
Require bio if not top 500
2022-03-05 15:17:24 +02:00
Kalle
acb45590ad
Mini bio in SendouQ
2022-03-05 14:59:44 +02:00
Kalle
59fb2d92d7
Looking action redirect don't throw if not LOOKING
2022-03-05 10:01:17 +02:00
Kalle
8e848fc3e7
Refactor to use resolveRedirect function
2022-03-05 10:00:41 +02:00
Kalle
5b8866225c
Show captains Closes #773
2022-03-05 00:16:13 +02:00
Kalle
4e49555a63
Validate user isn't in group before continuing
2022-03-04 22:33:49 +02:00
Kalle
56f36c0912
Show SP/XP in looking for match for own group
2022-03-04 22:18:57 +02:00
Kalle
edc6a151c3
Fix play front page button loading Closes #772
2022-03-04 21:24:11 +02:00
Kalle
007a03b05d
Clean up unused code
2022-03-04 21:19:57 +02:00
Kalle
2e93148746
Look again with same group after reporting score
2022-03-04 20:59:37 +02:00
Kalle
bf1a61e6b7
Fix can be in PRE_ADD+LOOKING group at same time
2022-03-04 09:23:19 +02:00
Kalle
10468ff8e0
Show "Replay" indicator in GroupCard
2022-03-03 17:39:01 +02:00
Kalle
efefe01a4b
"No results" not 404 if didn't play SendouQ yet
2022-03-02 17:24:01 +02:00
Kalle
a2dddca42e
Remove hardcoded Sendou
2022-03-02 00:25:45 +02:00
Kalle
a58410b3bc
Remove the thingy from inside map map map
2022-03-02 00:18:25 +02:00
Kalle
35b2009933
Front page also show groups in pre add or match
2022-03-02 00:14:47 +02:00
Kalle
96af5a1705
Fix missing key in match history page
2022-03-02 00:04:12 +02:00
Kalle
c85d5cdded
Show set / map winrate on match history page
2022-03-01 23:59:03 +02:00
Kalle
24d21f3443
Match history page
2022-03-01 21:23:17 +02:00
Kalle
4f8f45fc9e
Show relative team MMR for ranked teams
2022-02-28 20:27:42 +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
f0b61a47ee
Add eslint plugin:react
2022-02-27 11:18:16 +02:00
Kalle
6d82d99b18
Link to old user profiles on match page
2022-02-27 11:06:14 +02:00
Kalle
244f6aab8a
Fix team MMR calculation
2022-02-27 10:49:49 +02:00
Kalle
6a302bb14b
Validate group is full when matching up
2022-02-26 22:12:05 +02:00
Kalle
7f5b42ecdf
Add rules of SendouQ
2022-02-26 21:45:40 +02:00
Kalle
e50ee17b17
Fix can't report Best of 7
2022-02-26 15:54:58 +02:00
Kalle
f1cd12fceb
Add Health Check Path
2022-02-26 14:57:00 +02:00
Kalle
5c7eca32e5
Fix React key warning
2022-02-26 14:55:37 +02:00
Kalle
c11d7a4042
Don't check group status when reporting score
2022-02-26 13:48:09 +02:00
Kalle
e07fff02b0
Display MMR + top x% on play front page
2022-02-26 13:44:21 +02:00
Kalle
cf649c3ad4
Extract countGroups function
2022-02-26 11:46:20 +02:00
Kalle
7eca238734
Fix crash due to null data in meta of looking
2022-02-26 00:49:07 +02:00
Kalle
0a6ca87c86
Redirect when match is created
2022-02-25 21:37:59 +02:00
Kalle
62e7fc15cb
Switch from active/looking to status enum
2022-02-25 21:33:33 +02:00
Kalle
60d4bb720f
Member count take in account full league groups
2022-02-24 22:19:53 +02:00
Kalle
29d6bbeb98
Fix lint
2022-02-24 22:13:01 +02:00
Kalle
fb4b93913e
Player looking count on play page Closes #756
2022-02-24 22:11:50 +02:00
Kalle
7218a076e9
Make buttons texts more descriptivive Closes #759
2022-02-24 19:20:40 +02:00
Kalle
0c30211082
Prevent match if other group stopped looking
2022-02-24 17:13:46 +02:00
Kalle
eb1052d763
Fail MATCH_UP if one group already matched up
2022-02-24 09:58:32 +02:00
Kalle
d3dc68592e
Can choose "Look again" even if not captain
2022-02-24 09:53:38 +02:00
Kalle
fc835eae55
Allow user to leave group Closes #749
2022-02-24 09:37:41 +02:00
Kalle
436b44d2d8
Fix 500 error when match page 404's Closes #760
2022-02-24 01:01:05 +02:00
Kalle
c01222b718
Add text if no other group is looking Closes #748
2022-02-23 18:12:04 +02:00
Kalle
09856bcac1
Fix groups showing across queues
2022-02-23 17:56:33 +02:00
Kalle
8d7d69584a
Can't take action if group expire Closes #745
2022-02-23 17:35:51 +02:00
Kalle
9faef3aed1
Refactor looking loader
2022-02-23 00:09:37 +02:00
Kalle
ec8437583b
Don't show weapons when looking for match
2022-02-22 00:31:34 +02:00
Kalle
f317b9cb1f
Reshow ranked team MMR's
2022-02-21 21:40:44 +02:00
Kalle
b7e2cd21bc
Can stop looking Closes #734
2022-02-21 00:17:48 +02:00
Kalle
aea2266bc2
Show XP when looking
2022-02-19 18:05:44 +02:00
Kalle
db2df661ee
Make only one DB query in looking loader
2022-02-18 08:46:20 +02:00
Kalle
d498456aae
Expiring group Closes #733
2022-02-18 08:09:17 +02:00
Kalle
026bd67b78
Add polling to looking
2022-02-17 09:51:07 +02:00
Kalle
b72fe362ef
Add loading states
2022-02-13 10:37:51 +02:00
Kalle
888298500d
Looking page mobile friendly Closes #714
2022-02-13 10:14:15 +02:00
Kalle
4129134bc2
Looking columns mapped
2022-02-12 23:29:37 +02:00
Kalle
3a34edb9ab
Make group inactive after reporting score
2022-02-10 23:32:32 +02:00
Kalle
0c9e56cf06
Prompt log in on play if needed Closes #726
2022-02-10 20:44:55 +02:00
Kalle
4ad46f1808
Optimize looking page loader DB calls
2022-02-10 17:45:59 +02:00
Kalle
b247943d00
Rankeda and unranked together
2022-02-10 17:26:03 +02:00
Kalle
a436692574
Remove GroupSkill
2022-02-09 21:00:01 +02:00
Kalle
023c65df18
Adjust individual skill after match
2022-02-09 19:40:22 +02:00
Kalle
fb1b3deba1
Show warning if reports different score
2022-02-08 22:19:54 +02:00
Kalle
4f4473b355
Match over info UI
2022-02-08 17:49:40 +02:00
Kalle
3913eea1a9
Fetch match results
2022-02-08 09:29:20 +02:00
Kalle
8410898372
Submit score
2022-02-07 22:24:17 +02:00
Kalle
004501fa0a
MapList with score validation logic
2022-02-07 09:49:41 +02:00
Kalle
ff53604e66
Maplist for LFG matches
2022-02-06 17:21:47 +02:00
Kalle
7b633fe488
Switch stage constants location
2022-02-06 13:25:57 +02:00
Kalle
b87d15c317
Title for match page
2022-02-05 12:58:12 +02:00
Kalle
54a32484e4
Unranked match: look again with unranked match
2022-02-05 12:13:48 +02:00
Kalle
d9160c055e
Fix 404's
2022-02-05 11:11:38 +02:00
Kalle
2a9f12981b
LFG Match page initial
2022-02-05 10:43:21 +02:00
Kalle
c1e46b84d6
Group with MMR
2022-02-04 09:14:07 +02:00
Kalle
3579b8676f
Show team MMR's in looking
2022-02-03 09:35:38 +02:00
Kalle
84fbcbf24f
Fix ranked/unranked appearing in looking
2022-02-01 17:48:01 +02:00
Kalle
b6ac3be17d
Match looking initial
2022-02-01 09:56:07 +02:00
Kalle
0745e37ba5
Add unranked/ranked style and logic
2022-01-31 23:56:47 +02:00
Kalle
4ff021ae33
Don't show buttons in looking if not captain
2022-01-31 09:54:40 +02:00
Kalle
ff1806d9fa
Closes #723 - Conclusion screen for not ranked
2022-01-31 09:38:12 +02:00
Kalle
8667c04ae0
Closes #715 - Can unite groups
2022-01-30 17:05:40 +02:00
Kalle
19855ebc3d
Can undo likes
2022-01-30 11:50:52 +02:00
Kalle
963c30a66e
Can like groups and move them to another column
2022-01-29 22:50:24 +02:00
Kalle
056f106612
Member cards some kind of visual
2022-01-29 14:49:03 +02:00
Kalle
d5e62efd48
Seeded groups data to frontend
2022-01-29 11:33:01 +02:00
Kalle
827c0548d3
Add start looking minimal page
2022-01-27 23:13:38 +02:00
Kalle
09df17ec87
Extract AddPlayers component
2022-01-27 17:29:31 +02:00
Kalle (Sendou)
8b00647eb8
Play page redirects
2022-01-27 12:59:28 +02:00
Kalle
8e3a96d0c1
Play page initial ( #700 )
2022-01-27 00:03:03 +02:00
Kalle (Sendou)
25972a6f07
Use real images for FancyStageBanner
2022-01-23 00:51:39 +02:00
Kalle (Sendou)
49482a526d
Add beta info page
2022-01-22 17:25:37 +02:00
Kalle (Sendou)
679f6778eb
Move validators to core
2022-01-22 16:12:35 +02:00
Kalle (Sendou)
c94f2f5bca
manage-team + join-team backend logic refactor
2022-01-22 11:09:46 +02:00
Kalle (Sendou)
6162528eea
.server. models to keep them out of browser bundle
2022-01-21 09:29:52 +02:00
Kalle (Sendou)
fcce761c12
Put backend logic in models
2022-01-21 09:13:31 +02:00
Kalle (Sendou)
212d3d09ac
Use new be style when putting player to team
2022-01-20 21:39:03 +02:00
Kalle (Sendou)
f187eb375b
More manage-roster -> manage-team renames
2022-01-20 08:52:29 +02:00
Kalle (Sendou)
4ce68fc758
Rename manage-roster -> manage-team
2022-01-20 08:40:18 +02:00
Kalle (Sendou)
be10d4b460
Score title in match modal
2022-01-19 09:26:15 +02:00
Kalle (Sendou)
65a9ee90e3
FancyStageBanners in Match modal
2022-01-19 08:58:07 +02:00
Kalle (Sendou)
487f0e27fb
Match modal renders correct info
2022-01-19 08:37:27 +02:00
Kalle (Sendou)
7c7140f046
Match modal info, inputs rendering w/ player info
2022-01-18 09:45:06 +02:00
Kalle (Sendou)
cfedcf3c72
Match modal using match number with round name
2022-01-17 09:15:38 +02:00
Kalle (Sendou)
93c4ed9edd
Seeds use new backend logic style
2022-01-16 22:59:41 +02:00
Kalle (Sendou)
d530e9383c
Switch common hooks from /utils to /hooks
2022-01-16 22:03:53 +02:00
Kalle (Sendou)
5ed5af2465
Use parseRequestFormData in seeds
2022-01-16 21:43:44 +02:00
Kalle (Sendou)
5916579a61
Match modal with team names
2022-01-15 15:58:25 +02:00
Kalle (Sendou)
139ac3b6b6
Rename in bracket: $id -> $bid
2022-01-15 15:54:19 +02:00
Kalle (Sendou)
08cf196828
Route structure for Match Modal
2022-01-14 21:26:00 +02:00
Kalle (Sendou)
90f9e54775
Score live update UNDO SCORE REPORT
2022-01-13 08:30:19 +02:00
Kalle (Sendou)
18aaef9854
Fix lint
2022-01-12 23:04:02 +02:00
Kalle (Sendou)
3bff18fae8
Bracket with events working
2022-01-12 18:13:37 +02:00
Kalle (Sendou)
f376047463
Refactor BracketModified to common format
2022-01-12 18:13:09 +02:00
Kalle (Sendou)
c686291442
Getting info about scores to frontend
2022-01-12 09:33:23 +02:00
Kalle (Sendou)
27627fdcfc
Events PoC
2022-01-12 09:11:13 +02:00
Kalle (Sendou)
346026b119
Extract bracket service
2022-01-10 09:03:55 +02:00
Kalle (Sendou)
ef75059801
Fix lint errors
2022-01-09 13:49:54 +02:00
Kalle (Sendou)
b7846ec5fe
Seeds page visual tweaks
2022-01-06 16:14:25 +02:00
Kalle (Sendou)
4a2dfac884
Seed page with rosters
2022-01-06 15:45:46 +02:00
Kalle (Sendou)
f0a4c7cb22
Manage teams page
2022-01-06 13:37:02 +02:00
Kalle (Sendou)
f8a80ac4dd
Scroll active nav item into view on load
2022-01-06 11:58:06 +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)
09545f97f0
Undo reported score
2022-01-05 11:24:19 +02:00
Kalle (Sendou)
ff5812f8e6
Ending a match advances the bracket
2022-01-05 08:56:38 +02:00
Kalle (Sendou)
90586f01f8
classnames -> clsx
2022-01-04 19:31:32 +02:00
Kalle (Sendou)
460fa344b9
Report score works without advance
2022-01-04 19:22:19 +02:00
Kalle (Sendou)
2c886a3739
Report score working kind of
2022-01-04 09:19:41 +02:00
Kalle (Sendou)
5536f8c1cb
Score reporting UI pretty complete ver
2022-01-03 08:55:26 +02:00
Kalle (Sendou)
1ea6587e82
Clean up utility classes
2022-01-01 12:25:20 +02:00
Kalle (Sendou)
e7eafad962
Rid of Tailwind
2021-12-31 17:48:20 +02:00
Kalle (Sendou)
b9cccc23df
Map list stage banner initial
2021-12-31 16:36:05 +02:00
Kalle (Sendou)
d77fa8a8a3
Add Tailwind
2021-12-29 08:46:40 +02:00
Kalle (Sendou)
7b27c74d4d
Rename <ActionSection />
2021-12-27 16:51:27 +02:00
Kalle (Sendou)
34075dec1a
Fix type errors
2021-12-27 16:39:53 +02:00
Kalle (Sendou)
ff5377fc1f
Bracket action panel initial
2021-12-27 16:37:30 +02:00
Kalle (Sendou)
c06de36cb2
SubmitButton for ADD_PLAYER
2021-12-27 12:57:52 +02:00
Kalle (Sendou)
0b8042f229
Show success when editing a team
2021-12-27 12:56:20 +02:00
Kalle (Sendou)
059797f1fd
parseRequestFormData function
2021-12-27 11:26:06 +02:00
Kalle (Sendou)
1847f02aba
Manage roster E2E tests initial (not working)
2021-12-26 21:02:15 +02:00
Kalle (Sendou)
3e14bb4320
Edit team info: friend code, room pass & canHost
2021-12-26 19:23:35 +02:00
Kalle (Sendou)
26c8838f66
Migration FC mandatory / roomPass
2021-12-26 10:57:52 +02:00
Kalle (Sendou)
7c54ba1048
Friend code when registering
2021-12-26 10:48:14 +02:00
Kalle (Sendou)
a5a90ec616
Fix Cypress tests
2021-12-25 23:10:03 +02:00
Kalle (Sendou)
a4d45e2577
Remove rest useFetchers
2021-12-25 23:01:29 +02:00
Kalle (Sendou)
0b6a831765
manage-roster page to local action function
2021-12-25 22:46:44 +02:00
Kalle (Sendou)
fd26d70e7e
Check-in/check-out to local action function
2021-12-25 22:33:15 +02:00
Kalle (Sendou)
3cdf9dcf34
Remove formDataFromRequest helper function
2021-12-25 22:04:02 +02:00
Kalle (Sendou)
56e735dd28
Seeds to local action function
2021-12-25 21:57:46 +02:00
Kalle (Sendou)
8352a7f2ed
Refactor: new way to pass CSS vars (types)
2021-12-25 00:50:23 +02:00
Kalle (Sendou)
40e7b70646
Refactor tournaments background CSS var name
2021-12-24 13:05:40 +02:00
Kalle (Sendou)
258669993c
Highlight own team
2021-12-24 13:04:41 +02:00
Kalle (Sendou)
f5c0a38ff3
Fix bracket lines for losers
2021-12-23 23:31:09 +02:00
Kalle (Sendou)
9b4e909412
Match numbers to bracket
2021-12-23 21:51:32 +02:00
Kalle (Sendou)
3344104dc8
Fix bracket tab link
2021-12-23 18:00:09 +02:00
Kalle (Sendou)
7914377309
Tournament bracket working with data
2021-12-23 13:58:18 +02:00
Kalle (Sendou)
aed3023832
Bracket data modified to frontend
2021-12-23 10:02:15 +02:00
Kalle (Sendou)
0c659ec6af
Import <Bracket /> component
2021-12-23 08:47:09 +02:00
Kalle (Sendou)
f811c4f56a
Button minimal default to theme color
2021-12-22 23:08:50 +02:00
Kalle (Sendou)
ef60e3e569
Add icons to buttons
2021-12-22 22:17:09 +02:00
Kalle (Sendou)
4138de512b
Add logo to admin only tabs
2021-12-22 22:05:27 +02:00
Kalle (Sendou)
126204ad86
Adjust tournament navigation when it has started
2021-12-22 21:44:43 +02:00
Kalle (Sendou)
d0b9708510
Create tournaments rounds seems to work edition
2021-12-22 19:54:13 +02:00
Kalle (Sendou)
88dc19f450
Create tournaments rounds almost ™️ edition
2021-12-22 18:19:41 +02:00
Kalle (Sendou)
ba4ee2c00b
tournamentRoundsForDB() function implementation
2021-12-22 09:39:45 +02:00
Kalle (Sendou)
2edb446a15
Create tournament rounds progress
2021-12-21 08:49:37 +02:00
Kalle (Sendou)
0e7f42a512
Log in link when trying to join team logged out
2021-12-20 11:40:15 +02:00
Kalle (Sendou)
06f9fa2811
Minor padding tweak
2021-12-20 11:21:40 +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)
0a319200ae
Less jank dragging UI
2021-12-18 13:34:01 +02:00
Kalle (Sendou)
862061243f
Update rest of app to using models folder
2021-12-18 12:05:26 +02:00
Kalle (Sendou)
c48bdea053
Disable buttons on /start if round being edited
2021-12-18 08:57:13 +02:00
Kalle (Sendou)
37da3c5e38
Add TODOs
2021-12-18 08:09:20 +02:00
Kalle (Sendou)
52fdf958f7
Number map list rounds
2021-12-17 23:12:08 +02:00
Kalle (Sendou)
7b196384cc
Edit map list stages functionality
2021-12-17 22:39:00 +02:00
Kalle (Sendou)
33155e2593
Regenerate all maps
2021-12-17 19:32:07 +02:00
Kalle (Sendou)
19e74bccc2
Fix jank when changing best of
2021-12-17 09:28:30 +02:00
Kalle (Sendou)
a6a303302c
Can change best of and regen maps
2021-12-17 09:17:58 +02:00
Kalle (Sendou)
357f8b1024
Fix hydration error
2021-12-17 08:31:02 +02:00
Kalle (Sendou)
7da5e912c0
Start page UI initial
2021-12-17 08:16:02 +02:00
Kalle (Sendou)
30d82e92d3
Map list generating algorithm modes
2021-12-16 09:00:10 +02:00
Kalle (Sendou)
1398dadc31
Start page UI hooks skeleton
2021-12-15 09:26:55 +02:00
Kalle (Sendou)
6b1b88494b
Tournament nav links with admin only links
2021-12-13 15:47:39 +02:00
Kalle (Sendou)
c493f0082a
Show round names and default best of on /start
2021-12-13 11:36:17 +02:00
Kalle (Sendou)
207ec000a5
Tournament InfoBanner construct CSS vars on server
2021-12-11 11:50:49 +02:00
Kalle (Sendou)
cdd59b139d
Remove MyForm component
2021-12-11 10:38:26 +02:00
Kalle (Sendou)
de25132b52
Fix TODO (article global styles)
2021-12-10 23:45:03 +02:00
Kalle (Sendou)
c6f4d9b016
Sort teams to show own team first on team tab
2021-12-10 09:38:43 +02:00
Kalle (Sendou)
13084b7dac
Save seeds to database
2021-12-10 09:31:31 +02:00
Kalle (Sendou)
abb5dda7ab
Manage roster fix type error & needless renders
2021-12-10 08:20:35 +02:00
Kalle (Sendou)
e888fef7c6
Sortable list UI
2021-12-09 09:07:03 +02:00
Kalle (Sendou)
a9384ca099
Admin can check in and check out teams
2021-12-08 01:36:27 +02:00
Kalle (Sendou)
4e72f67615
Tournament admin page initial
2021-12-07 00:57:06 +02:00
Kalle (Sendou)
cc7e1d6428
Add overview tab
2021-12-06 23:05:41 +02:00
Kalle (Sendou)
24ee2ff099
Move api folder to routes root
2021-12-06 22:47:08 +02:00
Kalle (Sendou)
710e67599e
Update tournament team schema
2021-12-06 17:41:04 +02:00
Kalle (Sendou)
b912b3be0e
Check in functionality
2021-12-06 17:27:26 +02:00
Kalle (Sendou)
a24afa2af8
ActionSection initial
2021-12-06 14:48:50 +02:00
Kalle (Sendou)
873d39270c
Extract hook utils to different file
2021-12-06 13:46:08 +02:00
Kalle (Sendou)
0229a5d714
Can delete players from roster
2021-12-06 13:43:19 +02:00
Kalle (Sendou)
f574a1985c
Show alert if team full
2021-12-06 12:45:08 +02:00
Kalle (Sendou)
859daacf19
Add player to team from dropdown functionality
2021-12-06 01:30:30 +02:00