Commit Graph

673 Commits

Author SHA1 Message Date
Kalle
136f6f057c Deleted default svg title
This is just bad UX than a11y. Most of the time icons are used with contextual text but if stand-alone we should provide a better name in the context of the feature rather than a generic one.
2025-07-24 21:27:58 +03:00
Kalle
f392392700 Fix WeaponSelect not always showing the selected weapon 2025-07-21 20:42:52 +03:00
Kalle
fa60d0d03f
Add badges on tournament finalize (#2459) 2025-07-19 13:33:58 +03:00
Kalle
b04d91d8f2 Fix SQ reporting weapons "input changed from uncontrolled to controlled warning"
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
Also likely fixes the bug where users see weapons getting randomly selected/unselected.
2025-07-19 09:30:13 +03:00
Kalle
f576b4da9a Upgrade Biome 2025-07-06 12:18:25 +03:00
Kalle
ea178d7d6a Add SendouQ weapon report recently reported quick add 2025-07-02 21:14:29 +03:00
Kalle
213b58bcdf Fix leaderboards crash for season 0 2025-06-30 21:35:31 +03:00
Kalle
70b11bb312
Scrims timestamp changes (#2417)
* isScheduledForFuture

* test

* done
2025-06-24 12:30:47 +03:00
Kalle
cfca53773b Fix can't reset custom CSS Closes #2349 2025-06-24 08:33:25 +03:00
Kalle
9077757954 Fix can't reset custom colors Closes #2349 2025-06-24 08:20:01 +03:00
Kalle
c5674962b6
User page seasons links as select (#2413) 2025-06-23 12:02:25 +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
02f705b45f Scroll scrollbar styling to select component
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-21 14:16:00 +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
c35da55294
Tournament org bans (#2397)
* Initial

* e2e test

* extract

* finish?
2025-06-16 22:28:10 +03:00
Kalle
fb51e3c463 Migrate some builds files to CSS modules 2025-06-14 09:38:29 +03:00
Kalle
45cf5ba5cf
wip (#2391) 2025-06-11 18:59:54 +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
Kalle
c70a9b82ab Refactor button event handlers to always use onPress instead of onClick 2025-06-08 20:08:10 +03:00
Kalle
c2a6bc172a Fix button styles 2025-06-08 10:26:15 +03:00
Kalle
92090ecc9d Fix ad blocking modal submit button 2025-06-08 09:32:22 +03:00
Kalle
7901ee8cab
Scrim improvements (#2365)
* Initial

* wip

* wip

* Finish?

* remove comment
2025-06-07 17:21:29 +03:00
Kalle
61ecaa252f Update react-aria-components to version 1.10.0 Closes #2345 2025-06-07 12:25:51 +03:00
Kalle
b621e2ff96
Add new buttons (#2368)
* Initial

* Buttons everywhere

* Better 401 text
2025-06-05 21:44:05 +03:00
Kalle
accbaf40db
Refactor Button to SendouButton (#2367)
* initial

* done

* import ordering
2025-06-05 21:00:14 +03:00
Phil-hacker
3f0e5fcd16
add TimePopover to ScrimsTable (#2361) 2025-06-03 18:19:21 +03:00
Kalle
242f20aeb1 Refactor DateTimeFormField to use RAC based input Closes #2359 2025-06-03 17:33:57 +03:00
Kalle
ea1666d57d Fix arrow left icon pointing right on Safari 2025-06-02 20:48:01 +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
Kalle
84cdd58fe8 Refactor app/constants away 2025-05-31 13:54:34 +03:00
Skyler
6c7648dc2d
Add title to flags so that hovering shows country name (#2336)
* Add title to flags so that hovering shows country name

* Use proper i18n for country names in flag titles

* Run Biome linter
2025-05-29 16:12:25 +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
e9676ada18 Refactor away in-game-lists barrel file Closes #2322 2025-05-24 19:58:40 +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
Kalle
de971645ed Fix ad covering full screen modals Closes #2314 2025-05-20 19:40:50 +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
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
2f05616efc
Menu -> React Aria Components (#2230)
* Initial

* wip

* wip

* wip

* wip

* wip

* wip

* Delete old

* fix e2e test
2025-04-27 19:44:01 +03:00
Kalle
7cf9c89d00 Remove redundant (after React Compiler) React.Memo calls 2025-04-26 21:55:10 +03:00
Kalle
7011dcb370 Fix notification button styles 2025-04-26 17:44:02 +03:00
Kalle
d2551d2706
Global roles refactor (#2212)
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
* Initial

* isMod etc.

* canPerformAdminActions

* isAdmin

* isSupporter

* admin override

* Lohi

* Badge manage with new permissions style

* Refactor badge loading logic

* Move funcs

* Delete permissions.ts

* DRY
2025-04-21 23:51:30 +03:00
Kalle
e9fe226cdf Upgrade @hookform/resolvers
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-04-21 10:25:08 +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
3ac6712091 Move notifications to root loader
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
2025-04-04 21:10:27 +03:00
Kim Tran
21bad69e2b
Maps components css modules migration (#2173)
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
2025-03-31 22:45:27 +03:00
Kalle
65c8cfc5ef Consistent actions/loaders folder structure 2025-03-23 11:24:56 +02:00
Kalle
c0ec15b7de Unify db type files
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
2025-03-21 21:47:08 +02:00
Kalle
854276027b Make top header non-sticky for now 2025-03-14 18:38:05 +02:00