Commit Graph

84 Commits

Author SHA1 Message Date
Kalle
dfa95bd92d Migrate to nested CSS 2026-03-28 16:30:28 +02:00
Kalle
3925b73d32 Replace useIsMounted with useHydrated
Strict improvement because we avoid the flash on clientside navigation.
One practical bug was scroll restoration between tournament teams list
and user page. When user pressed back they ended up at the bottom
of the page because the placeholder (smaller height than actual
content) rendered. With useHydrated this placeholder is no longer
rendered for client side navigations.
2026-03-28 07:44:52 +02:00
Kalle
48152e1185
VoD YouTube timestamps generator (#2912) 2026-03-24 21:26:34 +02:00
Kalle
56a835611a Update Biome to 2.4.8 2026-03-21 15:19:32 +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
9e0f36d90c Refactor requireRole/requirePermission to resolve user internally
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 20:02:37 +02:00
Kalle
49062284f7
Fix SendouForm date validation (#2808) 2026-02-15 21:10:27 +02:00
Kalle
562cfab0d0 New SendouForm fix 2 user reported bugs 2026-01-20 17:48: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
036da571c7
Fix weapons clearing when selecting 8th weapon in CAST VOD upload (#2710)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-09 22:48:32 +02:00
Kalle
23eaa268c0
User middleware try 2 (#2692) 2026-01-03 13:47:32 +02:00
Kalle
f11a3e798a Revert "User middleware (#2687)"
This reverts commit 4fca18ac8d.
2026-01-03 08:41:13 +02:00
Kalle
4fca18ac8d
User middleware (#2687) 2026-01-02 18:34:45 +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
24008775aa
24h clock user preference (#2618) 2025-11-09 14:25:14 +02:00
Kalle
bca14d5713
VoD allow 1v1/2v2/3v3 tournament casts (#2625)
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-08 13:55:11 +02:00
Kalle
f9192ff3d6 Fix editing a Vod not showing the current PoV
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-30 18:52:17 +02:00
Kalle
d4a1e0a184 Migrate /vods to CSS modules 2025-10-26 20:24:04 +02:00
Kalle
f8923fa662 Improve /vods layout and show more thumbnails 2025-10-08 21:10:34 +03:00
Phil-hacker
8b85a9f3bb
Use kysely for the vods feature (#2556) 2025-10-08 17:23:01 +03:00
Kalle
63f7741c7a Revert "Replace the old sql queries with kysely queries for the VODs feature (#2423)"
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
This reverts commit 55c580f53a.
2025-09-02 19:45:30 +03:00
Phil-hacker
55c580f53a
Replace the old sql queries with kysely queries for the VODs feature (#2423) 2025-08-28 19:03:37 +03:00
Kalle
f392392700 Fix WeaponSelect not always showing the selected weapon 2025-07-21 20:42:52 +03:00
Kalle
baa4b43855
Docker setup for development (#2460)
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-07-20 16:58:21 +03:00
Kalle
f576b4da9a Upgrade Biome 2025-07-06 12:18: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
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
45cf5ba5cf
wip (#2391) 2025-06-11 18:59:54 +03:00
Kalle
0c90f6b009 Refactor LinkButton to use the new SendouButton API 2025-06-09 21:35:55 +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
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
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
05e2e95aeb
Refactor more logic to use global roles (#2231)
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

* wip
2025-04-27 21:03:47 +03:00
Kalle
a66b5eabd1 Use useWatch instead of watch 2025-04-26 21:37:11 +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
994cb97346 Take Remeda in use replacing just-utils and own utils 2025-04-09 22:14:11 +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
02d92b07ae Fix "get perms" alert not shown if no video adder perms 2025-03-04 22:04:17 +02:00
Kalle
e023590099 Allow searching for vods by an alt weapon id 2025-02-25 22:32:48 +02:00
Kalle
986355050d
Better meta tags (#2083)
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

* Work

* lint

* Lint

* Remove twitter

* Progress

* Progress

* Progress

* Progress

* Progress

* Progress

* Fix
2025-02-07 16:01:42 +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
70dc727951 Revert "Enable rest of the Remix future flags"
This reverts commit 98edb4896f.
2024-12-07 10:27:29 +02:00
Kalle
98edb4896f Enable rest of the Remix future flags
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
2024-12-02 23:11:33 +02:00