Commit Graph

130 Commits

Author SHA1 Message Date
Kalle
a94de245b7 New color for BYEs 2023-05-19 11:41:34 +03:00
Kalle
53dd389396 Show tournament match identifying labels 2023-05-19 11:40:29 +03:00
Kalle
af3110d558 Don't show new team registration form after check-in has ended 2023-05-19 10:36:52 +03:00
Kalle
318fc552e0 Map pools in team tab 2023-05-18 19:36:52 +03:00
Kalle
4de275e054 Prompt to join Pool after check-in 2023-05-18 18:56:43 +03:00
Kalle
25881dd59b Add TournamentProgressPrompt 2023-05-18 15:42:10 +03:00
Kalle
c6835ffa21 Fix unseeded teams sorting at the top 2023-05-18 14:03:44 +03:00
Kalle
9ba072b3c3 Make tournament banner text visible in light mode 2023-05-18 00:49:47 +03:00
Kalle
cb99891dee Unregister from tournament feature Closes #1357 2023-05-18 00:02:53 +03:00
Kalle
6df27c7639 Fix Sploosh not visible on team page Closes #1370 2023-05-17 23:16:32 +03:00
Kalle
1ee6a793e5 Fix before bracket start alert on mobile not wrapping 2023-05-17 23:13:47 +03:00
Kalle
02abc0b99c Misc tournament things 2023-05-17 20:53:03 +03:00
Kalle
d5b74e928a Delete tournament feature 2023-05-16 22:05:52 +03:00
Kalle
1ee14513fa Fix bad translation for grand finals when bracket reset happening 2023-05-16 01:25:20 +03:00
Kalle
de19bcaddc Fix best of calculation for low number of teams 2023-05-16 01:16:21 +03:00
Kalle
1c62802ae0 Fix bracket UI not showing correctly when less than 2 teams available 2023-05-16 00:57:13 +03:00
Kalle
ef78d3a2c2
Tournament full (#1373)
* Got something going

* Style overwrites

* width != height

* More playing with lines

* Migrations

* Start bracket initial

* Unhardcode stage generation params

* Link to match page

* Matches page initial

* Support directly adding seed to map list generator

* Add docs

* Maps in matches page

* Add invariant about tie breaker map pool

* Fix PICNIC lacking tie breaker maps

* Only link in bracket when tournament has started

* Styled tournament roster inputs

* Prefer IGN in tournament match page

* ModeProgressIndicator

* Some conditional rendering

* Match action initial + better error display

* Persist bestOf in DB

* Resolve best of ahead of time

* Move brackets-manager to core

* Score reporting works

* Clear winner on score report

* ModeProgressIndicator: highlight winners

* Fix inconsistent input

* Better text when submitting match

* mapCountPlayedInSetWithCertainty that works

* UNDO_REPORT_SCORE implemented

* Permission check when starting tournament

* Remove IGN from upsert

* View match results page

* Source in DB

* Match page waiting for teams

* Move tournament bracket to feature folder

* REOPEN_MATCH initial

* Handle proper resetting of match

* Inline bracket-manager

* Syncify

* Transactions

* Handle match is locked gracefully

* Match page auto refresh

* Fix match refresh called "globally"

* Bracket autoupdate

* Move fillWithNullTillPowerOfTwo to utils with testing

* Fix map lists not visible after tournament started

* Optimize match events

* Show UI while in progress to members

* Fix start tournament alert not being responsive

* Teams can check in

* Fix map list 400

* xxx -> TODO

* Seeds page

* Remove map icons for team page

* Don't display link to seeds after tournament has started

* Admin actions initial

* Change captain admin action

* Make all hooks ts

* Admin actions functioning

* Fix validate error not displaying in CatchBoundary

* Adjust validate args order

* Remove admin loader

* Make delete team button menancing

* Only include checked in teams to bracket

* Optimize to.id route loads

* Working show map list generator toggle

* Update full tournaments flow

* Make full tournaments work with many start times

* Handle undefined in crud

* Dynamic stage banner

* Handle default strat if map list generation fails

* Fix crash on brackets if less than 2 teams

* Add commented out test for reference

* Add TODO

* Add players from team during register

* TrustRelationship

* Prefers not to host feature

* Last before merge

* Rename some vars

* More renames
2023-05-15 22:37:43 +03:00
Zen
55105ab267
Refactor: Remix V2 meta (#1359)
* opt into v2 meta

* fix og properties

* finish all
2023-05-01 13:06:57 +03:00
Kalle
6522c3528d Change invariant to validate with good error message 2023-04-25 00:08:49 +03:00
Kalle
9da4493555 Change invariant to validate with good error message 2023-04-25 00:08:27 +03:00
Kalle
1f6bda88b4 Private builds Closes #1242 2023-04-23 11:55:00 +03:00
Kalle
5e36b76ee8
TO Tools back (#1349)
* Remove friend code

* Revive TO Tools admin page

* Revive TO Tools maps page

* Initial one mode only map list

* Add modesIncluded arg

* Handle no maps picked for SZ only generation

* Tiebreaker is always from the maps of the teams

* Make modesIncluded necessary arg

* Tiebreaker is from neither team's pool if no overlap

* Handles worst case duplication

* Handles one team submitted no maps test

* Fix crash

* Seed

* Can change one mode tournament map pool

* Fix join page link

* Remove useless TODO

* Fixes related to mapListGeneratorAvailable

* Fix map list generation considering impossible map lists making it take forever

* Show unlisted select for both sides

* Add info texts

* Remove register button

* Add todos

* Finished version for ITZ

* Times

* Remove TODOs

* 23->24
2023-04-22 11:44:20 +03:00
PM.Net JDS
40e56d2b53
Round sub velocity to thousandths place, fix bug in round function (Fixes #1348) (#1353)
* Round velocity to thousandths place, fix bug in round function

* Prettier application
2023-04-22 11:31:35 +03:00
Kalle
cfbd18b4fe Object Damage Calc: Separate subs in the combobox Closes #1220
Also due to a bug the subs were not accessible at all before.
This was a bug introduced in c014ba5e18
2023-04-15 12:06:07 +03:00
Kalle
515eb42987 Object DMG Calc: Fix weapon images getting squished 2023-04-11 17:38:37 +03:00
Kalle
1061a3901d Upgrade Headless UI + combobox UI improvements 2023-04-11 00:26:00 +03:00
Kalle
9869b888db Better object damage calc icon bg color Closes #1324 2023-04-10 12:19:20 +03:00
Kalle
c014ba5e18
Sub damage table in Build Analyzer (#1333)
* Sub weapon damage table initial

* Remove duplicate stats

* Tiny sub weapon icons

* Border-collapse collapse

* Move func location

* Varying sub damage support

* Calculates damages of various bombs

* Burst bomb direct damage

* Fizzy dmg

* Curling bomb explosion values

* Don't show comparison column if no SRU

* Torpedo

* Add note about Splash Wall and Sprinkler

* Fix comment
2023-04-10 11:46:04 +03:00
Kalle
da74b9c2f7 Fix potentially flaky E2E test Closes #1326 2023-04-09 00:01:48 +03:00
Kalle
579d99c719 Add missing translation 2023-04-08 23:46:50 +03:00
Kalle
c4d932ec40 Fix Beakon Sub Power Up calculation Closes #1323 2023-04-08 23:31:37 +03:00
Kalle
c2e43fb535
X Rank placements (#1325)
* Read in x rank placements script

* Xsearch initial

* XSearch initial

* XSearch with select

* Add badges

* XSearch player page initial

* Consider only one build by user for popular builds Closes #1312

* Revert "Side nav labels on hover (#1290)"

This reverts commit 6e839c6c2d.

* Added and fixed DAnish translations (#1315)

* Added Danish translations

Added Danish translations for the builds.json file.

Translations for the following variables have been added
stats.count.title # used the Danish word for "average" instead of "stats", as it makes more sense in Danish.
stats.ap.title
stats.percentage.title
stats.all
linkButton.abilityStats
linkButton.popularBuilds
noPopularBuilds

* Added Danish translations

Added Danish translations in the calander.json file

tag.desc.SZ
tag.desc.TW
tag.desc.S1
tag.desc.S2
tag.desc.SR
tag.desc.CARDS

* Added Danish translations

Added Danish translations in the common.json file

The following translations have been added
pages.vods
tag.name.SZ
tag.name.TW
tag.name.S1
tag.name.S2
tag.name.SR
tag.name.CARDS

* Added Danish translations in the faq.json file

Added the following Danish translations in the faq.json file

q7
a7

* Updated the DA/game-misc.json file

Added the names for the 3.0 maps.

* Added Danish translation for team.json

Added the following Danish translations for team.json file
- roles.MIDLINE

Fixed the following translation for the team.json file
- "roles.FRONTLINE": # fixed a typo

* Created a vods.json file for the Danish trans

* Fixed typo

Fixed the following translation in the Da\contributions.json file

"yaga" # fixed a Typo of "våben"

* Add Chinese Translation (#1314)

* Update contributions.json

* Update contributions.json

* Update faq.json

* Update user.json

* Create team.json

* Update common.json

* Update analyzer.json

* Prettier

* Prettier

* Prettier

* Update builds.json

* Update calendar.json

* Update common.json

* Update faq.json

* Update team.json

* Create vods.json

* Admin link player action

* Make PlacementTable rounded if only child

* Fix arrow disappeared

* Placements on user page initial

* Remove S2 site link

* Add badge

* Add feature to README

* Fix type error

* Different badge text if XP badge

* Add badge winners script

* Better user avatar + name wrapping for mobile

* Allow script to skip users

* Fix bad align when no weapons in weapon pool

* Add aliases to player name

* Add division icon to placements table

* Link to user page

* Link to xsearch on player details page

* Top 500 icons to user build page

* Working query but slow for weapons page

* Fix lint complaints

* Add cache to builds

* Remove useless SWR value

* Group months in xsearch

* Add xsearch to nav

* Add meta

* Remove TW for now

* Add splatoon3.ink as contributor

* Remove unneeded TODO

* Fix TODOs related to fetching monthYears

* Add FAQ question

* Leaderboards to nav

* Fix sploosh build stat pages returning 404

* Add badge

* Add article

* Patch 3.1

* Fix Prettier issue

* Add badge

* Add April SR gear

* Add badges

* Rename badge

* Add badge

* Add zh badge translation (#1322)

* Splatoon Competitive Guide article (#1316)

* Create splatoon-competitive-guide.md

* Update splatoon-competitive-guide.md

* Fix ToC Issues

* Update splatoon-competitive-guide.md

* Update splatoon-competitive-guide.md

* Update splatoon-competitive-guide.md

* Corrections

* Formatting

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>

* Fix typos

* Rename table and adjust columns

* Make cache ttl 0 in dev

* Make placements container a bit nicer for mobile

* Rename leftover xxx

* Placements script allow passing number as arg

* Skip leaderboards for now

* Add translations

* Rename placements folder to top-search

* Add placements to seed

* Add E2E tests

* Read in x rank placements script

* Xsearch initial

* XSearch initial

* XSearch with select

* XSearch player page initial

* Admin link player action

* Make PlacementTable rounded if only child

* Fix arrow disappeared

* Placements on user page initial

* Fix bad align when no weapons in weapon pool

* Add aliases to player name

* Add division icon to placements table

* Link to user page

* Link to xsearch on player details page

* Top 500 icons to user build page

* Working query but slow for weapons page

* Fix lint complaints

* Add cache to builds

* Remove useless SWR value

* Group months in xsearch

* Add xsearch to nav

* Add meta

* Remove TW for now

* Add splatoon3.ink as contributor

* Remove unneeded TODO

* Fix TODOs related to fetching monthYears

* Add FAQ question

* Leaderboards to nav

* Fix sploosh build stat pages returning 404

* Rename table and adjust columns

* Make cache ttl 0 in dev

* Make placements container a bit nicer for mobile

* Rename leftover xxx

* Placements script allow passing number as arg

* Skip leaderboards for now

* Add translations

* Rename placements folder to top-search

* Add placements to seed

* Add E2E tests

* Rename url variable and unify

* Tweaks

---------

Co-authored-by: Frederik <112972665+FrederikFraJylland@users.noreply.github.com>
Co-authored-by: Gell <61431488+gellneko@users.noreply.github.com>
Co-authored-by: Zen <99558412+zenpk@users.noreply.github.com>
Co-authored-by: Teddi <83455454+teddinotteddy@users.noreply.github.com>
2023-04-07 21:02:18 +03:00
Kalle
b9b266da95 Fix Prettier issue 2023-03-31 19:34:51 +03:00
Kalle
9ec676b503 Patch 3.1 2023-03-31 17:34:16 +03:00
Kalle
7a249522a4 Fix sploosh build stat pages returning 404 2023-03-29 21:45:26 +03:00
Kalle
311cb81c56 Consider only one build by user for popular builds Closes #1312 2023-03-15 23:02:34 +02:00
Kalle
6a585cff5a Add caching to popular builds and buil stats Closes #1308 2023-03-12 14:17:43 +02:00
Kalle
b588be680c Fix analyzer crash with invalid URL Closes #1291 2023-03-12 11:18:08 +02:00
Kalle
366b6fc072 Analyzer: Fix brella canopy HP 2023-03-12 10:30:25 +02:00
Kalle
cfa0d4dd0d
Build stats / popular builds (#1307)
* Add abilityPoints migration

* Initial stats

* Build stats UI

* Add TODO

* Update css file name

* Popular builds page
2023-03-11 14:05:08 +02:00
Kalle
3a7549c732 Edit vods feature Closes #1278 2023-03-08 22:57:56 +02:00
Kalle
6a55bceaf0 VoDs 3 in same row Closes #1300 2023-03-07 21:42:51 +02:00
Kalle
712a7c84e5 Fix vods timestamps layout Closes #1294 2023-03-07 21:40:16 +02:00
Kalle
cb98b5510d VoDs load more button Closes #1279 2023-03-07 21:03:03 +02:00
Kalle
fbac8c0d31 Add 3.0 stages to planner Closes #1287 2023-03-06 23:27:23 +02:00
Kalle
867f8f6bbd Add .server to vod queries Closes #1286 2023-03-06 21:58:28 +02:00
Kalle
f4a9ae6558 VoDs validated by default 2023-03-05 23:17:13 +02:00
Kalle
874694dc09 Make vods public 2023-03-05 21:54:52 +02:00
Kalle
6cdbcc782b VoDs better grid layout Closes #1296 2023-03-05 20:00:45 +02:00
Kalle
1be67269a8 Remove invalid vod minutes max Closes #1295 2023-03-05 19:45:20 +02:00