Commit Graph

35 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
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
5a28f402c4 Add April SR gear 2023-04-02 15:34:28 +03:00
Kalle
f5799e8529 Remove S2 site link 2023-03-26 16:32:12 +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
369e7ecb57 Add February SR gear 2023-02-05 13:55:00 +02:00
Kalle
d4ffd8f35b Build Analyzer: Compare in ink consumption table 2023-01-28 19:43:05 +02:00
Kalle
f48c49aaa5 Build Analyzer: AP comparing 2023-01-21 12:10:40 +02:00
Kalle
a60901e59b Build Analyzer: New weapon "info cards" style 2023-01-18 01:04:33 +02:00
Kalle
6e630ab8e3 Add January's SR reward 2023-01-07 10:53:09 +02:00
Sacha Ntolo
6b01a684ff
Update French translation (#1201)
* Translated all the new lines and changed some previous translations

* Corrected error in common.json

Removed the line added by mistake in common.json

* Prettify

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-05 01:05:10 +02:00
Kalle
1a8c2fc892 Use SubmitButton in various places 2022-12-25 12:00:17 +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
ffc92bdbce Chill Season 2022 update (2.0) 2022-11-30 22:24:56 +02:00
Remmy Cat Stock
a73be2e742
Add placement ordinal translation (#1102) 2022-11-06 11:18:03 +01:00
Kalle
123565a952 Add November's Salmon Run gear 2022-11-03 20:20:34 +02:00
William Lam
0d8b88ea5a
All articles page (#1072)
* Added new Article route that renders all Articles (with a reasonable upper limit for now).
- Also added a GoToPageBanner for the main Articles page (/a) on the front page. This is placed above the ArticlesPeek component
- Used the sendou_love navItem icon for the moment (this can be replaced at any time once a new art asset is added)

* Fixed Prettier CI pipeline error

* Ran `npm run check-translation-jsons` to update missing Translations for new key added

* Update public/locales/en/front.json

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

* French localizations

* Removed unnecessary comment

* Converted h2 to h1 tags for Main Articles page

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

* Moved GoToPageBanner element for main articles page to below ArticlesPeek element

* Refactored some files so that the articles prop is passed into ArticlesPeek
- Also added the Articles header title in common.json

* Updated translation-progress.md

* Cleaned up data type for articles prop in ArticlesPeek

* Fixed React hydration error for translations on imported articles
- Added in SendouRouteHandle component on new Articles main page

* GoToPageBanner now optionally accepts a `navItem` parameter. It does not render the image if navItem is not passed into it

* Removed <Outlet /> JSX element on the main Articles page

* Removed sendou_love navItem on GoToPageBanner for articles page

* Fixed spacing issue by grouping ArticlesPeek and its corresponding GoToPageBanner element into a `stack` div

* Fixed pipeline error

* Update translation again

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2022-11-01 08:57:44 +02:00
Kalle
60a0495b9d Support for blob 4 shots in analyzer
+ fixed L-3 showing curling damage in multiples.
+ fixed "1 hit" typoed to "1 hits"

Closes #1065
2022-10-29 21:04:34 +03:00
Kalle
7af8e7a9db Add slosher class weapons damages 2022-10-29 20:36:48 +03:00
Kalle
87bca7aa44 Maps page initial 2022-10-06 20:54:14 +03:00
Kalle
5da1a66a6c Add Lo-Vis Visor 2022-10-04 21:07:14 +03:00
Charakiga
21ce2ff0ba
Minor changes to analyzer FR
Fixed a typo and added a more accurate translation for "patch".
2022-10-02 16:57:26 +02:00
Kalle
5a51c856a4 Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into patch-3 2022-10-01 11:41:22 +03:00
Kalle
e84eb2045c Fix json formatting 2022-10-01 11:39:30 +03:00
Charakiga
b5f422fef5
Rename Analyzer.json to analyzer.json 2022-10-01 01:58:34 +02:00
Charakiga
abead650c3
Add Analyzer to FR translation
Fully translated and verified.
Please ignore the other closed pull request on analyzer, forgot to add "/fr".
2022-10-01 01:56:21 +02:00
Charakiga
14de5b4680
Update common -->FR translation
Added the translation for weapons classes names.
2022-10-01 00:52:26 +02:00
Kalle
012d7f8afc Add launch gear 2022-09-14 13:43:57 +03:00
Kalle
b6ae4f73da Add Hero Shot & REEF-LUX 2022-09-14 13:02:52 +03:00
Kalle
21e1376273 Sub & special weapons in translation json 2022-09-12 18:21:39 +03:00
Kalle
cbb62bd3f9 French translations 2022-09-08 18:36:25 +03:00
Kalle
f21901dd52 Fix wrong clothes translations
Closes #924
2022-09-06 20:23:38 +03:00
Kalle
fe7a14168c Gear and weapon translations for every language 2022-09-05 21:12:20 +03:00