Commit Graph

3893 Commits

Author SHA1 Message Date
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
Zen
6f36b6b3dc
Add Chinese Translation (#1328)
* Add Translation

* fix

* fix
2023-04-10 11:52:08 +03:00
Kalle
83c2ed083a Add translator credit 2023-04-10 11:51:51 +03:00
dependabot[bot]
f25b512725
Bump vm2 from 3.9.11 to 3.9.15 (#1327)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.15.
- [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.11...3.9.15)

---
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-10 11:48:40 +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
5dc75367b8 Add badges 2023-04-07 21:08:43 +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
5b94ced4ef Fix typos 2023-04-07 12:44:03 +03:00
Teddi
48340e8d86
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>
2023-04-07 12:14:21 +03:00
Zen
352fc1d88e
Add zh badge translation (#1322) 2023-04-07 12:06:20 +03:00
Kalle
7155959540 Add badge 2023-04-05 23:11:34 +03:00
Kalle
0dc7807f2c Rename badge 2023-04-04 17:57:16 +03:00
Kalle
06a461d3bf Add badges 2023-04-04 17:50:11 +03:00
Kalle
5a28f402c4 Add April SR gear 2023-04-02 15:34:28 +03:00
Kalle
108ff2a4ff Add badge 2023-04-02 15:19:44 +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
b6cef2d430 Add article 2023-03-29 21:55:33 +03:00
Kalle
ccf5502748 Add badge 2023-03-29 21:51:21 +03:00
Kalle
7a249522a4 Fix sploosh build stat pages returning 404 2023-03-29 21:45:26 +03:00
Kalle
935b5ff955 Allow script to skip users 2023-03-26 22:40:58 +03:00
Kalle
782a0e6c6d Better user avatar + name wrapping for mobile 2023-03-26 20:03:32 +03:00
Kalle
070229804c Add badge winners script 2023-03-26 19:42:18 +03:00
Kalle
014c71a748 Different badge text if XP badge 2023-03-26 18:20:23 +03:00
Kalle
575d285ee4 Fix type error 2023-03-26 16:40:30 +03:00
Kalle
61e8d24829 Add feature to README 2023-03-26 16:35:12 +03:00
Kalle
dcaf39db5f Add badge 2023-03-26 16:34:06 +03:00
Kalle
f5799e8529 Remove S2 site link 2023-03-26 16:32:12 +03:00
Gell
0280c7f559
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
2023-03-19 10:58:05 +02:00