* Added Ability Chunks Required section in Build Analyzer
* Renamed a variable to be more precisely correct
* Added reference
* Removed some extra Javadoc comments
* Prettier fix
* We now only render the AbilityChunksRequired section only if the main abilities array contains a value other than "UNKNOWN"
* Improved React keys naming for performance reasons
* Ability Chunks map is now converted to an array & sorted by value (descending) before it gets rendered as visual components
* Fixed typing error
* Moved logical function to a new file in the analyzer module called abilityChunksCalc.ts
- Refactored for loop content to be cleaner
- Removed & changed some comments
* More for loop refactoring
* We now pass the entire build into abilityChunksCalc.ts
* Refactored map() to flatMap() so we avoid unknowns/null/undefined
* Refactored code to process mainAbilities and subAbilities
* Fixed subability list construction logic & typing in updateAbilityChunksMap()
* Got my first unit test working
* Added working unit tests, also changed sort order slightly
* Added a "real" build for testing
* Removed residual console.warn() call
* Moved constants to abilityChunksCalc.ts
* Ability chunk calculation is now correct for sub abilities
* Uncommented tests & improved their descriptions
* Rearranged expected output to match sorted order for clarity (even though it doesn't have to be)
* Fixed Prettier error
* Spacing
* Moved comments around
* More spacing
* Prettier error on test file
* Improved check in the tests
* Added a second "real" build to tests for good measure
* Added error message to empty array test
* Updated comments again
* More comments updated
* Update test name
* Ability Chunks section is now shown if we have at least one selected ability (handles edge case for primary slot-only abilities being the only chosen ability)
* Added Danish translation
Added Danish translation for the line
"pages.articles":
* Added Danish translation
Added Danish translation for the following line.
"articlesGoTo"
* Added Danish translation
Added Danish translation for
"articlesGoTo"
added missing comma's in the code, so it follows correct formatting.
* removed empty line at end of the file
Removed an empty line under the "}" symbol.
* Fixed formating
Removed line 16, as it was completely empty.
* Update front.json
* Update front.json
* Fix CI
* Added Danish Translation
Added Danish translation in the common.JSON file for the following lines.
header.language
header.loggedInAs
header.theme
theme.light
theme.dark
theme.auto
Changes translation of the following lines in order to comply with translations in the game-misc.json
"maps.halfSz"
* Added Danish Translations for TO-tools.
Added Danish translations for
"forms.toTools.header":
"forms.toTools.explanation":
Note. the translations is assumed that the "seed creator tool" is a tool to seed the teams in the tournament.
* added Danish translations for TO-tool.
Added Danish translations for the following lines
The following lines have been translated
actions.saveChanges
maps.tieBreakerMapPool
maps.validation.PICKING
maps.validation.NOT_ONE_MAP_PER_MODE
maps.validation.MAP_REPEATED
maps.validation.MODE_REPEATED
maps.validation.TOO_MUCH_STAGE_REPEAT
maps.validation.VALID
* Added Danish translations for tournament.json
Added Danish translations for the TO tool.
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* 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
* Added Danish translation
Added Danish translation for the line
"pages.articles":
* Added Danish translation
Added Danish translation for the following line.
"articlesGoTo"
* Added Danish translation
Added Danish translation for
"articlesGoTo"
added missing comma's in the code, so it follows correct formatting.
* removed empty line at end of the file
Removed an empty line under the "}" symbol.
* Fixed formating
Removed line 16, as it was completely empty.
* Update front.json
* Update front.json
* Fix CI
* Added Danish Translation
Added Danish translation in the common.JSON file for the following lines.
header.language
header.loggedInAs
header.theme
theme.light
theme.dark
theme.auto
Changes translation of the following lines in order to comply with translations in the game-misc.json
"maps.halfSz"
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Add prettierrc and editorconfig
* Updated README with `npm run cf` steps & also a git command that will fix a line ending error
* Added reference
* Prettier ;_;
* Add gitattributes to make sure git uses core.autocrlf on windows
Co-authored-by: William Lam <w.lam@honteam.com>
* Added Danish translation
Added Danish translation for the line
"pages.articles":
* Added Danish translation
Added Danish translation for the following line.
"articlesGoTo"
* Added Danish translation
Added Danish translation for
"articlesGoTo"
added missing comma's in the code, so it follows correct formatting.
* removed empty line at end of the file
Removed an empty line under the "}" symbol.
* Fixed formating
Removed line 16, as it was completely empty.
* Update front.json
* Update front.json
* Fix CI
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>