Commit Graph

1704 Commits

Author SHA1 Message Date
Kalle
7b5d2a2a21 Fix tier image not showing 2023-08-14 21:04:20 +03:00
Kalle
6a8f1492eb Fix crash when not logged in 2023-08-14 21:00:56 +03:00
Kalle
b7389aea6f Layout: less padding up top 2023-08-14 18:04:36 +03:00
Kalle
ac24d149e3 Try hiding bottom rail on planner 2023-08-14 17:49:58 +03:00
Kalle
818a85678e Optimize user builds loading by x12.5 2023-08-13 16:30:34 +03:00
Kalle
fa83790dff Privately cache user build tab response to avoid repeated requests 2023-08-13 15:36:29 +03:00
Kalle
37dedb0720 Fix leaderboards crash 2023-08-13 15:08:22 +03:00
Kalle
1d07ebc5e0 More resilient build filter parsing 2023-08-13 11:59:09 +03:00
Kalle
96b6270b5c Hide seasons tab for now 2023-08-13 11:04:01 +03:00
Kalle
6cee16492c Make it possible to disable login 2023-08-13 10:59:08 +03:00
Kalle
20f1ea4849 THROW_ON_AUTH_ERROR feature flag 2023-08-13 09:46:43 +03:00
Kalle
e7bbb565be
SendouQ (#1455)
* Tables

* Clocks

* Maplist preference selector

* Fix SSR

* Nav icon

* RankedOrScrim

* Map pool

* Create group

* Redirect logic

* Persist map pool

* Advance from preparing page

* Rename query

* Fix merge

* Fix migration order

* Seed groups

* Find looking groups SQL

* Renders something

* More UI work

* Back to 30min

* Likes/dislikes

* Always return own group

* Fix like order

* 3 tc/rm/cb -> 2

* Show only 3 weapons

* Pass group size

* Handle both liked and liked by same group

* Fix SQL

* Group preference frontend work

* Morphing

* Styling

* Don't show group controls if not manager

* Give/remove manager

* Leave group

* Leave with confirm

* Delete likes when morphing groups

* Clocks consistency

* Remove bad invariant

* Persist settings to local storage

* Fix initial value flashing

* Fix never resolving loading indicator

* REFRESH_GROUP

* Flip animations

* Tweaks

* Auto refresh logic

* Groups of 4 seed

* Reduce throwing

* Load full groups initial

* Create match

* Match UI initial

* Score reporter initial

* Push footer down on match page

* Score reporter knows when set ended

* Score reporting untested

* Show score after report

* Align better

* Look again with same group functionality

* More migrations

* Team on match page

* Show confirmer before reporting score

* Report weapons

* Report weapos again by admin + skill changing

* Handle no tiebreaker given to MapPool

* Remove unranked

* Remove support for "team id skill"

* no-wrap -> nowrap

* Preparing page work

* Use common GroupCard component

* Add some metas

* MemberAdder in looking page

* Fix GroupCard actions

* Fix SZ only map list including other modes

* Add season info

* Prompt login

* Joining team

* Manage group on preparing page

* Manage group on preparing page

* Seed past matches

* Add to seed

* No map list preference when full group + fix expiry

* Fix skill matchesCount calculation

* Tiers initial work

* Some progress on tiers

* Tiering logic

* MMR in group cards

* Name to challenge

* Team MMR

* Big team rank icons

* Adjust todos

* Match score report with confirm

* Allow regular members to report score

* Handle reporting weapons edge cases

* Add tier images

* Improve GroupCard spacing

* Refactor looking page

* Looking mobile UI

* Calculate skill only for current season

* Divide groups visually when reporting weapons

* Fix match page weapons sorting

* Add cache to user skills+tier calculation

* Admin report match score

* Initial leaderboard

* Cached leaderboard

* Weapon category lb's

* Populate SkillTeamUser in SendouQ

* Team leaderboard filtered down

* Add TODOs

* Seasons initlal

* Season weapons initial

* Weapons stylized

* Show rest weapons as +

* Hide peak if same as current

* Load matches SQL initial

* Season matches UI initial

* Take user id in account

* Add weapons

* Paginated matches

* Fix pages count logic

* Scroll top on data change

* Day headers for matches

* Link from user page to user seasons page

* Summarize maps + ui initial

* Map stats

* Player info tabs

* MMR chart

* Chart adjustments

* Handle basing team MMR on player MMR

* Set initial MMR

* Add info about discord to match page

* Season support to tournaments

* Get tournament skills as well for the graph

* WIP

* New team rating logic + misc other

* tiered -> tiered.server

* Update season starting time

* TODOs

* Add rules page

* Hide elements correctly when off-season

* Fix crash when only one player with skill

* How-to video

* Fix StartRank showing when not logged in

* Make user leaderboard the default

* Make Skill season non-nullable

* Add suggested pass to match

* Add rule

* identifierToUserIds helper

* Fix tiers not showing
2023-08-12 22:42:54 +03:00
Kalle
8be8dad77b
Update team-constants.ts 2023-07-30 11:34:49 +03:00
Kalle
a6c34b946f Add contributor 2023-07-30 11:11:54 +03:00
Kalle
d08a69311d Rename useSimplePagination hook 2023-07-30 11:10:53 +03:00
Kalle
2109cfeca1 Add pagination to teams page Closes #1410 2023-07-30 11:09:04 +03:00
Kalle
6d3093c9fd Extract Pagination component 2023-07-30 11:09:04 +03:00
Kalle
85bc060563 Fix wide choose highlights button 2023-07-30 11:09:04 +03:00
Kalle
756cfd5445 Build Analyzer: Add Splat Brella ISM shot stat Closes #1424 2023-07-30 11:09:04 +03:00
Kalle
2598faa226 Build Analyzer: Fix Inkjet & Reefslider paint radius stat Closes #1434 2023-07-30 11:09:04 +03:00
Kalle
6494ff1c88 Build Analyzer: Add comparing sub weapon damages Closes #1438 2023-07-30 11:09:04 +03:00
Filuz
bd6412385c
French translation update (#1433)
* French translation update

Updates the french translation

* map planner - make weapon selector slightly wider

fixes icons and text being squished/cutoff in some languages

* Adjust css

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-07-30 11:03:20 +03:00
Kalle
3e2f7f48d3 Normalize build filter value
Seems like for some reason I see error logs about lowercase
at_least? Not sure why but it's not hard to deal with it
2023-07-29 09:55:30 +03:00
Kalle
d3fcb5d769 Overflow visible for build gear 2023-07-29 09:45:33 +03:00
Kalle
f4b99a5f7d Add Patch 4.1 Closes #1431 2023-07-28 22:06:50 +03:00
Kalle
f0fe425b5f return redirect -> throw redirect
For consistency but also I think sometimes the data
loading gets screwed up if you don't throw
2023-07-28 21:41:51 +03:00
hfcRed
c1fb627bb0
Fixed issue 1407 (#1428) 2023-07-28 20:04:09 +03:00
Zen
12f5d37340
Fix: page scrolls to top when opening dialog (#1422)
* Fix scroll to top

* RM format change

* RM format change
2023-07-18 18:03:49 +03:00
Kalle
a52ba77347 Translateable art tags feature 2023-07-13 10:17:59 +03:00
Kalle
b054b36f29 Disable art submit button when submitting Closes #1414 2023-07-13 10:02:12 +03:00
Kalle
03ddb78765 Fix tags styling on mobile 2023-07-13 09:57:17 +03:00
Kalle
f0dbe10a96 Fix crash when adding new art with tags 2023-07-12 18:34:46 +03:00
Kalle
7b18a0cfc7
Art tags (#1420)
* Have clicking pagination dots do a thing

* Add tag frontend

* Backend

* Render tags

* Filter by tag

* Persist big art to search params

* Filter by tags on the common art page

* Linking tags + user tags
2023-07-12 16:25:46 +03:00
Kalle
fbe7e30646 Make art dialog description text pure white 2023-07-11 10:11:04 +03:00
Kalle
85ab0ab88d Fix user page art page not accessible without being logged in 2023-07-11 10:05:51 +03:00
Kalle
beffde6058 Open art 2023-07-10 10:26:31 +03:00
Kalle
dad6c8ea2c Fix it being possible to get empty paginated list 2023-07-10 10:16:12 +03:00
Kalle
e1b18d710a Make seed include many pages of art 2023-07-10 10:12:09 +03:00
Kalle
a095c8661c Show commission text also when closed 2023-07-09 21:38:41 +03:00
Kalle
d8bcf19dc4 Add previewable art hover effect 2023-07-09 21:02:32 +03:00
Kalle
62448c83cb Add "made by" to art grid 2023-07-09 20:47:06 +03:00
Kalle
711890b53a Increase commission text max to 1000 2023-07-09 20:07:05 +03:00
Kalle
3876db21d9 Fix upload page 2023-07-09 13:50:14 +03:00
Kalle
35168111a6
Art (#1412)
* Add to nav

* Allow nav items on front page to take full width

* Initial+

* Fix vods page title

* Add page title

* Common art type

* ArtGrid to a different component

* User arts page initial

* Add art tab to user page

* Preview initial

* Fix art counting

* Fix link and onclick overlapping

* Link to user art page to arts they made

* Artist role initial

* Show description

* Make toggle in art page saved in search params

* Add white-space pre-wrap to plus comments

Not sure why it was removed in the first place?

* Commission open / text and edit those

* Add simple pagination

* New art link display logic

* New art initial

* Upload art

* Hide art from side nav too

* Show banner when waiting for approval

* Edit art

* Fix art sub nav link not showing active

* Relocate unvalidated art text

* Delete art

* Extract ImagePreview component

* Eliminate some layout shift

* BigImageDialog extract component + prevent layout shift

* i18n

* Fix unused var

* Fix tests
2023-07-09 11:48:28 +03:00
Kalle
41d309989b Add links 2023-07-05 11:03:24 +03:00
Kalle
57e71c542b Links page 2023-07-03 10:55:02 +03:00
Kalle
3157efe375 Port "Play final and consolation final in parallel"
4b61707c2d (diff-62b417fe480c807f60ec4a160e2c3a621587b08c6d674fc0ee5bdd8d8cd73f84)
2023-07-03 10:53:39 +03:00
Kalle
54940b12df Add tests to brackets-manager 2023-07-02 22:38:54 +03:00
Kalle
a3ea5e3803 Score reporter improved mobile look 2023-07-02 16:22:07 +03:00
Kalle
8a1f22b7f2 Add viewable rosters when not reporting score 2023-07-02 14:07:25 +03:00