Commit Graph

55 Commits

Author SHA1 Message Date
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
c2a6bc172a Fix button styles 2025-06-08 10:26:15 +03:00
Kalle
accbaf40db
Refactor Button to SendouButton (#2367)
* initial

* done

* import ordering
2025-06-05 21:00:14 +03:00
Kalle
7cf9c89d00 Remove redundant (after React Compiler) React.Memo calls 2025-04-26 21:55:10 +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
854276027b Make top header non-sticky for now 2025-03-14 18:38:05 +02:00
Kalle
a5ee98f7c0 Fix accessing notification popover autocloses on mobile 2025-03-13 21:40:45 +02:00
Kalle
f620e20729
New RAMP (#1981)
* Initial

* feedback
2024-12-06 10:55:00 +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
2356a7195f Address potential crashes
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-15 22:18:05 +03:00
Kalle
346c587239 Root loader -> import.meta.env for possible values 2024-07-28 10:00: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
a4a8af94dc
User submitted tournament logos (#1742)
* Can upload

* Remove avif tournament logos

* Progress

* TODOs

* Update logic

* Approval

* Fix e2e test
2024-05-26 10:55:34 +03:00
Kalle
67a2efc9fe Misc performance optimizations 2024-04-06 00:11:48 +03:00
Kalle
7248a1ddb1 Tournament logo+name in breadcrumbs 2024-03-16 17:02:57 +02:00
Kalle
323a1ea5e3 Remove useTranslation wrapper Closes #1595
This broke after upgrading deps and couldn't figure it out with a quick look.

It just makes it a bit more convenient when adding new pages & debugging
but not really that necessary so decided to delete it for now.
2023-12-07 20:33:59 +02:00
hfcRed
3bfa182c9f
Adjusted side nav (#1524)
* Changed nav and side to be sticky

* Centered calendar

* Adjusted top padding

* Added firefox scrollbar styling

* Adjusted scroll colors to fit theme

* Somehow this broke?? 😭

* Fix lint

* Adjust calendar padding

---------

Co-authored-by: hfcRed <hfcred@gmx.net>
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-10-21 13:22:28 +03:00
Zen
fe5d4a9f03
Fix the Sidenav hidden issue (#1386)
* Fix the sidebar links hidden issue

* another solution, detect overflow with client-side javascript

* Optimize the code

* Revert to use solution 1

This reverts commit 96a6c13e6c.

* Adjust padding slightly

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-06-14 23:32:24 +03:00
Kalle
81cc15e916 Ramp fixes 2023-04-16 11:44:30 +03:00
Kalle
7eb85d4dcb Try Ramp as React component 2023-04-15 20:59:43 +03:00
Kalle
30063f6075
VoDs (#1283)
* YouTube lite embed + CSS bundled import

* Migration initial

* New VoD page initial functioning

* Table changes + add TODOs

* New structure for add vod page

* WIP add new VoD backend

* Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into vods

* Fix when leaderboard appears

* Function new vod form

* Single vod page initial

* Different YouTubeEmbed

* Scroll to top when going to timestamp

* Vod match weapon/mode icons

* Vod page user

* Add date to vod page

* Adjust migration order

* Vod page many weapons

* Add title to vod page

* New vods page cast many weapons

* Add player index to order by

* Vods new more validation

* Vod listing page initial

* Vods page with filters

* Show message if no vods

* Fix not being to unset filters

* Fix seed sometimes throwing errors

* User page VoDs

* Vods nullable weapon combobox

* Link directly to user custom url from vod page

* Make video adder admin action

* Can add video checks

* i18n

* New VoD form tests

* VoD operates filters test

* Vods behind flag

* Remove from config
2023-02-26 14:31:57 +02:00
Kalle
44bd60afe8 Adjust layout 2023-02-15 17:07:26 +02:00
Kalle
057c4cf18d Support page 2023-01-23 00:39:21 +02:00
Kalle
26e43b2ead Restore light mode 2022-12-08 21:29:51 +02:00
Kalle
8c6a5e67a0 Make "sendou.ink" never show ellipsis 2022-12-05 18:49:27 +02:00
Kalle
34ca290bdd
Redesign (#1179)
* Remove light mode

* Trim header

* New front page initial

* Get rid of build layout

* Breadcrumbs

* Desktop side nav

* Overhaul colors

* Add breadcrumbs

* New sub nav style

* Front page action buttons

* Add back add new build button

* Add articles page with icon

* Minor Object damage page layout tweaks

* Remove one unnecessary render from object damage

* Fix wrong link in article page

* Profile -> My Page in header

* Log in/out buttons in front

* Add drawings to front page

* Remove unnecessary comment
2022-12-05 16:05:51 +02:00
Remmy Cat Stock
2fa18547b0 Wrap useTranslation to detect missing translations on the route 2022-11-05 14:45:12 +01:00
Remmy Cat Stock
19fbd85f8f
Add auto theme option for detecting the theme from system/browser preferences (#1083)
* Add "auto" option to theme switcher

* Add labels to language and user menu buttons

* Update translation-progress.md
2022-11-03 01:44:56 +01:00
Remmy Cat Stock
1888168115
Fix potential bug from mutating matches state 2022-11-01 00:54:53 +01:00
William Lam
e44e64dab2 Issue 1043: changed <div> tag to <h1> tag for semantic HTML on the top-most UI buttons for an active page 2022-10-27 16:24:04 -04:00
Remmy Cat Stock
3ce7c00d5b
Detect active nav item via route handle instead of path matching 2022-10-21 18:29:23 +02:00
Kalle
2c330620fb Add button to analyzer to build card 2022-09-27 21:53:12 +03:00
Kalle
492977f45c Add logo with link to front page 2022-09-26 21:21:00 +03:00
Kalle
1a34a39359 Language switcher toggle 2022-09-05 21:10:57 +03:00
Kalle
5410f52b1f Extract ColorModeToggle component 2022-09-05 17:05:42 +03:00
Kalle
561bca818f Top nav header new place for page title
Closes #910
2022-09-05 15:54:38 +03:00
Kalle
9162b9afd2 Add user build tab E2E tests
Closes #909
2022-09-04 22:13:36 +03:00
Kalle
db0878c3ab Add color mode toggle
Closes #830
2022-09-04 15:23:59 +03:00
Kalle
542b437fce Type safe translations 2022-07-17 12:25:28 +03:00
Kalle
e414ef910f I18n for layout & FAQ page 2022-07-16 16:58:27 +03:00
Kalle
85fd1b238d Fix user showing logged out when CatchBoundary 2022-07-16 13:26:50 +03:00
Kalle
3bb09a64a3 Fix 404 page crashing 2022-07-16 13:21:01 +03:00
Kalle
4b8eecc2c9 Footer desktop initial 2022-07-11 16:11:09 +03:00
Kalle
12c59a40bf Icons via avif 2022-07-03 12:43:09 +03:00
Kalle
c9c53bc4c5 Fix current page nav icon resolving 2022-07-02 11:25:11 +03:00
Kalle
e72df27613 Rename MobileMenu -> Menu 2022-07-02 10:34:28 +03:00
Kalle
3154535e39 Tiny menu 2022-07-02 00:33:12 +03:00
Kalle
4df089573e Remove desktop menu 2022-06-30 17:41:58 +03:00
Kalle
8329c28837 Show current page in header 2022-06-29 00:57:38 +03:00
Kalle
65aaa54a70 Remove unused pageTitle 2022-06-18 15:53:53 +03:00