Commit Graph

210 Commits

Author SHA1 Message Date
Kalle
510491c039
Scrimprovements (#2603) 2025-10-25 17:46:17 +03:00
Kalle
4972e06992 Fix art dialog img wrong size 2025-10-22 17:43:19 +03:00
Kalle
98a5ccbe3a
User configurable tournament max member count (#2565) 2025-10-11 14:03:53 +03:00
Kalle
9c2af503b0 Fix select element down arrow size on light mode 2025-10-04 12:08:23 +03:00
Kalle
4d5eaf288b Fix SendouQ chat buttons styling 2025-06-30 21:35:46 +03:00
Kalle
7a931fd961 Update links to new repository URL 2025-06-24 08:55:35 +03:00
Kalle
dd1adad94b BIome v2 upgrade
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2025-06-22 16:49:27 +03:00
Kalle
7ed1394fba
Migrate Comboboxes to react-aria-components (#2408)
* Initial

* wip

* AnyWeapon

* del

* wip

* import stuff

* gearselect

* brand images

* wip

* wip

* art

* Remove old

* Fix tournament map pool link

* Simplify GearSelect

* convert to todo
2025-06-21 13:44:26 +03:00
Kalle
fb51e3c463 Migrate some builds files to CSS modules 2025-06-14 09:38:29 +03:00
Kalle
2b975f4d54 Patch version 10.0.0 2025-06-12 18:53:04 +03:00
Kalle
d6abac6b72
New tabs component (#2387) 2025-06-10 20:58:41 +03:00
Kalle
0c90f6b009 Refactor LinkButton to use the new SendouButton API 2025-06-09 21:35:55 +03:00
Zimo Li
f6f066ac8a
Add CSS rule touch-action: manipulation to ability selector (#2376) 2025-06-08 09:20:04 +03:00
Kalle
4190f61e04 Fix thick button on builds page mobile 2025-06-02 20:48:19 +03:00
Kalle
ce0d1d2ea4
Fix layout shift on page load and navigation (#2354)
* try

* for mobile
2025-06-01 18:37:54 +03:00
Phil-hacker
2fd3ff1240
Add a time component (#2347)
* Add Time component

* Use the Time component on the tournament and scrims pages

* fix formatting issues

* renamed the Time component to TimePopover

* change the Time component trigger to a button

* remove unused import

* fix button styling
2025-06-01 09:25:35 +03:00
hfcRed
5cc0be347f
A11y colors (#2261)
* Fix value parsing to avoid errors and display reset correctly

* Add color preview

* Add color contrast checker

* Run formatter

* Satisfy checks

* Small fixes

* Update wording

* Re-order combinations

* Add translation keys

* Use clsx for pass/fail

* Use table elements

* Remove wrapper element

* Use single decimal for contrast

* Move description into popover

* Update css vars to accept preview colors

* Update colors input

* Remove reloadDocument

* Wrap in details summary

* Update popover text
2025-05-26 18:10:44 +03:00
Kalle
cb8669acc3
New calendar UI, more filters & persisted filters (#2318)
* Add types

* Delete stuff

* wip

* findAllBetweenTwoTimestamps refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Fixes

* wip

* wip

* Fix InfoPopover button styling

* wip

* wip

* wip

* Merge branch 'rewrite' into new-calendar

* wip

* wip

* wip

* wip

* Rename myform -> sendouform

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* rename

* fix test
2025-05-24 17:13:30 +03:00
hfcRed
0047f4adb6
Make nav fixed again (#2288)
* Make nav fixed again

* Fix tabs spacing

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2025-05-20 18:46:04 +03:00
Kalle
bf0446bd2e Fix InfoPopover styles 2025-05-20 18:40:40 +03:00
hfcRed
87ef7e29a3
Prevent pagination from weird overflow (#2292)
* Prevent pagination from weird overflow

* Always use auto cols
2025-05-18 16:53:20 +03:00
Kalle
951dda5d47 Fix DatePicker style regression 2025-05-15 22:01:51 +03:00
Kalle
4d730e5d8b
New user search & dialog (#2270)
* From scrims

* wip

* wip

* wip

* wip

* WIP

* wip

* wip

* wip

* wip

* wip

* import ordering
2025-05-12 22:53:35 +03:00
Kalle
869ab6a10f
Test tournaments, prematch chat & counterpicking with mode repeat (#2242)
* Initial

* Test tournaments

* Pre-match chat
2025-05-01 12:26:13 +03:00
Kalle
b4cc185d1d
Scrims (#2211)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
* Initial

* Progress

* Initial UI

* Can submit request

* Progress

* Show text if no scrims

* Can cancel request, tabs

* Delete post

* Popover if can't delete

* Request rows

* Progress

* Scrim page initial

* Fix migration order

* Progress

* Progress

* Works again

* Make it compile

* Make it compile again

* Work

* Progress

* Progress

* Progress

* Associations initial

* Association visibility work

* notFoundVisibility form fields initial

* Progress

* Association leave/join + reset invite code

* Progress

* Select test

* Merge branch 'rewrite' into scrims

* Remeda for groupBy

* Select with search

* Outline styling for select

* Select done?

* Fix prop names

* Paginated badges

* Less important

* Select no results

* Handle limiting select width

* UserSearch non-working

* Fix problem from merge

* Remove UserSearch for now

* Remove todo

* Flaggable

* Remove TODOs

* i18n start + styling

* Progress

* i18n done

* Add association e2e test

* E2E tests

* Done?

* Couple leftovers
2025-04-20 22:51:23 +03:00
Kalle
7d0c2bcfa4 Remove redundant CSS rules 2025-02-20 22:25:34 +02:00
Kalle
8f156fb917
Team editors in addition to the owner (#2077)
* Initial

* Handle owner leaving

* Remove old team queries

* Progress

* Retire old toggle

* e2e tests

* Divide loaders/actions of team pages
2025-02-04 10:56:33 +02:00
Kalle
c3944070b9
Refactor popover to use React Aria components (#2069)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
* Initial

* Progress

* Progress

* SQ work

* Migrate rest

* Clean up

* Rename style file
2025-02-02 12:03:39 +02:00
Kalle
198010e3e7
New date picker + VoD form rework (#2055)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
* Initial

* Progress

* Form fields fun

* Pov

* Progress

* Some errors

* Progress

* Progress

* Progress

* Progress

* Comment

* Progress

* Remove comment

* Fix editing

* Redundant check
2025-01-26 12:56:19 +02:00
Kalle
f07014ad42 Experiment with paddings
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2024-12-06 11:57:37 +02:00
Kalle
0ec32ebed5 Fix layout shift 2024-12-06 11:44:31 +02:00
Kalle
c3444349b0
Free bracket progression (#1959)
* Initial

* Start implementing TournamentFormatSelector

* Progress

* Small progress

* Add source

* Progress

* Skeleton

* Progress

* Rename progression

* Can submit progression

* Fix potential issue with caching errors

* Settings

* isFinals/isUnderground

* Valid formats tests

* New bracket check in progress

* Perf optimization: simulate brackets only frontend

* Admin check in fix

* resolvesWinner logic

* SAME_PLACEMENT_TO_MULTIPLE_BRACKETS

* Structure work

* Edit bracket while tournament in progress initial

* Delayed check in to follow up bracket

* Progress validation

* NEGATIVE_PROGRESSION

* test first sources = null

* Different text when invitational

* More checks

* Validate changed are in preview

* Rename

* Translated errors

* Disbale submti if bracket progression is bad

* Adjust bracketIdx

* changedBracketProgressionFormat

* Progress

* Fix E2E tests

* Docs progress

* Fix state change

* Add docs
2024-11-10 12:07:43 +02:00
Kalle
68aa12414a
New front page (#1938)
* Initial

* Progress

* Recent winners

* Add button

* Progress

* Mobile nav initial

* UI tweaks

* Overflow

* AnythingAdder links to places

* Remove color for tournament showcase

* Adjust SQ top banner based on if season is on right or not

* Tournament participant count fixed

* Log out

* todo

* Progress

* Nav complete

* Done?

* Fix lint

* Translate settings
2024-10-20 09:01:22 +03:00
Kalle
1c9dcacbf2
Join many teams & front page changelog (#1880)
* Initial

* Progress

* Changelog initial

* Progress

* E2E test
2024-09-14 12:31:05 +03:00
Kalle
d4d6002344
New results tab for tournaments (#1876)
* Initial

* Try npm in deploy script

* Progress

* Progress

* Progress

* Add missing index

* Title to user results page

* Hide SPR before tournament over

* Results page and redirect

* SPR info

* Row bg colors

* Laoyut shift fix

* Hide Swiss start round button if bracket is in preview

* Fix e2e test

* Not needed

* one more revert
2024-09-08 11:25:10 +03:00
Kalle
9312fad90f
Tournament organization page (#1811)
* Initial

* Calendar initial

* Extract EventCalendar

* Events list initial

* Winners

* SQL fixes

* List events by series

* Leaderboards

* Series leaderboard

* Own entry peek

* Edit page skeleton

* RHF initial test

* RHF stuff

* Form etc. progress

* Fix tournament series description

* Fix tabs layout

* Fix socials insert

* Check for not removing admin

* Adding series

* TODOs

* Allow updating org with no series

* FormFieldset

* Allow series without events

* TextAreaFormfield accepting array syntax

* Input form array field

* ToggleFormField

* SelectFormField

* UserSearchFormField

* Fetch badgeOptions

* Badge editing

* Progress

* Use native preventScrollReset

* Rename func

* Fix sticky scroll

* Fix translation

* i18n errors

* handle,meta in edit

* Add ref to user search

* TODOs

* Done
2024-07-25 23:06:29 +03:00
Kalle
a43743b780 Fix input add-on ugly wrapping on Firefox 2024-06-29 11:17:48 +03:00
Kalle
2eb7c9505a User builds page dropdown weapon filter Closes #1427 2024-06-27 11:50:01 +03:00
Kalle
9d9d2ae887 Allow adding builds without gear Closes #902 2024-06-27 10:11:25 +03:00
Kalle
fd48bced91
Migrate Prettier/Eslint/Stylelint setup to Biome (#1772)
* Initial

* CSS lint

* Test CI

* Add 1v1, 2v2, and 3v3 Tags (#1771)

* Initial

* CSS lint

* Test CI

* Rename step

---------

Co-authored-by: xi <104683822+ximk@users.noreply.github.com>
2024-06-24 13:07:17 +03:00
Kalle
2c5004f623
Logos for tournament pickups (#1768)
* Progress

* Adjust when elements show up etc.

* Reorganize

* Can upload

* Delete logo admin action

* Filter out avas pre-start

* Util func

* Remove old code

* Fixes
2024-06-22 14:35:04 +03:00
Kalle
ab34e5daea Don't autoscroll chat when viewing old messages 2024-06-16 12:37:03 +03:00
Kalle
4beb2bdfdd
LFG (#1732)
* Initial

* Can post new

* Load team

* seed + loader posts

* LFGPost render initial

* More UI work

* Tiers

* sticky left

* Mobile

* new.tsx work

* TeamLFGPost component initial

* Full team member list

* Add TODO

* Delete post action

* Edit post etc.

* Delete team posts when team disbands

* Prevent adding same post type twice in UI

* Post expiry logic

* Fix layout shift

* Filters initial

* Progress

* Weapon filtered implemented

* Weapon alt kits in filtering

* + visibility

* i18n

* E2E test

* Team = null
2024-05-19 13:43:59 +03:00
Kalle
d6b0f9f769 Remove "hosted on sendou ink" tag and add ranked/unranked tags 2024-05-09 14:18:52 +03:00
Kalle
b98b4af1ea
Ban/pick etc. (#1716)
* To BracketMapListDialog

* Working map list dialog + UI work

* Rename components

* Working version

* Counterpick info text

* PickBan

* Rearrange loader

* Working BAN_2

* Show error msg if pick/ban style selected but no rounds have it enabled

* OrganizerMatchMapListDialog

* Prepicked BAN_2

* Starter finder structure

* Prepicked + counterpick

* PLAY_ALL & visible chat to TO's after finalize

* Tweaks and handling edge cases

* Play all e2e test

* Allow viewing tournament info when it has started

* Desc markdown support

* Rules

* calendar.new loader refactor

* baseEvent refactor

* w/ staff

* Add 1h30min reg closes time

* As team

* Fix E2E test

* E2E tests

* MiniCheckinInfoBanner
2024-03-31 10:36:22 +03:00
Kalle
6316061ce8 Fix inputs appearing read-only when they aren't 2024-03-20 21:41:44 +02:00
Kalle
e490d0ab3a Input readOnly actually (submits the value) 2024-03-18 23:53:21 +02:00
Kalle
5078df30af Autonomous subs + reg closes feature 2024-03-18 22:28:43 +02:00
Kalle
72fa1f68c8
Season 3 SendouQ changes (#1674)
* Mode Map Pool picker component initial

* Component in settings

* Lottery initial

* Fix tests

* useTrusters as perf optimization

* unionAll -> union

* Fancy picker for tournaments

* Map pools memento

* FC's initial

* Friend code when registering for tournament

* FC in flows

* SHow FC in places

* Add catch in case

* Fix disabling

* Show ELO changed

* Wiggle MapPool button if already selected

* CSS vars typing

* Rechallenging

* Team (all) leaderboard

* Preview groups

* Fix chat width changing

* Solid reported weapons

* Clearer cancel requested header

* Dynamic revalidates

* spDiff from memento

* (Partly) Revert "Remove screen banning"

This reverts commit 076cabfbfa.

* Screen indicators in looking view

* FC i18n

* noscreen = 0

* E2E test

* E2E 2
2024-02-24 12:07:17 +02:00
Kalle
eae3d529e2
Bracket component rewrite (#1653)
* Remove old code

* Add prefetching

* Elim bracket initial

* Hide rounds with only byes

* Round hiding logic

* Align stuff

* Add TODO

* Adjustments

* Deadline

* Compactify button

* Simulations

* Round robin bracket initial

* eventId -> tournamentId

* seedByTeamId removed

* Couple more TODOs

* RR placements table

* Locking matches

* Extract TournamentStream component

* Bracket streams

* Remove extras for tournament-manager, misc

* Fix E2E tests

* Fix SKALOP_SYSTEM_MESSAGE_URL in env.example

* TODOs

* TODO moved to GitHub

* Handle team changing in match cache invalidation

* Fix streamer seeing undo last score button

* Show "Sub" badge on team roster page

* Show who didn't play yet on match teams preview

* Ranked/unranked badge

* Bracket hover show roster

* Add lock/unlock match test

* Fix score reporting
2024-02-11 10:49:12 +02:00