Commit Graph

166 Commits

Author SHA1 Message Date
Kalle
2c6bd22249 Favorite weapons in user weapon pool Closes #1346 2023-06-17 16:56:51 +03:00
Kalle
ad1b1fdf84 Upgrade deps 2023-06-04 12:53:30 +03:00
Kalle
b6283a89c5
Build filters (#1382)
* Build filters WIP

* Move builds to feature folder

* Move stuff to builds feature folder

* Working filters

* AP values as dropdown

* Should revalidate logic

* Remove debounce

* Fix main ability filter not working by default

* Persist filters to search params

* Disable button if too many filters

* Stack on mobile

* Abilities in i18n json

* Ability icon in filter

* Add i18n

* E2E test

* Remove done todo
2023-06-04 11:37:05 +03:00
Kalle
603763145a Fix placement adding script for the new season 2023-06-03 21:21:13 +03:00
Kalle
d76dff065a Patch 4.0 2023-05-31 21:47:44 +03:00
Kalle
ce60895e8f Adjust fix map pool script 2023-05-16 22:23:34 +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
Kalle
ff0d6cb4d0 Add fix map pools script 2023-04-24 23:58:38 +03:00
Kalle
c83b967b8d Wipe placements before adding new ones from source 2023-04-23 01:01:28 +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
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
5a28f402c4 Add April SR gear 2023-04-02 15:34:28 +03:00
Kalle
935b5ff955 Allow script to skip users 2023-03-26 22:40:58 +03:00
Kalle
070229804c Add badge winners script 2023-03-26 19:42:18 +03:00
Kalle
e079370cdf Add Grizzco gear you can buy with scales Closes #1292 2023-03-07 01:13:01 +02:00
Kalle
2392427762 Patch 3.0 Closes #1284 2023-03-01 18:42:32 +02:00
Kalle
4559705ca5 Rename badge script use id 2023-02-26 23:11:34 +02:00
Kalle
369e7ecb57 Add February SR gear 2023-02-05 13:55:00 +02:00
Kalle
a271d827b0 Remove wrong Splatana run speed while charging stat 2023-02-05 13:39:19 +02:00
Kalle
f0f6b14f58 Upgrade deps 2023-01-22 13:40:05 +02:00
Kalle
6e630ab8e3 Add January's SR reward 2023-01-07 10:53:09 +02:00
Kalle
602e545831 Build Analyzer: Add stringers damage 2022-12-08 23:48:49 +02:00
Kalle
ce3eda3545 Build Analyzer: Splatana damages 2022-12-08 00:51:34 +02:00
Kalle
ec2133b9c8 Analyzer: Fix Splattershot Pro negative run speed
Closes #1176
2022-12-06 15:34:00 +02:00
Kalle
34ca290bdd
Redesign (#1179)
* Remove light mode

* Trim header

* New front page initial

* Get rid of build layout

* Breadcrumbs

* Desktop side nav

* Overhaul colors

* Add breadcrumbs

* New sub nav style

* Front page action buttons

* Add back add new build button

* Add articles page with icon

* Minor Object damage page layout tweaks

* Remove one unnecessary render from object damage

* Fix wrong link in article page

* Profile -> My Page in header

* Log in/out buttons in front

* Add drawings to front page

* Remove unnecessary comment
2022-12-05 16:05:51 +02:00
Kalle
dacc475efb Add 2.0 maps 2022-12-05 11:25:13 +02:00
Kalle
6908fa10a0 Build Analyzer: Fix untranslated weight class 2022-12-03 02:29:28 +02:00
Kalle
ffc92bdbce Chill Season 2022 update (2.0) 2022-11-30 22:24:56 +02:00
Kalle
aea7406586
Map Planner (#1145)
* Initial

* Add images

* Tweaks

* Proper sized bg image and weapons

* Stage bg picker

* Outlined weapon images for planner

* First version

* Lint

* Add alt and title to weapon
2022-11-23 17:38:38 +02:00
William Lam
02516e26bd
Add script that generates a CSV containing basic attribute information on each Main Weapon (#1148)
* Added a script that generates a CSV containing basic attribute information on each Main Weapon

* Improved some names & console info

* More comments

* Renamed file & fixed Prettier error

* Shortened the default string a weapon attribute if it doesn't exist
2022-11-22 17:48:43 +02:00
Kalle
ecd5a2a2f7
TO Tools (#1077)
* Add DB tables

* Toggle TO Tools in new calendar event page

* TO tools page initial

* Add counter pick map pool UI

* Save tie breaker map pool

* Save team name

* Layout initial

* Load users own team

* Make team name input required

* Rename team

* Divide to sections

* Submit team map pool

* New style for counter pick map pool section expand

* Fix tiebreaker map pool not saved when new event made

* Split to many forms

* According for team name

* Small UI consistency tweaks

* Add explanation to tie breaker maps

* Remove redundant prop

* Fix new calendar event todos

* Use required hidden input component in new build page

* Fix to tools page showing even when toToolsEnabled = 0

* Delete team

* Map list generation tests initial

* Add tournament map list generation tests

* First version of map list generation

* Add seeded RNG

* Rearrange files

* Generation with strats initial

* Default map pool + allow one team not to have any maps

* Implement map generation via backtracking

* Make order of stages irrelevant

* Add one more TODO

* Seed

* Fixes

* Tournament map list generator initial

* More functional maplist

* Fix any

* Persist in search params initial

* Add date to calendar seed

* Revert "Persist in search params initial"

This reverts commit f01a9e6982.

* Allow admin to start tournament

* Rate maplist instead of optimal / suboptimal

* Add fallback if map list generation errors out

* Hide TO Tools if not admin

* Submit team roster and delete members

* Teams page

* Give roster s p a c e

* Clear user combobox on sent + layout tweaks

* Gracefully handle updating after tournament has started

* Add title

* Persist map list in search params

* Add i18n
2022-11-13 14:41:13 +02:00
Remmy Cat Stock
87a498f3f2 Make use of task list in the translation progress issue 2022-11-07 18:06:21 +01:00
Remmy Cat Stock
3ae40b7b1f Improve translation progress report 2022-11-07 17:03:06 +01:00
Remmy Cat Stock
40d5286775 Keep translation progress automatically updated inside issue instead 2022-11-07 17:03:06 +01:00
Remmy Cat Stock
a73be2e742
Add placement ordinal translation (#1102) 2022-11-06 11:18:03 +01:00
Kalle
6ff4efdc20 Add American Spanish language
Closes #985

Just in-game names are different. Rest is copied from EU translation.
2022-11-03 22:10:24 +02:00
Kalle
123565a952 Add November's Salmon Run gear 2022-11-03 20:20:34 +02:00
Kalle
7af8e7a9db Add slosher class weapons damages 2022-10-29 20:36:48 +03:00
Kalle
518b778052 Add check that translation-progress.md is updates 2022-10-29 11:33:29 +03:00
Kalle
aeb8d2b070 Improve error message when lang json parsing fails 2022-10-29 11:25:17 +03:00
Kalle
b775d70985 Add check of valid translations jsons to GA 2022-10-29 00:33:07 +03:00
Kalle
7397664e37 Add validation against i18n json duplicate keys 2022-10-29 00:25:18 +03:00
Kalle
41120088e0 Add Hydra fully charged shot damage to analyzer
Closes #1046
2022-10-27 09:27:12 +03:00
Kalle
9b15169eb5 Fix more bad custom urls 2022-10-24 19:17:29 +03:00
Kalle
63a80c8ecd Object damage hitpoints initial 2022-10-22 11:43:19 +03:00
Kalle
586c27eaa7 Object damage calculator page initial 2022-10-18 01:12:52 +03:00
Kalle
9bb7de7dba Add (working) script to remove bad custom urls 2022-10-15 12:02:52 +03:00
Kalle
97f9115245 Remove old script 2022-10-08 10:44:12 +03:00
Kalle
d654594ed8 Remove bad custom urls script 2022-10-08 10:36:28 +03:00
Kalle
50e4be5822 Disable TS checks in script utils 2022-10-06 23:29:28 +03:00