Commit Graph

1559 Commits

Author SHA1 Message Date
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
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
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
7a249522a4 Fix sploosh build stat pages returning 404 2023-03-29 21:45:26 +03:00
Kalle
782a0e6c6d Better user avatar + name wrapping for mobile 2023-03-26 20:03:32 +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
f5799e8529 Remove S2 site link 2023-03-26 16:32:12 +03:00
Kalle
6a52e87a38 Revert "Side nav labels on hover (#1290)"
This reverts commit 6e839c6c2d.
2023-03-18 10:49:06 +02:00
Kalle
311cb81c56 Consider only one build by user for popular builds Closes #1312 2023-03-15 23:02:34 +02:00
Justin
6e839c6c2d
Side nav labels on hover (#1290)
* updated names for tooltip flyout

* side tooltip text working

* tooltip text on side nav wrkng, using common names

* updated styles for playwright

* passing all css lint tests

* changed side nav to width:20%

* adjusted z-index on badge page for nav tooltip

* updated clickable "hitbox"

* Styling

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-03-14 20:17:39 +02:00
Kalle
6a585cff5a Add caching to popular builds and buil stats Closes #1308 2023-03-12 14:17:43 +02:00
Kalle
b588be680c Fix analyzer crash with invalid URL Closes #1291 2023-03-12 11:18:08 +02:00
Kalle
a1d9add1ac New builds: Fix delete button off screen Closes #1293 2023-03-12 11:02:04 +02:00
Kalle
366b6fc072 Analyzer: Fix brella canopy HP 2023-03-12 10:30:25 +02:00
Kalle
3f5ea6fe39 Builds: Fix new build weapon inputs losing value Closes #1306 2023-03-12 10:26:30 +02:00
Kalle
cfa0d4dd0d
Build stats / popular builds (#1307)
* Add abilityPoints migration

* Initial stats

* Build stats UI

* Add TODO

* Update css file name

* Popular builds page
2023-03-11 14:05:08 +02:00
Kalle
3a7549c732 Edit vods feature Closes #1278 2023-03-08 22:57:56 +02:00
Kalle
6a55bceaf0 VoDs 3 in same row Closes #1300 2023-03-07 21:42:51 +02:00
Kalle
712a7c84e5 Fix vods timestamps layout Closes #1294 2023-03-07 21:40:16 +02:00
Kalle
cb98b5510d VoDs load more button Closes #1279 2023-03-07 21:03:03 +02:00
Kalle
e079370cdf Add Grizzco gear you can buy with scales Closes #1292 2023-03-07 01:13:01 +02:00
Kalle
fbac8c0d31 Add 3.0 stages to planner Closes #1287 2023-03-06 23:27:23 +02:00
Kalle
867f8f6bbd Add .server to vod queries Closes #1286 2023-03-06 21:58:28 +02:00
Kalle
bc2fd55298 Add question about VoDs to FAQ Closes #1301 2023-03-06 21:58:28 +02:00
Kalle
f4a9ae6558 VoDs validated by default 2023-03-05 23:17:13 +02:00
Kalle
874694dc09 Make vods public 2023-03-05 21:54:52 +02:00
Kalle
6cdbcc782b VoDs better grid layout Closes #1296 2023-03-05 20:00:45 +02:00
Kalle
1be67269a8 Remove invalid vod minutes max Closes #1295 2023-03-05 19:45:20 +02:00
Kalle
bd6a1d9e08 Add VoDs to navigation Closes #1282 2023-03-05 14:35:06 +02:00
Kalle
1ad9ecf781 Support Super Chump paint stat Closes #1288 2023-03-01 18:44:45 +02:00
Kalle
2392427762 Patch 3.0 Closes #1284 2023-03-01 18:42:32 +02:00
Kalle
933ab90671 Add "Midline" team member role Closes #1285 2023-02-27 20:40:23 +02:00
Kalle
1716e5bbda Add tags Closes #863 2023-02-26 23:37:27 +02:00
Kalle
71d7aa7c55 Add title to VoDs page 2023-02-26 14:45:11 +02:00
Kalle
30063f6075
VoDs (#1283)
* YouTube lite embed + CSS bundled import

* Migration initial

* New VoD page initial functioning

* Table changes + add TODOs

* New structure for add vod page

* WIP add new VoD backend

* Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into vods

* Fix when leaderboard appears

* Function new vod form

* Single vod page initial

* Different YouTubeEmbed

* Scroll to top when going to timestamp

* Vod match weapon/mode icons

* Vod page user

* Add date to vod page

* Adjust migration order

* Vod page many weapons

* Add title to vod page

* New vods page cast many weapons

* Add player index to order by

* Vods new more validation

* Vod listing page initial

* Vods page with filters

* Show message if no vods

* Fix not being to unset filters

* Fix seed sometimes throwing errors

* User page VoDs

* Vods nullable weapon combobox

* Link directly to user custom url from vod page

* Make video adder admin action

* Can add video checks

* i18n

* New VoD form tests

* VoD operates filters test

* Vods behind flag

* Remove from config
2023-02-26 14:31:57 +02:00
William Lam
26e0a79d9a
Fixed copyright note so that it does not overlap other UI elements horizontally at high zoom levels (#1277) 2023-02-26 11:34:07 +02:00
Kalle
c0c4c251cc Add Polish language 2023-02-23 21:47:09 +02:00
Ryan Purpura
93e465b281
Fix Drop Roller AP: 30 AP per ability (#1266)
* Fix Drop Roller AP: 30 AP per ability

* Update test
2023-02-20 17:30:44 +02:00
Kalle
f0022a8c93 Add force patron feature 2023-02-18 11:03:47 +02:00
Kalle
44bd60afe8 Adjust layout 2023-02-15 17:07:26 +02:00
Kalle
5b9a0ec5f2 Upgrade deps 2023-02-15 00:22:31 +02:00
Kalle
c6361adec7 Layout adjustments 2023-02-15 00:08:27 +02:00
Kalle
7b5ce84ffe Adjust script 2023-02-12 13:57:39 +02:00
Kalle
59f5c6d0c6 Move scripts tag 2023-02-12 13:37:31 +02:00
William Lam
afe8d33351
Fixed long trailing decimals from displaying for Special Weapon ink consumption stats (#1212) 2023-02-10 21:15:29 +02:00
Kalle
c819711164 Test page adjustments 2023-02-05 14:43:36 +02:00
Kalle
ae02fde8d5 Add link to footer 2023-02-05 14:16:30 +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
cf6f1a8616 Add build analyzer description 2023-02-05 13:28:53 +02:00
Kalle
06befe754f Build Analyzer: Fix Zipcaster stats 2023-02-05 12:24:00 +02:00
Kalle
a507ea10ee Admin page: Refresh plus tiers 2023-01-29 12:04:55 +02:00
Kalle
f15a5f539c Build Analyzer: Build comparison E2E tests 2023-01-29 11:42:08 +02:00
Kalle
d4ffd8f35b Build Analyzer: Compare in ink consumption table 2023-01-28 19:43:05 +02:00
Kalle
27cb5be472 Build Analyzer: Create new build prompt 2023-01-28 15:31:07 +02:00
Kalle
cc7d0bfc7c Playwire test 2023-01-28 13:10:40 +02:00
Kalle
000671d2b5 Avoid jumpiness in UI when clicking back button 2023-01-27 00:49:10 +02:00
Kalle
ce39f213f9 Fix RP calculation (no QR reduction if only own RP) 2023-01-27 00:48:57 +02:00
Kalle
3110635b2f Take in account Jr. big ink tank for subWeaponInkConsumptionPercentage 2023-01-27 00:09:32 +02:00
Kalle
ecf3763c37 Fix 1 main of ISS on Autobomb showing 50% ink consumption 2023-01-26 23:28:38 +02:00
Kalle
5115df4e2c Add customize user profile page colors e2e test 2023-01-25 18:32:52 +02:00
Kalle
ea0c82f13f Add new perks to support page 2023-01-25 17:56:56 +02:00
Kalle
4ed1cbc23f Team custom colors 2023-01-25 00:52:24 +02:00
Kalle
d4f0849987 Patron: Customize colors of own user profile 2023-01-24 01:31:33 +02:00
Kalle
057c4cf18d Support page 2023-01-23 00:39:21 +02:00
Kalle
318f7a5043 Ugprade Remix deps 2023-01-22 14:32:18 +02:00
Kalle
f0f6b14f58 Upgrade deps 2023-01-22 13:40:05 +02:00
Kalle
ebf980ad41 Fix NS effect not showing without swim speed 2023-01-21 18:56:58 +02:00
Kalle
0ef6ad6460 Adjust AP Comparison table margin 2023-01-21 15:45:16 +02:00
Kalle
70cac45579 Force add abilities to first build if second is empty 2023-01-21 15:41:26 +02:00
Kalle
2c7272585b Show main abilities in AP compare 2023-01-21 15:22:25 +02:00
Kalle
1b81519dd2 Patch 2.1 for Analyzer 2023-01-21 15:03:59 +02:00
Kalle
d8b5dbade6 Fix RP + new Tacticooler calculation 2023-01-21 14:53:55 +02:00
Kalle
f48c49aaa5 Build Analyzer: AP comparing 2023-01-21 12:10:40 +02:00
Kalle
8ba5c715fe Remove Fathom 2023-01-20 21:59:08 +02:00
Kalle
ad1a8b5b2e Build Analyzer: Comparison initial 2023-01-20 21:57:11 +02:00
Kalle
00cabd3cb7 Build Analyzer: Show 3 decimals for stats 2023-01-19 00:46:06 +02:00
Kalle
a60901e59b Build Analyzer: New weapon "info cards" style 2023-01-18 01:04:33 +02:00
Kalle
9f59864012 Don't let Weapon combobox weapon names wrap 2023-01-17 21:59:21 +02:00
Kalle
7f4a182ba5 Make textarea wrap text 2023-01-17 21:06:31 +02:00
Kalle
e1edfae929 Fix Safari bug when lazy loading images
Without it in e.g. team pages there is weird borders
before the image loads around the pfp's.
2023-01-17 19:29:46 +02:00
Kalle
4912b45569 Don't show images for validation the reference to nothing 2023-01-17 19:11:58 +02:00
Kalle
6da896a617 Map Planner: Persist to IndexedDB 2023-01-15 22:12:01 +02:00
Kalle
ce7e757082 Image upload admin: Show unvalidated left count 2023-01-15 22:12:01 +02:00
Kalle
4de648972d Team Search: Fix horizontal overflowing with long team names 2023-01-15 22:12:01 +02:00
Kalle
9f25720f16 Team: Fix border around avatar being off 2023-01-15 22:12:01 +02:00
Kalle
7344002b42 Team page: Small mobile member card layout improvements 2023-01-15 22:12:01 +02:00
Kalle
d985eadb9a Plus Server suggestions visible for everyone 2023-01-15 22:12:01 +02:00
Kalle
c579d3e240 Remove background pattern from image
This caused a weird "border" on images.
+ It's kind of ugly when below transparent images.
Still some issues to solve when images don't load.
2023-01-15 16:53:36 +02:00
Kalle
7fab35a461 Fix seed script 2023-01-14 14:43:14 +02:00
Kalle
946a287b96 Introduce getUserId and requireUserId
Idea is to avoid doing DB calls when all we need
is just the user's id.
2023-01-14 13:45:06 +02:00
Kalle
84e1868aa0 Remove unused code 2023-01-14 13:08:00 +02:00
Kalle
b35f5d9921 BuildCard: Bigger font size for user name / time 2023-01-14 12:16:55 +02:00
Kalle
87af222a10 Don't prefetch some pages with loader 2023-01-13 23:33:22 +02:00