Commit Graph

199 Commits

Author SHA1 Message Date
3cffab193b Skeleton: Update drawer switch timeout 2024-12-23 16:15:27 +01:00
8bf96e3380 Lib: Update DriverCard to reflect lib changes (lazy loading) 2024-12-23 16:15:27 +01:00
55e849d908 Data/Season: Update tab bar styling 2024-12-23 16:15:27 +01:00
a02a1e7843 Lib: Make lazyimage fade in the image once loaded 2024-12-23 16:15:27 +01:00
f086e360d4 Skeleton: Position the drawer below the navbar + allow toggling between them 2024-12-23 16:15:27 +01:00
bac2d31d73 Data/Season: Reflect lib updates (lazy stuff) 2024-12-23 16:15:27 +01:00
68a56ece32 Lib: Fix bug in image to base64 conversion (now works client+serverside) 2024-12-23 16:15:27 +01:00
4d41401905 Lib: Update lazy components (dropdown + card now lazy) 2024-12-23 16:15:27 +01:00
ecd566b1fa Lib: Move image fetching out of LazyImage component into lib 2024-12-23 16:15:27 +01:00
83d322f26b Lib: Add function to fetch image as base64 string 2024-12-23 16:15:27 +01:00
3bd960b187 Skeleton: Enable autocomplete on username inputs 2024-12-23 16:15:27 +01:00
27fc2bce49 Lib: Disable autocomplete on card inputs 2024-12-23 16:15:27 +01:00
57b4253d99 Data/Season: Stream drivers, races and substitutes as promises for data/season page 2024-12-23 16:15:27 +01:00
cb51e01e98 Hooks: Log requests 2024-12-23 16:15:27 +01:00
3904201033 Env: Add sveltekit node server adapter 2024-12-23 16:15:27 +01:00
5bfb670347 Lib: Make LazyImage full width 2024-12-23 16:15:27 +01:00
cb5203fbf8 Data/Season: Update imports 2024-12-23 16:15:27 +01:00
7bebc334f3 Data/Season: Implement image compression + downsizing for team/driver/race routes 2024-12-23 16:15:27 +01:00
c1f9c6aa12 Lib: Dispatch CustomEvent instead of Event for DropdownChange 2024-12-23 16:15:27 +01:00
72154656fb Lib: Add imgwidth/imgheight to Card component so layout doesn't jump when lazyloading images 2024-12-23 16:15:27 +01:00
0d25f23818 Lib: Update index.ts 2024-12-23 16:15:27 +01:00
14516133de Lib: Implement LazyImage component (images will be loaded once visible) 2024-12-23 16:15:27 +01:00
57cae4d400 Lib: Define some constant values in lib/config.ts 2024-12-23 16:15:27 +01:00
b7ca0582f4 Skeleton: Add site loading indicator to the main layout 2024-12-23 16:15:27 +01:00
66183d0600 Lib: Implement site loading indicator 2024-12-23 16:15:27 +01:00
1b6082ddfa Profile: Compress user avatars in update_profile route 2024-12-23 16:15:27 +01:00
ef96cd1e2c Lib: Implement image downscaling + avif conversion helper 2024-12-23 16:15:27 +01:00
926e9fac44 Skeleton: Remove unused imports 2024-12-23 16:15:27 +01:00
325563394b Env: Don't bundle sharp (sharp needs node, so serverside only) 2024-12-23 16:15:27 +01:00
c77a1dd6d5 Skeleton: Add race results link to layout 2024-12-23 16:15:27 +01:00
b81f17c230 Data/Season: Add driver/team icons to driver/team dropdowns 2024-12-23 16:15:27 +01:00
35c6f59d4b Data/Season: Fix bug in create_driver action (don't ensure "active") 2024-12-23 16:15:27 +01:00
6d93ca7dab Lib: Allow icons in dropdown component list 2024-12-23 16:15:27 +01:00
2989e8a2ed Data/Season: Add "active" switches on drivers page 2024-12-23 16:15:27 +01:00
4003cb5645 Lib: Fix wrong label in substitution card 2024-12-23 16:15:27 +01:00
655a9377fe Data/Season: Implement substitutions page 2024-12-23 16:15:27 +01:00
dbd423dfd3 Lib: Implement substitution card 2024-12-23 16:15:27 +01:00
69e9ca1400 Lib: Rename field in schema 2024-12-23 16:15:27 +01:00
0ed6e24852 Lib: Remove unused event from clear_spring event handler in racecard component 2024-12-23 16:15:27 +01:00
0baaf51e53 Lib: Add action field to dropdown component 2024-12-23 16:15:27 +01:00
7648886ca4 Lib: Only pass single "team_select_value" into component except of all of them 2024-12-23 16:15:27 +01:00
72abc891e5 Data/Season: Implement races page 2024-12-23 16:15:27 +01:00
ef6554f2c5 Lib: Allow key exceptions in form_data_clean + implement date format conversion for pocketbase 2024-12-23 16:15:27 +01:00
f11b516088 Lib: Implement racecard component 2024-12-23 16:15:27 +01:00
2ae436dbe5 Env: Add date-fns library 2024-12-23 16:15:27 +01:00
3b6c45e86e Lib: Fix bug in form_data_clean (mutating while iterating) 2024-12-23 16:15:27 +01:00
2e0539a9b8 Lib: Add schema definitions for race and substitution 2024-12-23 16:15:27 +01:00
88f3014238 Lib: Fix readonly + required in dropdown component by preventing keypress events 2024-12-23 16:15:27 +01:00
5cbbb89ee1 Data/Season: Use team/driver card components 2024-12-23 16:15:27 +01:00
52a8d8f4ff Lib: Implement team and driver cards 2024-12-23 16:15:27 +01:00