Commit Graph

638 Commits

Author SHA1 Message Date
Kalle
adad157015 just-clone -> window.structuredClone + remove other unused deps 2025-03-13 21:49:04 +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
4ff0586ff8
Notifications (#2117)
* Initial

* Progress

* Fix

* Progress

* Notifications list page

* BADGE_MANAGER_ADDED

* Mark as seen initial

* Split tables

* Progress

* Fix styles

* Push notifs initial

* Progress

* Rename

* Routines

* Progress

* Add e2e tests

* Done?

* Try updating actions

* Consistency

* Dep fix

* A couple fixes
2025-03-01 13:59:34 +02:00
Kalle
adc59ec47f Align i18next versions 2025-02-24 21:26:47 +02:00
Kalle
6164a62b93 Upgrade deps 2025-02-23 12:13:16 +02:00
Kalle
1b73074fe6 Upgrade deps 2025-02-04 11:40:29 +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
fcafe08d89 Fix opening date picker scrolling to top
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-02-01 14:04:29 +02:00
Kalle
32c97a2467
Bluesky via Discord connection + upgrade remix-auth + remove Twitter references (#2058)
* Remove Twitter references

* Upgrade remix auth, bsky via Discord

* Test
2025-01-28 17:22:45 +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
dependabot[bot]
734eb46596
Bump vite from 5.4.10 to 5.4.14 (#2048)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.10 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 18:06:31 +02:00
Kalle
2b984f0169 Upgrade deps
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-21 10:15:29 +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
b2b13e6aa7 Enable Remix v3_routeConfig future flag
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-01 21:55:43 +02:00
Kalle
5d8f675282 Upgrade deps 2024-12-01 17:09:07 +02:00
Kalle
45ba5d3cd4 Try upgrading better-sqlite3
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-11-29 17:52:41 +02:00
Kalle
1d9f515a8a Fix running scripts 2024-11-18 22:13:07 +02:00
Kalle
d28da90e86 Upgrade deps
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-11-10 16:47:06 +02:00
Kalle
5f691c98e3 Fix unit tests when in env USE_TEST_SEASONS=true
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-27 09:19:14 +02:00
Kalle
8ffb6a5485 Upgrade deps
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-16 07:38:10 +03:00
Kalle
c41ab3b50d Try fixing unit tests in GA 2024-10-12 16:26:46 +03:00
Kalle
fcd5d88093 Remove bun specific package.json section 2024-09-28 12:22:01 +03:00
Kalle
e80af883cb Upgrade tldraw to latest 2024-09-22 16:32:56 +03:00
Kalle
0e04d91236 Upgrade deps 2024-09-22 16:18:49 +03:00
dependabot[bot]
6be7f77456
Bump vite from 5.4.5 to 5.4.6 (#1889)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.5 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-22 13:54:16 +03:00
Kalle
647d6432cc Add missing dependency 2024-09-22 13:15:50 +03:00
Kalle
0d2a341156 Demote better-sqlite3 again 2024-09-14 18:24:25 +03:00
Kalle
687b7f5126 Upgrade deps 2024-09-14 15:01:09 +03:00
Kalle
920355bca4 Remove Bun 2024-09-14 14:42:31 +03:00
Kalle
8405be6f26 Migrate to vitest, unskip suites Closes #1846 2024-09-14 14:34:41 +03:00
Kalle
86f6f41610 Upgrade better-sqlite3 Closes #1875 2024-09-14 12:32:48 +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
e08f56c93b Upgrade deps 2024-09-08 11:36:37 +03:00
Kalle
4b768c4a05 Remove Prettier Closes #1773 2024-09-08 11:29:06 +03:00
Kalle
a5fca90044 Wrap preparing maps in an error boundary 2024-09-07 08:52:54 +03:00
William Lam
89293c6d8d
Upgraded @tldraw to latest version (2.4.5) (#1860)
* Add trustedDependencies

* Upgraded @tldraw to latest version (2.4.5)
- One of the fixes made the `fileSize` field optional in `TLImageAsset` & by extension, it also means the value of that field has to be non-zero. I simply removed the field & it fixed the bug encountered in the issue link
- Issue Link: https://github.com/Sendouc/sendou.ink/issues/1853

* Updated trustedDependencies to match rewrite branch & rebuilt bun lock file

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2024-09-01 11:27:10 +03:00
Kalle
45a6adf540 Revert better-sqlite3 2024-08-27 21:59:37 +03:00
Kalle
e0b1105476 Upgrade deps 2024-08-25 09:44:10 +03:00
Kalle
56b245d586 Back to Node.js from Bun (for runtime) 2024-08-24 12:46:21 +03:00
Kalle
19435dd75f
Prepare maps for brackets ahead of time (#1845)
* Prepared maps works for RR

* Refactor generateMatchesData

* Refactor rounds

* Initial prepare for SE/DE

* Share maps between brackets

* Todos

* resetPreparedMaps

* Bias SZ & reset prepared maps

* Trimming initial + tests initial

* Elimination trimming basic case

* Include group id

* Implemented all tests

* TODOs

* Better prepared maps submitted UX

* Small CSS tweaks

* Done

* Remove TODO
2024-08-24 12:10:36 +03:00
Kalle
9d25bf4c94 Migrate in start cmd again after all? 2024-08-13 08:22:35 +03:00
Kalle
f2ca615220 Adjust start command 2024-08-13 08:10:24 +03:00
Kalle
0fc5bee589 Add better-sqlite3 dep back for ley migrations 2024-08-12 21:31:06 +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
Kalle
00dc2c88ae Upgrade deps 2024-07-06 13:40:16 +03:00
Kalle
9ef1de32e2 Remove @swc dependency 2024-06-29 10:23:04 +03:00
Kalle
915a199b0a Upgrade deps 2024-06-29 10:18:43 +03:00
Kalle
b11923ea0b Upgrade deps 2024-06-27 12:31:37 +03:00