Commit Graph

124 Commits

Author SHA1 Message Date
Kalle (Sendou)
2bdaa405ef Calendar get likes via SWR 2021-08-16 19:56:30 +03:00
Kalle (Sendou)
4d55f231a9 Calendar get via SWR 2021-08-16 19:56:30 +03:00
Kalle (Sendou)
58ae7c57bb Fix type error 2021-08-08 16:56:04 +03:00
Kalle (Sendou)
5079f0e571 Closes #627 2021-08-08 16:18:44 +03:00
Kalle (Sendou)
1c29af0ef5 Add EBTV badge 2021-08-05 20:19:24 +03:00
Kalle (Sendou)
9a19b8d0f8 Remove /play 2021-08-03 18:40:17 +03:00
Kalle
af3a654595
Customize profile colors (#603)
* Variables rearranged

* Make patron.json empty again

* Fix styles.css

* Working prototype

* Table legible color

* UI furthened

* Set opaque theme color with custom colors

* Control Color Selector with buttons

* Show info if can't edit colors

* borzoic can also edit colors

* Add migration

* Can send colors to backend

* Edit existing colors

* Use new layering strat for footer

* useMutation custom hook

* Footer adjusted text color

* Reset style after profile visit

* Set squid color after page load

* Mutate user after color selection
2021-07-29 20:30:47 +03:00
Kalle (Sendou)
7a7558629b Next.js Eslint fix errors 2021-06-20 19:52:05 +03:00
Kalle (Sendou)
80a5fcfaba Adjust "many options to link" message 2021-06-07 18:43:03 +03:00
Kalle (Sendou)
9ef43e602f Call end() after league api POST 2021-05-23 19:23:41 +03:00
Kalle (Sendou)
2ec1f991ee Fix weapon type in league 2021-05-23 19:09:11 +03:00
Kalle (Sendou)
e2f53601f6 Check for Lanista token when POSTing league data 2021-05-23 18:11:09 +03:00
Kalle (Sendou)
1e57ae5750 Closes #506 2021-05-23 18:02:29 +03:00
Kalle (Sendou)
f8186d4189 Revert "⬆️ upgrade to trpc6 (#444)"
This reverts commit dfb68d06fd.
2021-05-16 17:59:13 +03:00
Kalle (Sendou)
da71b6d17b Fix type errors 2021-05-16 17:19:09 +03:00
Kalle (Sendou)
ff248d6270 Trim custom url before saving to DB
Was causing 404 errors when users accidentally included
white space after the custom url
2021-05-08 17:59:01 +03:00
Kalle
cfd8de5d1d
Migration for western LB (#472)
* Migration

* Bot freeAgents API get profile updatedAt

* Add isJP script
2021-05-01 16:27:14 +03:00
Kalle
89afd0e41d
Ladder initial with FAQ (#443)
* queries for play service

* seed ladder day

* seed ladder registered teams

* ladder day get for future

* seed add ladder matches

* extract RegisterTab component

* MyError / MySpinner

* tweaks

* FAQ tab

* add to faq

* stats tab

* tabs to search params

* tabs for mobile
2021-04-26 15:18:27 +03:00
Kalle (Sendou)
bf1b7c5839 Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-04-23 09:44:01 +03:00
Alecat
c9dc0c9975
Add FreeAgentPost ID to api/bot/freeagents (#430) 2021-04-22 13:58:04 +03:00
Kalle (Sendou)
9491c32b91 Rename api-routes folder to routers 2021-04-21 18:02:20 +03:00
Kalle (Sendou)
0432ab2e1d Update api folder name to avoid clash w/ pages/api 2021-04-21 17:56:06 +03:00
Kalle
1589b84c4b
New layout (#427) closes #405
* side layout initial

* add elements to side nav

* side buttons links

* remove clog

* calendar page initial

* position sticky working

* x trends page initial

* new table

* same mode selector

* mobile friendly table

* no underline for nav links

* xsearch

* x trends page outlined

* sr initial

* relocate calendar components

* calendar fix flex

* topnav fancier look

* layout looking good edition

* relocate xtrends

* xtrends remove linecharts

* x trends new

* calender page new

* delete headbanner, new login

* remove calendar stuff from api

* rename stuff in utils

* fix user item margin

* new home page initial

* remove page concept

* no pointer xtrends

* remove xrank from app

* xtrends service

* move fa from app

* move plus

* maps tweaks

* new table for plus history

* navigational sidebar flex tweaks

* builds page

* analyzer

* user page

* free agents

* plans

* remove mx

* tweaks

* change layout to grid

* home page finalized

* mobile nav

* restrict main content width

* tweaks style

* language switcher

* container in css

* sticky nav

* use duplicate icons for now

* change mapsketch width to old

* chara tour vid

* borzoic icons
2021-04-21 17:26:50 +03:00
Kalle (Sendou)
a70d1ec4f9 fix some type errors 2021-04-10 15:47:11 +03:00
Kalle
a812561a83
Free agent filters + free agents inside app (#401)
* new location

* free agents modal use trpc

* extract components from FreeAgentsPage

* trpc for likes

* unify naming

* extract filters component

* top 500 filter

* plus server membeship filter

* weapon filter

* all filters implemented

* reset filters

* filters final look

* filters from query params

* fetch fa posts statically
2021-04-10 15:19:09 +03:00
Kalle (Sendou)
35f1ef8f88 events bot api 2021-04-03 10:34:23 +03:00
Kalle (Sendou)
1320ed9127 string util functions location consistency and comments 2021-04-01 23:26:10 +03:00
Kalle (Sendou)
dd9a00f78b can send event 2021-03-27 13:57:12 +02:00
Kalle (Sendou)
a0bf6ca6fd upgrade deps 2021-03-23 13:05:47 +02:00
Alex Johansson
c1b3c77d20
bump @trpc/* (#302)
```
npx ncu --filter /@trpc/ -u && npm i
```
2021-03-17 13:41:38 +02:00
Kalle (Sendou)
950f2be402 new api for plus 2021-03-09 00:01:59 +02:00
Kalle (Sendou)
710520d0f6 suggestion mutation backend 2021-03-08 22:04:09 +02:00
Kalle (Sendou)
acc20ad5e1 plus with dots 2021-03-08 21:36:51 +02:00
Kalle (Sendou)
0cbffc8cb2 suggestions plusStatuses via trpc 2021-03-08 20:25:16 +02:00
Kalle (Sendou)
4fbebe6209 migrate plus location 2021-03-08 19:22:01 +02:00
Kalle (Sendou)
a80e7847c4 trpc initial 2021-03-08 18:26:31 +02:00
Kalle (Sendou)
dff31cdfc7 rename lib -> utils 2021-03-08 17:48:05 +02:00
Kalle
c93cc20f3a can vouch 2021-02-27 15:06:30 +02:00
Kalle
ca2bdabf0e suggestions render 2021-02-24 02:30:31 +02:00
Kalle
e787a94de6 add suggestion backend 2021-02-23 22:20:22 +02:00
Kalle (Sendou)
5d4235a03b player connect tell about sendoulink cmd 2021-02-07 11:51:28 +02:00
Kalle (Sendou)
e373555677 detailedMap save date 2021-02-07 00:57:35 +02:00
Kalle (Sendou)
3f0b704e9d save matches to db 2021-02-07 00:29:20 +02:00
Kalle (Sendou)
0fabe28e1c fix ts trueskill error 2021-02-07 00:15:17 +02:00
Kalle (Sendou)
8eb6cb83c7 better error handling for matches 2021-02-06 23:45:37 +02:00
Kalle (Sendou)
12891d5112 fix type error 2021-02-06 23:34:22 +02:00
Kalle (Sendou)
603156f611 unique to principal detailed map backend 2021-02-06 13:15:36 +02:00
Kalle (Sendou)
3a589c053f crash fixes 2021-01-30 13:36:39 +02:00
Kalle (Sendou)
55424981ee lanista ladder routes 2021-01-29 11:55:08 +02:00
Kalle (Sendou)
c7c340c768 map generation logic 2021-01-27 10:52:38 +02:00