Commit Graph

197 Commits

Author SHA1 Message Date
Kalle
96c62e547b Real streams initial 2026-01-25 11:46:37 +02:00
Kalle
974dc2f82e add /comp-analyzer to nav 2026-01-22 21:16:33 +02:00
Kalle
9419540234 Merge branch 'main' into css-rework-sidenav 2026-01-22 21:08:31 +02: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
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
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
hfcRed
78cea765cd Border and outline styles 2026-01-14 20:32:00 +01:00
hfcRed
f0a8ab1295 Remove backdrop filter var 2026-01-14 17:56:36 +01: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
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
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
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
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
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
20854d798d Fix "background flashes when we search" on commandpalette 2026-01-10 17:34:39 +02:00
Kalle
e1aea0e44e Fix e.g. calendar page overflowing 2026-01-10 17:25:55 +02: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
1a958a62bb Fix command palette keyboard shortcut, layout tweaks 2026-01-10 11:09:24 +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
Kalle
9abb219fed Global search initial 2026-01-09 22:46:23 +02:00
hfcRed
6e8274bcc1 Fix popover background color 2026-01-09 18:29:10 +01: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
a4527ef2ea Tourney styling 2026-01-03 15:04:54 +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
e5a79a0e35 Unused CSS class check 2025-12-30 18:12:28 +02:00
Kalle
0193edce1d Refactor several to CSS Modules 2025-12-30 16:17:24 +02:00