Commit Graph

773 Commits

Author SHA1 Message Date
hfcRed
96649b3e5d Fix dialog being behind mobile nav 2026-03-20 02:58:41 +01:00
hfcRed
c501f18fe6 Fix theme selector backdrop clipping navs 2026-03-20 02:56:22 +01:00
Kalle
096c0fe5ea Fix weapon search links for non-english 2026-03-19 22:00:36 +02:00
Kalle
691e0bae8e Render nothing for timestamps on the sidebar in SSR (try to fix bad times, hydration weirdness?) 2026-03-19 22:00:36 +02:00
Kalle
ddcd7307c7 Ensure modal action is not blocked 2026-03-19 21:45:59 +02:00
Kalle
cbfa49c3ab Try to fix mobile tab nav height on Android 2026-03-19 21:31:07 +02:00
Kalle
6d8ae89d73 Fix chat underneath the nav element on PWA 2026-03-19 19:16:52 +02:00
Kalle
d1e229e234 Wider GlobalSearch to avoid linebreak when big enough screen 2026-03-19 19:03:30 +02:00
Kalle
a21004575c Add affordance before top nav scroll away on mobile 2026-03-19 19:00:24 +02:00
Kalle
eaf5e15031 Add padding to the top of mobile menu modal to fix PWA 2026-03-19 18:44:11 +02:00
Kalle
6d02372921 Add LUTI to top nav 2026-03-19 18:32:35 +02:00
Kalle
fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00
Kalle
c1cc82c807
Migrate /u/:identifier/edit to SendouForm, fix bad IGN (#2849)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-03-03 07:12:04 +02:00
abysse-code
aa2fd5904e
fix: add no-refererer to img rendered by markdown (#2833) 2026-02-24 21:12:08 +02:00
Kalle
0e639d662e Add to Markdown tags filter 2026-02-21 14:22:10 +02:00
Kalle
1f6eaef895 Fix tournament page time formatting in 24h mode
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Closes #2773
2026-02-20 18:29:18 +02:00
Kalle
b9d8fdd95a Fix crash with img tag in markdown 2026-02-17 21:05:01 +02:00
Kalle
076b122164 Couple bug fixes to user page widgets and markdown rendering
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-02-16 22:45:39 +02:00
Kalle
77978c450f
New user page (#2812)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-02-16 19:26:57 +02:00
Kalle
60add3bfc6
Tournament tiers (#2758) 2026-01-22 20:04:26 +02:00
Kalle
0e89ee7bb7
Comp Analyzer (#2759)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 17:58:50 +02:00
Kalle
4e33df3ac0 Add help text and image popover to friend code input
Users were confused about what friend code means and where to find it.
Added an info popover explaining that friend codes are used for identity
verification by staff, tournament organizers, and SendouQ opponents.
The popover includes an image showing where to find the friend code on
the Nintendo Switch. Also added text noting that once set, only staff
can change it.
2026-01-19 21:34:27 +02:00
Kalle
c20701d98c
Form system refactor from react-hook-form to one schema per form across the stack (#2735)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 18:21:19 +02:00
Kalle
35ac3fa0a7
Add session ID to server logs for user reporting (#2720) 2026-01-13 21:02:16 +02:00
Kalle
503101a451
New tournament seeding page (#2701) 2026-01-06 18:23:52 +02:00
Kalle
ee4f3ef4b9
Add Vitest browser testing setup with GroupCard tests (#2694) 2026-01-04 17:35:28 +02:00
Kalle
497c3677be Fix Markdown render allowing inline styles and remove unrendered tags 2026-01-04 11:34:48 +02:00
Kalle
da603f4d7c Fix image shrinking in tabs 2026-01-03 16:14:34 +02:00
Kalle
a4124bc6d4 Fix select clear button placement on Safari & Firefox 2025-12-31 17:07:44 +02:00
Kalle
393955f5eb
React 19, Vite 7, Vitest 4 etc. (#2683) 2025-12-30 17:03:13 +02:00
Kalle
658421d899
Upgrade zod package to 4 (#2677) 2025-12-29 20:04:40 +02:00
Kalle
81483de0db
Upgrade to React Router 7 (#2681) 2025-12-29 19:21:11 +02:00
Kalle
94a93b0006
SQ serverside refactoring, add tests, add Knip (#2665) 2025-12-22 15:47:15 +02:00
Kalle
85f246ef06
New VoD form UI improvements (#2667) 2025-12-18 20:29:40 +02:00
Kalle
683b2ed76d
Select improvements (#2654) 2025-12-03 20:47:42 +02:00
Kalle
ef2d3779ec
Fix a bunch of TODOs (#2648)
Some checks failed
E2E Tests / e2e (push) Has been cancelled
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-11-23 16:34:18 +02:00
Kalle
601d1d3fe3 Better error message when fetch fails (server temporarily unavailable)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Closes #2481
2025-11-22 12:17:46 +02:00
Kalle
d36a8d8247 Timestamp refactoring, fix chat timestamps in 24h format
Closes #2642
2025-11-22 11:19:20 +02:00
Kalle
84b4c1d67f
Download tier list as img (#2638)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Co-authored-by: hfcRed <hfcred@gmx.net>
2025-11-17 18:40:22 +02:00
Kalle
187e1aa105
Tier list maker feature (#2634)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
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-11-16 16:30:24 +02:00
Kalle
24008775aa
24h clock user preference (#2618) 2025-11-09 14:25:14 +02:00
Kalle
ff4402d9aa
User generatable API tokens (#2621) 2025-11-09 11:07:20 +02:00
Kalle
9296319d23
Refactor HACKY_resolvePicture away (#2606) 2025-11-08 13:54:02 +02:00
Kalle
b558f1b76f Fix log out button icon size 2025-10-26 15:27:55 +02:00
Kalle
510491c039
Scrimprovements (#2603) 2025-10-25 17:46:17 +03:00
Kalle
47c011dc2f Fix hamburger button icon size
Some checks failed
E2E Tests / e2e (push) Has been cancelled
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-10-22 18:55:34 +03:00
Kalle
d6cf687a7e
Kysely for builds queries (#2578) 2025-10-19 11:57:53 +03:00
Kalle
c6e7b08ebc Add new org by user + some other things 2025-10-12 13:35:37 +03:00
Kalle
5d8be56d6f
New tournament map list generation with patterns (#2557) 2025-10-08 17:00:19 +03:00
Kalle
3d9995622b
Refactor tournament realtime from SSE to Websocket (#2469) 2025-08-28 18:59:34 +03:00
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