Commit Graph

80 Commits

Author SHA1 Message Date
Kalle
96c62e547b Real streams initial 2026-01-25 11:46:37 +02:00
hfcRed
83a8f5dbde Hide top nav on scroll and small tweaks 2026-01-18 12:08:10 +01:00
Kalle
fcd5d9bbba Real friends data initial 2026-01-16 21:30:03 +02:00
Kalle
2d7bc0ffc0 Add scrims to sidebar Events section
Display user's scrims alongside tournaments in the sidebar's Events section:
- LFG scrims show "Scrim" with scrims icon and "Looking" badge
- Booked scrims show "vs. {opponent}" with opponent avatar and "Booked" badge
- Tournaments deduplicated (no duplicates when both organizing and participating)
- Events sorted chronologically and limited to 8

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 20:57:20 +02:00
hfcRed
49d5d634ff Merge branch 'css-rework-sidenav' of https://github.com/sendou-ink/sendou.ink into css-rework-sidenav 2026-01-11 13:55:35 +01:00
hfcRed
49eed5c12c Persist sidenav collapsed state 2026-01-11 13:55:31 +01:00
Kalle
b1762ab48f Inline notificationPopoverClassName function
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 14:44:02 +02:00
hfcRed
e22cd8ee07 Add sidenav collabse button 2026-01-11 13:26:45 +01:00
Kalle
f6493f2507 Beans 2026-01-11 13:46:59 +02:00
Kalle
6a396f5654 Tournament quick match access initial 2026-01-11 13:46:59 +02:00
hfcRed
5b8afa0012 Small fixes and notification pulse 2026-01-11 12:40:26 +01:00
hfcRed
a960a08c15 Migrate icons to Lucide 2026-01-10 22:06:13 +01:00
Kalle
3ca7a26667 Mobile nav initial 2026-01-10 17:18:48 +02:00
Kalle
3c02087822 Real data for sidebar initial 2026-01-10 15:34:54 +02:00
Kalle
85c4e9cc1d SideNav match quick access initial 2026-01-10 13:38:38 +02:00
Kalle
6934ece434 Fix tournament breadcrumb border 2026-01-10 12:20:20 +02:00
Kalle
becdc90452 Fix seeds hydration problem 2026-01-10 11:22:38 +02:00
Kalle
446311c5ad Style login button 2026-01-10 08:10:07 +02:00
Kalle
989b492489 Hide search if user is not logged in 2026-01-10 07:57:23 +02:00
hfcRed
8fc061716d Refactor Menu and Popover consistent styling and update layout styles 2026-01-09 18:18:03 +01:00
Kalle
6a8443478c User item & notifs & settings top left, menu based navigation, global search, weapon pages initial & emphasized Add new button 2026-01-09 18:05:56 +02:00
hfcRed
131fa699fa Sidenav rework? 2026-01-08 20:07:32 +01:00
hfcRed
0f0babcbb9 Merge remote-tracking branch 'origin/main' into css-rework
# Conflicts:
#	app/components/SubNav.tsx
#	app/components/layout/UserItem.tsx
#	app/features/build-analyzer/routes/analyzer.tsx
#	app/features/map-planner/components/Planner.tsx
#	app/features/object-damage-calculator/routes/object-damage-calculator.tsx
#	app/features/plus-voting/routes/plus.voting.tsx
#	app/root.tsx
#	knip.json
2025-12-30 20:25:30 +01:00
Kalle
0193edce1d Refactor several to CSS Modules 2025-12-30 16:17:24 +02:00
Kalle
81483de0db
Upgrade to React Router 7 (#2681) 2025-12-29 19:21:11 +02: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
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