Commit Graph

65 Commits

Author SHA1 Message Date
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
6a585cff5a Add caching to popular builds and buil stats Closes #1308 2023-03-12 14:17:43 +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
d4f0849987 Patron: Customize colors of own user profile 2023-01-24 01:31:33 +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
6feb269193
Full tournament feature WIP (#1196)
* Layout initial

* Add FillRosterSection component

* Move tournaments to feature folder

* Refactor Button props

* SubmitButton

* Register action

* Identifier -> Id

* Invite link via nanoid

* Team info submit

* Enter tiebreaker map list UI

* Invite members to tournament team initial

* Show banner if joined a team not captain of

* Add back teams page

* Change team roster size color when good

* Delete tournament team member
2022-12-21 23:24:59 +02:00
Kalle
7945e1ecc7 User page: weapon pool 2022-12-13 18:51:06 +02:00
Kalle
1648e28ba9 BuildCard: Better title wrapping and alignment
Closes #1163
2022-11-26 17:08:00 +02:00
Kalle
ecd5a2a2f7
TO Tools (#1077)
* 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
2022-11-13 14:41:13 +02:00
Kalle
e00c7cf531 Submit map pool initial 2022-10-09 12:27:09 +03:00
Kalle
7eac4dd99c Increase IGN limit
In Splatoon limit is 10. But special characters can count as 2
even if in Splatoon they count as 1.
2022-10-04 20:56:16 +03:00
Kalle
34c1b0e71a User custom url, ign & sens initial 2022-09-29 23:26:31 +03:00
Kalle
a5fad589e8 Add limit + load more logic to builds page 2022-09-25 14:55:20 +03:00
Kalle
18c2d3bbab Make lint happy 2022-09-14 14:06:52 +03:00
Kalle
03ab68d9ac Create empty build constant 2022-09-14 12:05:30 +03:00
DoubleCookies
8a08f14254 Higher bracket URL size 2022-09-11 12:37:37 +03:00
Kalle
d69f335866 Can delete build 2022-09-03 18:14:53 +03:00
Kalle
a895976381 Weapons selector initial 2022-09-03 18:14:53 +03:00
Kalle
b98c9ef16c Builds form progress 2022-09-03 18:14:53 +03:00
Kalle
af65d8eb77 CALENDAR_EVENT constants to object 2022-08-07 14:31:04 +03:00
Kalle
762cb5e215 Implement parsing report scores action 2022-08-05 00:35:10 +03:00
Kalle
45d1ef8f45 Report results UI 2022-08-02 21:35:30 +03:00
Kalle
d67312f825 Sort tags before adding to DB 2022-07-31 13:14:30 +03:00
Kalle
a53a448a7f Add tournament action data schema 2022-07-30 16:41:16 +03:00
Kalle
5b459622d0 Add new events page initial 2022-07-29 21:24:45 +03:00
Kalle
1c814317c0 Access command initial 2022-06-18 22:33:14 +03:00
Kalle
c7a50ded65 Impersonate users in prod 2022-06-18 15:51:17 +03:00
Kalle
010f709e4b Plus upvote/downvote from constant 2022-06-12 16:19:43 +03:00
Kalle
5004befc02 Add /plus link to menu 2022-06-11 10:33:14 +03:00
Kalle
5fac72338c Set first comment length to 500 2022-06-09 00:25:12 +03:00
Kalle
e4526e8d82 Frontend create new suggestion 2022-05-30 01:03:33 +03:00
Kalle
300b4599f9 Comment modal UI 2022-05-26 16:47:50 +03:00
Kalle
2e7bb5706d User page bio 2022-05-17 21:40:55 +03:00
Kalle
185295d54e
User page initial with SQLite3 (#822)
* Clean away prisma migrations

* Way to migrate WIP

* SQLite3 seeding script initial

* Fetch tournament data in loader

* CheckinActions new loader data model

* Virtual banner text color columns

* Logged in user

* Count teams

* ownTeam

* Map pool tab fully working

* Teams tab

* Fix timestamp default

* Register page

* Manage team page

* Camel case checkedInTimestamp

* Clean slate

* Add .nvmrc

* Add favicon

* Package lock file version 2

* Update tsconfig

* Add Tailwind

* Add StrictMode

* Add background color

* Auth without DB

* Revert "Add Tailwind"

This reverts commit 204713c602.

* Auth with DB

* Switch back to tilde absolute import

* Import layout

* Camel case for database columns

* Move auth routes to folder

* User popover links working

* Import linters

* User page initial

* User edit page with country

* Script to delete db files before migration in dev

* Remove "youtubeName" column

* Correct avatar size on desktop

* Fix SubNav not spanning the whole page

* Remove duplicate files

* Update README
2022-05-16 17:52:54 +03:00
Kalle
03da81a84c
New navigation (#821)
* Menu skeleton

* Menu with nav icons

* Menu opens and closes

* More menu icons + links work

* Menu closes on navigation

* Blurred menu

* Remove other nav

* Rounded nav

* Fix menu alignment for Safari

* Close on click outside

* Disable body scroll when menu open

* SubNav for tournament

* Use grid

* Make images same size again

* Remove comment

* Different style mobile nav

* Readd InfoBanner elements

* Move menu css to layout.css

* Move admin command input top left

* Page title from loader

* Fix error when getting pageTitle

* Fix CI
2022-04-30 11:10:09 +03:00
Kalle
61d16d43a5 Leaderboards select month 2022-04-02 22:58:50 +03:00
Kalle
6064ede66a Enable Leaderboards in nav 2022-03-26 11:43:40 +02:00
Kalle
fb2b50121a Add SendouQ logo 2022-03-21 22:16:30 +02:00
Kalle
0b0e1d95c6 NZAP use real UUID 2022-03-20 21:37:28 +02:00
Kalle
c693fe349e Chat for looking/match pages Closes #753 2022-03-20 14:12:20 +02:00
Kalle
ed74206b6b New MMR relation 2022-03-16 20:57:54 +02:00
Kalle
3b343e066e Admin can edit scores 2022-03-12 11:06:48 +02:00
Kalle
e9d650ad3d Lanista match details submit untested version 2022-03-07 21:01:24 +02:00
Kalle
1d7f736dee Can edit weapons in SendouQ settings 2022-03-06 13:38:55 +02:00
Kalle
acb45590ad Mini bio in SendouQ 2022-03-05 14:59:44 +02:00
Kalle
007a03b05d Clean up unused code 2022-03-04 21:19:57 +02:00
Kalle
4f8f45fc9e Show relative team MMR for ranked teams 2022-02-28 20:27:42 +02:00
Kalle
7f61cea3dc Try best of 7 2022-02-26 14:40:57 +02:00
Kalle
e07fff02b0 Display MMR + top x% on play front page 2022-02-26 13:44:21 +02:00
Kalle
d423fbd347 Fix expiration texts 2022-02-21 23:48:26 +02:00