Commit Graph

51 Commits

Author SHA1 Message Date
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
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
Kalle
f0022a8c93 Add force patron feature 2023-02-18 11:03:47 +02:00
Kalle
d4f0849987 Patron: Customize colors of own user profile 2023-01-24 01:31:33 +02:00
Kalle
c9cd840e58 Persisted Plus Tier migration
This is basically 100% perf optimization
2023-01-14 14:24:58 +02:00
Kalle
9fecc35839 Upload image page 2023-01-10 00:06:24 +02:00
Kalle
8a3178413c Team: Delete team feature 2023-01-06 16:33:37 +02:00
Kalle
b922b54d5b Team: Leave feature 2023-01-06 16:33:37 +02:00
Kalle
e05a6b9559 Use views for image and team tables 2023-01-06 16:33:37 +02:00
Kalle
9d74a79861 Team: Initial migration 2023-01-05 00:41:44 +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
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
Remmy Cat Stock
3bc75f58d3
Add database table for user result highlights 2022-10-18 23:40:57 +02:00
Kalle
ae3f706f24 Maps page translated 2022-10-13 23:22:26 +03:00
Kalle
4108637a30 Save map pool in edit calendar event page 2022-10-13 19:22:23 +03:00
Kalle
bdba03a5d8 Datalist on maplist page initial 2022-10-11 20:14:32 +03:00
Kalle
e00c7cf531 Submit map pool initial 2022-10-09 12:27:09 +03:00
Kalle
34c1b0e71a User custom url, ign & sens initial 2022-09-29 23:26:31 +03:00
Kalle
b69b20378b Fix + make tickets of problem comments 2022-09-03 18:14:53 +03:00
Kalle
6db1136ac2 Add weapons images to combobox 2022-09-03 18:14:53 +03:00
Kalle
b8b84dd7f9 Indexes in migration 2022-09-03 18:14:53 +03:00
Kalle
0efff0c907 Builds migration with seed 2022-09-03 18:14:53 +03:00
Kalle
8fb4f515ad Adjust calendar event results table to deduplicate 2022-08-07 15:36:10 +03:00
Kalle
fc252568b8 Save discord invite code instead of the whole URL 2022-07-30 13:19:54 +03:00
Kalle
0b1993b4f1 Make bracketUrl mandatory 2022-07-30 11:07:17 +03:00
Kalle
b21bd5c12d Add CalendarEvent.tags in migration 2022-07-28 21:37:05 +03:00
Kalle
abc30fd12b Calendar events from DB initial 2022-07-22 23:20:39 +03:00
Kalle
bf291cc5a0 Calendar tables migration 2022-07-21 21:27:21 +03:00
Kalle
08df13eba0 Show supporter badges logic 2022-07-11 01:02:50 +03:00
Kalle
9144fe4075 Add badge data scripts 2022-07-08 01:18:45 +03:00
Kalle
94d5e8c137 Add support for badge hue rotate 2022-07-05 11:30:01 +03:00
Kalle
35018a091a Fix plus tier view when many results w/ suggests 2022-07-04 13:17:05 +03:00
Kalle
bca8fd6da8 Add id to badge 2022-06-25 14:43:13 +03:00
Kalle
36ed51d7b3 Add badges migration 2022-06-24 16:16:06 +03:00
Kalle
43099449ab Migrations via ley 2022-06-07 00:51:39 +03:00
Kalle
31bbb17612 Fix average for passedVoting 2022-06-05 20:29:58 +03:00
Kalle
105854335f Voting history page initial 2022-06-05 12:45:58 +03:00
Kalle
7b10f19a3f Consider suggestions when calculating Plus Tier 2022-06-05 10:39:51 +03:00
Kalle
d7348afda8 Complete seeding script again 2022-06-04 16:38:11 +03:00
Kalle
7528652b42 PlusTier view 2022-06-04 16:04:43 +03:00
Kalle
7485aed180 Delete comment 2022-05-27 21:46:33 +03:00
Kalle
90784afe2e Fix unnecessary fetch when opening modal 2022-05-27 00:48:58 +03:00
Kalle
937c29f078 Plus Server DB migration 2022-05-22 10:40:33 +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 (Sendou)
1576f89925 move to old 2020-10-13 14:27:02 +03:00
Kalle
710d99cab2
New placements (#119)
* compiles but looks ugly

* create sr record working version

* validate and tsify

* chakra ui v 1.0 icon fixes

* new ui first ver

* remove unused icon

* remove imports , color picker work

* color picker done

* set bg color proper

* suggests vouches page

* remove unused deps

* voting history page

* build analyzer improvements

* calendar page new

* footer stay down

* ui refresh stuff

* x trends dont show tier if no weapons

* draft cup page new look

* plus faq page

* cra 4 beta

* top logo placed center

* weapon images new import style

* top nav aling correctly in mobile resolution

* nav changes

* initial xleaderboard

* peak x powers backend

* graphql codegen

* switched to apollo/client package

* initial xleaderboard table

* insert player ids

* dataloaders

* ts-node dev dep

* x leaderboard basic

* xleaderboard testing

* x rank placements backend

* all leaderboards frontend components initial

* pagination tweaking

* ran prettier

* leaderboards doneish

* top 500 browser basic

* top 500 browser

* pagination tweaks

* implemented filters

* user page placements

* remove useless

* useEffect only call on name change

* markdown use new table style

* use mode images

* search by player id

* link to xsearch from leaderboards

* translated

* disable next if no pagecount

* remove comment
2020-10-04 20:48:05 +03:00
Kalle
6100f389d5
New UI (#105)
* compiles but looks ugly

* create sr record working version

* validate and tsify

* chakra ui v 1.0 icon fixes

* new ui first ver

* remove unused icon

* remove imports , color picker work

* color picker done

* set bg color proper

* suggests vouches page

* remove unused deps

* voting history page

* build analyzer improvements

* calendar page new

* footer stay down

* ui refresh stuff

* x trends dont show tier if no weapons

* draft cup page new look

* plus faq page

* cra 4 beta

* top logo placed center

* weapon images new import style

* top nav aling correctly in mobile resolution

* nav changes

* update chakra ui

* add arrows

* import t

* add translations

* top500 logo

* mobile nav
2020-09-26 16:03:26 +03:00
Kalle (Sendou)
af7ad6b554 upsert user on login logic 2020-09-09 16:43:05 +03:00
Kalle (Sendou)
0102c1b22d add category enu 2020-09-06 20:13:32 +03:00