Commit Graph

3874 Commits

Author SHA1 Message Date
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
ab5c6cf7bb Add new badges 2023-05-10 20:48:55 +03:00
Kalle
d8d481839d Add badges 2023-05-03 23:34:23 +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
Frederik
21e1fb8114
Updated Danish translation (#1366)
Added the following  Danish translations to the analyser.json file

stat.category.subDef
stat.category.damage

"newBuildPrompt" and "stat.category.misc" # changed the translation for ability
stat.category.subWeaponDefenseDamages
damage.header.baseDamage
damage.BOMB_DIRECT
damage.BOMB_NORMAL
damageSubDefExplanation

Corrected the following translation
"stat.whiteInk" # more natural translation
2023-05-01 13:02:18 +03:00
Zen
46a14b7c51
Update Chinese translation (#1367) 2023-05-01 13:02:04 +03:00
Kalle
e8cd14de08 Add badges 2023-04-30 10:55:14 +03:00
Ai Suzuki
3727e6be2a
Update Japanese translation (#1358)
Co-authored-by: Ai Suzuki <asuzuki@blockchains.com>
2023-04-25 17:22:34 +03:00
Kalle
f7bccae163 Add badges 2023-04-25 00:23:10 +03:00
Kalle
dd2318f499 Fix to tools mode not being preselected when editing calendar event 2023-04-25 00:13:04 +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
ff0d6cb4d0 Add fix map pools script 2023-04-24 23:58:38 +03:00
Kalle
1a78d1a162 Autofill abilities on gear select Closes #1303 2023-04-23 15:58:08 +03:00
Kalle
a1ceff1fd2 Filter builds on user builds page Closes #1243 2023-04-23 15:19:17 +03:00
Kalle
d0e4945985 Fix flaky e2e test Closes #1332 2023-04-23 13:31:55 +03:00
Kalle
0c32456e72 Initial builds E2E tests 2023-04-23 13:26:18 +03:00
Kalle
1f6bda88b4 Private builds Closes #1242 2023-04-23 11:55:00 +03:00
Kalle
c83b967b8d Wipe placements before adding new ones from source 2023-04-23 01:01:28 +03:00
Kalle
cdabe79032 Add Twitter links to translator contributors Closes #1352 2023-04-22 12:13:12 +03:00
Kalle
79986ba39a Add zenpk as code contributor 2023-04-22 11:57:17 +03:00
Kalle
e8d1fe7ded Refactor new build modes input logic 2023-04-22 11:56:27 +03:00
Kalle
44a9a0bdcb Align IGN input # better 2023-04-22 11:53:41 +03:00
Kalle
f53524c620 Add badges 2023-04-22 11:50:32 +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
Ai Suzuki
25391899b4
Translation ja 20230421 (#1351)
* done

* add translations

---------

Co-authored-by: Ai Suzuki <asuzuki@blockchains.com>
2023-04-22 11:16:48 +03:00
Kalle
a0aa85c247 Rename query function 2023-04-22 11:09:10 +03:00
Kalle
79a3b975e5 Favorite badge feature small tweaks 2023-04-22 11:09:10 +03:00
Kalle
429ad123e3 Don't show favorite badge select if user has 0-1 badges 2023-04-22 11:09:10 +03:00
dependabot[bot]
0be02f761b
Bump vm2 from 3.9.16 to 3.9.17 (#1350)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.16 to 3.9.17.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.16...3.9.17)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 17:48:27 +03:00
Zen
28ca966256
Fixes #839: Allow user to select favorite badge (#1345)
* temp save

* temp save

* temp save

* tempsave

* rollback

* temp save

* added combobox

* finish combobox, discard

* restore combobox

* page load successfully

* finish

* rm excessive changes

* fix prettier

* fix prettier again
2023-04-19 23:50:07 +03:00
Kalle
c670237e4c Fix badge adding modal not scrollable Closes #1347 2023-04-19 01:28:56 +03:00
Zen
78dca46932
Show text when max builds count reached Fixes #895 (#1335)
* fix

* format

* fix

* format

* rename json

* Styling

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-04-16 21:45:28 +03:00
Kalle
0015a0702f Fix lint failing 2023-04-16 13:50:15 +03:00
Kalle
81cc15e916 Ramp fixes 2023-04-16 11:44:30 +03:00
Kalle
7eb85d4dcb Try Ramp as React component 2023-04-15 20:59:43 +03:00
Kalle
de646e4fda Badges: Fix modal not showing overflowing user combobox 2023-04-15 20:08:44 +03:00
Kalle
150765dab6 Add badge 2023-04-15 12:15:44 +03:00
Gell
551b8e3eb2
Update Chinese translation (#1336) 2023-04-15 12:07:28 +03:00
dependabot[bot]
46a5e40ec7
Bump xml2js and aws-sdk (#1334)
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) to 0.5.0 and updates ancestor dependency [aws-sdk](https://github.com/aws/aws-sdk-js). These dependencies need to be updated together.


Updates `xml2js` from 0.4.19 to 0.5.0
- [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases)
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/compare/0.4.19...0.5.0)

Updates `aws-sdk` from 2.1353.0 to 2.1354.0
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1353.0...v2.1354.0)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: aws-sdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-15 12:06:56 +03:00
dependabot[bot]
36fa158a92
Bump vm2 from 3.9.15 to 3.9.16 (#1338)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-15 12:06:25 +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
31484e6b26 Add badges 2023-04-13 00:33:38 +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
b4f4b34de3 Upgrade deps 2023-04-10 13:41:57 +03:00
Kalle
9869b888db Better object damage calc icon bg color Closes #1324 2023-04-10 12:19:20 +03:00
Kalle
27b1e2af15 useTransition -> useNavigation (deprecation) 2023-04-10 12:13:24 +03:00
Zen
2b08997641
Results table team->player if one player teams Closes #1311 (#1329)
* add json

* temp save

* fix

* Update app/routes/calendar/$id/index.tsx

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-04-10 12:02:53 +03:00