christoph
5bf47b9523
Lib: Correct schema (removed some "expand" fields)
2025-01-29 00:29:51 +01:00
christoph
9925a9b3c4
Lib: Add optional image zoom on mouse hover
2025-01-29 00:29:20 +01:00
christoph
3d8597ae7a
Data/Season: Close overview accordion initially
2025-01-28 21:01:14 +01:00
christoph
de0a918d27
Data/Season: Display avatars of users that did and didn't pick the current race
2025-01-28 20:53:00 +01:00
christoph
86f973d6e0
Data/Season: Fetch users that picked the current race
2025-01-28 20:39:59 +01:00
christoph
6149d78d27
Data/Season: Add comment
2025-01-27 23:59:25 +01:00
christoph
30328ff4bd
Lib: Add comment
2025-01-27 23:59:17 +01:00
christoph
c35ea78a50
Racepicks: Fix overview box paddings
2025-01-27 23:51:52 +01:00
christoph
d2a08ec59c
Racepicks: Implement "Make Pick" button
2025-01-27 23:48:46 +01:00
christoph
d300f79baa
Racepicks: Implement create/update/delete routes
2025-01-27 23:48:30 +01:00
christoph
9d38a03e57
Lib: Add CurrentPickedUser to schema
2025-01-27 23:47:43 +01:00
christoph
31be7bceae
Skeleton: Register RacePickCard as component modal
2025-01-27 23:47:36 +01:00
christoph
42c6390d6e
Lib: Allow adding extra classes to LazyImage component
2025-01-27 23:47:20 +01:00
christoph
aee0da174d
Lib: Add RacePickCard component
2025-01-27 23:47:10 +01:00
christoph
9ad670ab5e
App: Disable user-select
2025-01-27 20:30:33 +01:00
christoph
b95a5109e0
Lib: Disable draggable images
2025-01-27 20:30:27 +01:00
christoph
9f7361bd4e
Racepicks: Fetch graphics
2025-01-27 20:16:43 +01:00
christoph
4d9364f945
Data/Season: Add comment
2025-01-27 20:16:27 +01:00
christoph
2aa176ed5f
Lib: Add ChequeredFlagIcon component
2025-01-27 20:16:17 +01:00
christoph
ec75f97ee5
App: Add shadows to buttons (except for the header)
2025-01-27 19:44:03 +01:00
christoph
986a49377b
Lib: Hide table header if no data is passed
2025-01-27 19:43:45 +01:00
christoph
a34cf50ace
Env: Disable python dependency in flake
2025-01-27 19:38:28 +01:00
christoph
5a506768ab
Lib: Add extraclass field to Button component
2025-01-27 19:38:17 +01:00
christoph
36c2789304
All: Replace <b> with <span class="font-bold">
2025-01-27 19:38:08 +01:00
christoph
8dc9675d84
Data/Season: Add comment
2025-01-26 15:21:48 +01:00
christoph
cb8df4e05e
Racepicks: Shitty styling progress on overview boxes
2025-01-26 15:21:22 +01:00
christoph
1158efd5f1
Lib: Add shadow option to Button component
2025-01-26 15:18:47 +01:00
christoph
46343bf208
Racepicks: Add initial unstyled elements ("Guess" button + Next Race overview)
2025-01-26 14:13:46 +01:00
christoph
7bd8c6613b
Racepicks: Fetch races and remove expanding of races/drivers (already fetched separately)
2025-01-26 14:13:10 +01:00
christoph
341c831670
Racepicks: Fetch racepicks, raceresults, drivers and the current race
2025-01-26 13:55:21 +01:00
christoph
70e55feac9
Data/Season: Add badges to substitution step column
2025-01-26 13:53:57 +01:00
christoph
9ef669c11a
Lib: Add RaceResult to schema
2025-01-26 13:53:34 +01:00
christoph
2a124b7201
Data/Season: Sort substitutions table by race step
2025-01-26 13:02:49 +01:00
christoph
1d597a431e
Data/Season: Add race step to substitutions page
2025-01-26 13:02:39 +01:00
christoph
73df15a188
Lib: Add possible "expand" fields to schema
2025-01-26 13:02:26 +01:00
christoph
d78f58976f
Racepicks: Load racepicks from PB
2025-01-25 19:12:20 +01:00
christoph
d2b6bd88ca
Lib: Update RacePick schema (expanded values)
2025-01-25 19:11:55 +01:00
christoph
e8f1bfca0a
Env: Update flake + node packages
2025-01-25 18:54:11 +01:00
christoph
8fec70384d
Lib: Make table non-interactive (use pointer cursor instead)
2025-01-25 18:35:27 +01:00
christoph
c39a10abe5
Lib: Add RacePick schema
2025-01-25 18:29:56 +01:00
christoph
6bb065ba6c
Data/Users: Rename layout.server.ts to page.server.ts
2025-01-25 18:29:43 +01:00
christoph
d007cac4c0
Lib: Make table rows colors alternating
2025-01-25 18:27:01 +01:00
christoph
766f09c5b5
Data/Season: Update create teams/drivers/races/substitutions button colors
2025-01-25 18:26:47 +01:00
christoph
7ec8411011
Data/Users: Sort users by username
2025-01-25 17:16:23 +01:00
christoph
7659e03324
Data/Users: Implement users overview table
2025-01-25 17:15:22 +01:00
christoph
3e36bdf27a
Data/Users: Rename path
2025-01-25 16:44:12 +01:00
christoph
045577ce24
Data/RaceResults: Rename path
2025-01-25 16:44:06 +01:00
christoph
b207aa5e29
Profile: Add firstname field to users
2025-01-25 16:43:36 +01:00
christoph
a552865b2f
Lib: Add svg NameIcon
2025-01-25 16:28:09 +01:00
christoph
999cf5bf16
Lib: Remove LazyCard component
2025-01-25 16:27:56 +01:00
christoph
aad969fc46
Env: Add svelte-check command to flake
2025-01-25 16:27:45 +01:00
christoph
a3805f76a1
Data/Season: Split Teams/Drivers/Races/Substitutions into individual routes
2024-12-27 21:52:03 +01:00
christoph
e733ed568a
Skeleton: Center navbar buttons
2024-12-27 21:51:41 +01:00
christoph
2e814c99be
Data/Raceresult: Add dummy page
2024-12-27 21:51:13 +01:00
christoph
ea54ea58f1
Lib: Make button pathname matching more relaxed
2024-12-27 21:51:03 +01:00
christoph
545488da8a
Data/Season: Reorder typescript section
2024-12-27 19:58:05 +01:00
christoph
65f60ec6b1
Lib: Remove LazyDropdown
...
It was identical to "Dropdown" after removing the non-lazy "Image"
component
2024-12-27 19:44:05 +01:00
christoph
bcd8f3dfb5
Lib: Close Team/Driver/Race/Substitution cards when clicking on the image
2024-12-27 19:43:36 +01:00
christoph
00a577520c
Lib: Allow to pass an onclick handler for the card image
2024-12-27 19:43:16 +01:00
christoph
c286cea7b5
Data/Season: Add remaining "Create" buttons (drivers/races/substitutions)
2024-12-27 19:36:08 +01:00
christoph
80d2fe2297
Lib: Load modal meta data required for "create" driver/race/team/substitution cards
2024-12-27 19:35:47 +01:00
christoph
56b1606d1a
Data/Season: Fix team dropdown icon dimensions
2024-12-27 19:16:14 +01:00
christoph
2d2fd9f622
Lib: Remove non-lazy image
...
We need the width/height anyways to determine the max size, so don't
bother with non-lazy stuff
2024-12-27 19:16:02 +01:00
christoph
e4a4a15367
Data/Season: Add create team button
2024-12-23 17:32:45 +01:00
christoph
77f373d593
Data/Season: Set disable_inputs for component modals
2024-12-23 16:48:03 +01:00
christoph
29eb59a983
Lib: Read disable_inputs from modalStore meta for driver-/race-/substitution-/team-card
2024-12-23 16:47:46 +01:00
christoph
cd3f8f7f71
Data/Season: Add value formatting functions for substitutions page
2024-12-23 16:15:27 +01:00
christoph
3e0f17faf0
Lib: Allow table value formatting function to return promise
2024-12-23 16:15:27 +01:00
christoph
835146e38a
Data/Season: Reorder races columns
2024-12-23 16:15:27 +01:00
christoph
a4c2461471
Lib: Make race-/substitution-card buttons fill the card width
2024-12-23 16:15:27 +01:00
christoph
4cffa0adc9
Data/Season: Replace card grid for teams/drivers/races/substitutions with tables
...
This is loading fast and non-lazy, on row-click the card opens
2024-12-23 16:15:27 +01:00
christoph
bb108bf6f3
Lib: Remove card aspect ratios
...
Lazy cards weren't implemented robustly, so use non-lazy cards for now
(maybe find a better solution sometimes)
2024-12-23 16:15:27 +01:00
christoph
392e61ca49
Lib: Make driver-/race-/team- and substitution-card non-lazy
2024-12-23 16:15:27 +01:00
christoph
04650f624e
Lib: Add on-click handler prop to table component
2024-12-23 16:15:27 +01:00
christoph
b6a645da6c
Lib: Update lazydropdown props name to differentiate from non-lazy dropdown
2024-12-23 16:15:27 +01:00
christoph
471163de2f
Lib: Update lazycard props name to differentiate from non-lazy card
2024-12-23 16:15:27 +01:00
christoph
31d8bb4908
Skeleton: Register component modals for driver-/team-/race- and substitution-card
2024-12-23 16:15:27 +01:00
christoph
a23f12b69f
Lib: Add non-lazy variants for card, image and dropdown
2024-12-23 16:15:27 +01:00
christoph
a1fd50a3f6
Skeleton: Reformat
2024-12-23 16:15:27 +01:00
christoph
1a95317a74
Lib: Add table component
2024-12-23 16:15:27 +01:00
christoph
05e32b5ffb
Lib: Move form stuff into form/ directory
2024-12-23 16:15:27 +01:00
christoph
68d9d7e60d
Lib: Move teamcard into cards/ + implement new team schema
2024-12-23 16:15:27 +01:00
christoph
b3629fbe95
Lib: Move cards into cards/ directory
2024-12-23 16:15:27 +01:00
christoph
49112280de
Lib: Update team database schema (add logo, color)
2024-12-23 16:15:27 +01:00
christoph
c954b0f3b0
App: Add onLazyVisible type definition
2024-12-23 16:15:27 +01:00
christoph
b1bea37e20
Skeleton: Fix z-indices so the loading indicator is visible
2024-12-23 16:15:27 +01:00
christoph
eedc7f9a85
Lib: Comments
2024-12-23 16:15:27 +01:00
christoph
b21e4b9b6e
Lib: Fix LazyImage in Dropdown component
2024-12-23 16:15:27 +01:00
christoph
bcb5661e06
Lib: Remove debug log
2024-12-23 16:15:27 +01:00
christoph
09a53a15a7
Skeleton: Fix data dropdown padding
2024-12-23 16:15:27 +01:00
christoph
f0c568b982
Lib: Remove previous lazy loading approach and replace with static aspect ratios
...
The element size must be valid before it is loaded, this is a problem
for cards, as they adapt to their content's size.
Previously I tried to load the first card non-lazily and measure its
dimensions for the next cards, but that was not stable on viewport
changes (could have measured the aspect ratio instead...).
Now, all the aspect ratios are just measured and defined manually,
stupid but simple.
2024-12-23 16:15:27 +01:00
christoph
d398ab67e0
Lib: Implement (slightly broken) lazy loading of cards
...
Issues arise when the viewport size changes
2024-12-23 16:15:27 +01:00
christoph
df0402a318
Lib: Add comment to lazyload.ts
2024-12-23 16:15:27 +01:00
christoph
3cffab193b
Skeleton: Update drawer switch timeout
2024-12-23 16:15:27 +01:00
christoph
8bf96e3380
Lib: Update DriverCard to reflect lib changes (lazy loading)
2024-12-23 16:15:27 +01:00
christoph
55e849d908
Data/Season: Update tab bar styling
2024-12-23 16:15:27 +01:00
christoph
a02a1e7843
Lib: Make lazyimage fade in the image once loaded
2024-12-23 16:15:27 +01:00
christoph
f086e360d4
Skeleton: Position the drawer below the navbar + allow toggling between them
2024-12-23 16:15:27 +01:00
christoph
bac2d31d73
Data/Season: Reflect lib updates (lazy stuff)
2024-12-23 16:15:27 +01:00
christoph
68a56ece32
Lib: Fix bug in image to base64 conversion (now works client+serverside)
2024-12-23 16:15:27 +01:00