Commit Graph

49 Commits

Author SHA1 Message Date
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
9d7b241427 Fix E2E tests even harder
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-12-18 22:13:55 +02:00
Kim Tran
d7faf2c4e3
LFG post language select (#2660)
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2025-12-14 10:39:43 +02:00
Kalle
94bc66f7df Fix LFG "Show more" button showing over nav dialog 2025-11-27 21:21:51 +02:00
Kalle
6a88daf921 Add relative time to recent results, support i18n in formatDistance
Closes #2418
2025-11-25 19:03:32 +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
24008775aa
24h clock user preference (#2618) 2025-11-09 14:25:14 +02:00
Kalle
9296319d23
Refactor HACKY_resolvePicture away (#2606) 2025-11-08 13:54:02 +02:00
Kalle
0bcb426d8a Remove target="_blank" from internal navigation links
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
All links to internal routes should stay in the same tab to maintain user context and provide a better SPA experience. Closes #2619
2025-11-06 17:54:21 +02:00
Kalle
c50d4248c0 Upgrade Biome 2025-10-27 21:36:12 +02: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
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
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
ab1f5bebc1 Refactor Seasons module
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-05-13 21:23:36 +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
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
f6a5643544 Refactor deprecated Kysely orderBy calls 2025-04-21 09:41:43 +03:00
Kalle
994cb97346 Take Remeda in use replacing just-utils and own utils 2025-04-09 22:14:11 +03:00
Kim Tran
dc4a25a4b7
Refactor FAQ and LFG CSS modules (#2168)
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
* faq css module

* lfg css module

* lint
2025-03-29 15:30:51 +02:00
Kalle
aea1e9ce35
Toasts (#2132)
* Fix unexpected server error when trying to access non-existing tournament team page

* Fix Catcher textarea usage

* Fix unexpected server error on LFG page

* Validator for duplicate tournament team name

* initial

* Fix tests

* Success toast

* Done?

* Fix leftover
2025-03-07 22:20:29 +02:00
Kalle
872442b55b Fix unexpected server error on LFG page 2025-03-02 21:56:44 +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
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
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
0932e8a5b5 Fix main team switch handling when leaving/deleting team + add secondary team tests
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-10-09 20:41:19 +03:00
Kalle
c24c4295c4 Show secondary team members in LFG post Closes #1906
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-10-05 09:24:21 +03:00
Kalle
ff40e74d4c Fix LFG post updated at date not showing 2024-09-27 18:25:30 +03:00
Kalle
85f9272b1e Fix LFG group posts text overflowing 2024-09-27 18:25:29 +03:00
Kalle
700a309e7f
Migrate Node -> Bun (#1827)
* Initial

* Faster user page

* Remove redundant function

* Favorite badge sorting

* Upgrade deps

* Simplify entry.server

* Bun tests initial

* Update package.json npm -> bun

* Update README

* Type safe translations again

* Don't load streams info for finalized tournaments

* Translations as an object

* More unit test work

* Convert match.server.test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* Test & all done

* Working cf

* Bun GA try

* No cache

* spacing

* spacing 2

* Add SQL logging

* Remove NR

* Hmm

* Hmm 2

* Interesting

* SKALOP_SYSTEM_MESSAGE_URL

* .

* .

* ?

* .

* ?

* Server.ts adjust

* Downgrade Tldraw

* E2E test fix

* Fix lint
2024-08-11 16:09:41 +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
xi
51731d79e2
Add "looking for individual coaching" and "looking for scrim partners" options (#1775)
* Add looking for individual coaching

* Fix LFGType table, remove unnecessary constant

* Fix LFGType table, amend unnecessary constant

* Resolve Type Errors (#1)

TypeScript is interpreting LFG_TYPES as an arbitrary length array of LFGType, rather than a string enum.

* Add "looking for scrim partner" option

---------

Co-authored-by: cysabi <47790183+cysabi@users.noreply.github.com>
2024-06-26 16:28:24 +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
47018e2a22 Upgrade deps (TS 5.5) 2024-06-21 10:29:10 +03:00
Kalle
bfce8d9646
Custom name (#1754)
* Migration and edit

* Migrate from discordName

* discordDiscriminator
2024-06-03 22:20:21 +03:00
Andres Villagra
57a0dd7e62
Added support for sharing a filter set using the URL (#1739) 2024-06-01 10:21:03 +03:00
Kalle
5658458202 Fix approximate tiers shown in LFG 2024-05-26 11:02:09 +03:00
Kalle
646b34b5a3 Lower USER_POST_EXPANDABLE_CRITERIA 2024-05-19 14:03:50 +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