Commit Graph

816 Commits

Author SHA1 Message Date
Kalle
9419540234 Merge branch 'main' into css-rework-sidenav 2026-01-22 21:08:31 +02:00
Kalle
60add3bfc6
Tournament tiers (#2758) 2026-01-22 20:04:26 +02:00
hfcRed
a76c7d07c3 Remove unused vars 2026-01-21 17:44:38 +01:00
hfcRed
3b4dac26bf New spacings 2026-01-21 17:18:14 +01:00
hfcRed
ff439b40d9 Font size, font weight, and line height vars 2026-01-21 16:36:26 +01:00
Kalle
0e89ee7bb7
Comp Analyzer (#2759)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 17:58:50 +02:00
hfcRed
a46c484891 Size vars 2026-01-19 21:46:41 +01:00
hfcRed
1d307f5add Rename field height var 2026-01-19 20:56:45 +01:00
hfcRed
c9069770c0 Rename field padding var 2026-01-19 20:54:34 +01:00
Kalle
4e33df3ac0 Add help text and image popover to friend code input
Users were confused about what friend code means and where to find it.
Added an info popover explaining that friend codes are used for identity
verification by staff, tournament organizers, and SendouQ opponents.
The popover includes an image showing where to find the friend code on
the Nintendo Switch. Also added text noting that once set, only staff
can change it.
2026-01-19 21:34:27 +02:00
hfcRed
d253dacfa6 Add border width var 2026-01-19 19:46:54 +01:00
hfcRed
e9ba14c42a New border radius vars 2026-01-19 18:55:54 +01:00
hfcRed
2fb96a1122 Rename input vars to field vars 2026-01-19 18:02:17 +01:00
Kalle
92047ab365 Merge branch 'main' into css-rework-sidenav 2026-01-18 21:12:24 +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
hfcRed
c9474e4c59 Scrollbar styles 2026-01-18 12:10:13 +01:00
hfcRed
83a8f5dbde Hide top nav on scroll and small tweaks 2026-01-18 12:08:10 +01:00
Kalle
aa7cc146bc Better search input alignment for mobile 2026-01-17 11:30:05 +02:00
Kalle
d536fe2f45 Fix sidenav collapse button flash on mobile
Doubled CSS selector specificity to ensure display: none beats
Button.module.css's display: flex regardless of load order.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 08:21:34 +02:00
Kalle
fcd5d9bbba Real friends data initial 2026-01-16 21:30:03 +02:00
Kalle
9dd14fe1b7 completed: User search has nested input borders 2026-01-15 22:03:42 +02:00
hfcRed
78cea765cd Border and outline styles 2026-01-14 20:32:00 +01:00
hfcRed
10befba10a New layout vars 2026-01-14 20:11:59 +01:00
hfcRed
f0a8ab1295 Remove backdrop filter var 2026-01-14 17:56:36 +01:00
hfcRed
ab7c1d66a2 Rename toggle height var 2026-01-14 17:54:22 +01:00
hfcRed
be32b2c8ad Eliminate small toggles 2026-01-14 17:48:30 +01:00
hfcRed
a32d36fedb Rename some vars 2026-01-14 17:43:57 +01:00
hfcRed
a43f06977f Remove some vars 2026-01-14 17:42:12 +01:00
Kalle
35ac3fa0a7
Add session ID to server logs for user reporting (#2720) 2026-01-13 21:02:16 +02:00
Kalle
5a73adea97 Add ArrowDown shortcut to jump from search input to results in CommandPalette
Instead of requiring users to Tab through all radio buttons to reach
search results, ArrowDown now jumps directly from the input to the
ListBox. This matches the UX of other command palettes like VS Code
and Spotlight.

- Add onKeyDown prop to Input component
- Replace Enter→input handler with ArrowDown→results handler
- Remove unnecessary wrapper div with biome-ignore comment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 20:57:20 +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
bebb7ccee0 Gamut mapping and custom theme selector component 2026-01-13 19:30:07 +01:00
hfcRed
c5d89e2ad2 Remove colors input module 2026-01-13 16:33:40 +01:00
Kalle
ec47c9a7eb Fix "Inconsistent notification dot colors" 2026-01-12 22:23:20 +02:00
Kalle
cb254c6e31 Fix mobile menu not closing when clicking See all notifications
The LinkButton component wasn't passing onClick to internal Link
components, only to external anchor tags. This prevented the onClose
callback from firing when navigating via the notifications footer link.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 22:23:20 +02:00
hfcRed
31c37b2a9b Custom color settings initial 2026-01-11 22:33:19 +01:00
Kalle
04943a6262 Add notification dot to mobile You tab
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 21:20:33 +02:00
Kalle
68f5e609a1 Add weapon mega menu to mobile navigation
Mobile users can now access weapon pages from the menu modal.
Weapons are organized by category in a scrollable section below the nav grid.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 21:01:08 +02:00
Kalle
93356fcfb3 Fix search category icons not showing on mobile
Prevent icons from shrinking on narrow screens by adding flex-shrink: 0
to picture/img elements. Also allow tabs to wrap with flex-wrap.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:54:35 +02:00
Kalle
a6d1846965 Improve mobile menu grid alignment and shorten labels
- Use CSS grid with 4 columns for consistent alignment
- Shorten labels: "Build Analyzer" → "Analyzer",
  "Leaderboards" → "Leaderboard", "Tier List Maker" → "Tier Lists"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:38:34 +02:00
Kalle
0a18a07c7f Remove /u page and redirect to CommandPalette
- Add URL search params to CommandPalette (?search=open, ?type=users)
- Redirect /u to /?search=open&type=users
- Remove User Search from nav menus
- Update UserSearch component to use /search API
- Add plusTier to search results for users

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 17:03:24 +02:00
Kalle
0c3a27625a Add day headers and times to mobile Events panel
Group events by day (Today, Tomorrow, or date) with localized headers
and show start times next to each tournament.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 15:32:27 +02:00
Kalle
380e41d472 Fix organizations icon in CommandPalette
Use "medal" icon to match AnythingAdder instead of "associations".

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 15:19:35 +02:00
Kalle
c22d7efb60 Move Settings to same row as user avatar in mobile You panel
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 15:13:33 +02:00
Kalle
aef893b6fd Fix duplicate Notifications header in mobile user tab
YouPanel was rendering its own Notifications header while also including
NotificationContent which already has a header. Removed the redundant header
and associated styles.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 15:05:57 +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
75d36d9686 Rename "My Calendar" to "Events" for consistency
- Update mobile tab label from "Calendar" to "Events"
- Update desktop sidebar header from "My Calendar" to "Events"
- Update translation key sideNav.myCalendar value
- Update related beans to use "Events" naming and /my-events route

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 14:52:39 +02: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