Commit Graph

  • a1fd50a3f6 Skeleton: Reformat christoph 2024-12-18 15:00:37 +01:00
  • 1a95317a74 Lib: Add table component christoph 2024-12-18 15:00:05 +01:00
  • 05e32b5ffb Lib: Move form stuff into form/ directory christoph 2024-12-18 14:59:55 +01:00
  • 68d9d7e60d Lib: Move teamcard into cards/ + implement new team schema christoph 2024-12-18 14:59:22 +01:00
  • b3629fbe95 Lib: Move cards into cards/ directory christoph 2024-12-18 14:59:06 +01:00
  • 49112280de Lib: Update team database schema (add logo, color) christoph 2024-12-18 14:58:28 +01:00
  • c954b0f3b0 App: Add onLazyVisible type definition christoph 2024-12-17 21:23:44 +01:00
  • b1bea37e20 Skeleton: Fix z-indices so the loading indicator is visible christoph 2024-12-17 18:03:16 +01:00
  • eedc7f9a85 Lib: Comments christoph 2024-12-17 17:20:22 +01:00
  • b21e4b9b6e Lib: Fix LazyImage in Dropdown component christoph 2024-12-16 21:11:52 +01:00
  • bcb5661e06 Lib: Remove debug log christoph 2024-12-16 21:11:37 +01:00
  • 09a53a15a7 Skeleton: Fix data dropdown padding christoph 2024-12-16 21:11:08 +01:00
  • f0c568b982 Lib: Remove previous lazy loading approach and replace with static aspect ratios christoph 2024-12-16 20:06:56 +01:00
  • d398ab67e0 Lib: Implement (slightly broken) lazy loading of cards christoph 2024-12-16 19:52:46 +01:00
  • df0402a318 Lib: Add comment to lazyload.ts christoph 2024-12-16 18:17:54 +01:00
  • 3cffab193b Skeleton: Update drawer switch timeout christoph 2024-12-16 18:17:43 +01:00
  • 8bf96e3380 Lib: Update DriverCard to reflect lib changes (lazy loading) christoph 2024-12-16 17:34:20 +01:00
  • 55e849d908 Data/Season: Update tab bar styling christoph 2024-12-16 17:34:01 +01:00
  • a02a1e7843 Lib: Make lazyimage fade in the image once loaded christoph 2024-12-16 17:15:52 +01:00
  • f086e360d4 Skeleton: Position the drawer below the navbar + allow toggling between them christoph 2024-12-16 16:46:26 +01:00
  • bac2d31d73 Data/Season: Reflect lib updates (lazy stuff) christoph 2024-12-16 16:45:45 +01:00
  • 68a56ece32 Lib: Fix bug in image to base64 conversion (now works client+serverside) christoph 2024-12-16 16:45:11 +01:00
  • 4d41401905 Lib: Update lazy components (dropdown + card now lazy) christoph 2024-12-16 16:44:46 +01:00
  • ecd566b1fa Lib: Move image fetching out of LazyImage component into lib christoph 2024-12-16 13:36:01 +01:00
  • 83d322f26b Lib: Add function to fetch image as base64 string christoph 2024-12-16 13:35:45 +01:00
  • 3bd960b187 Skeleton: Enable autocomplete on username inputs christoph 2024-12-16 12:42:26 +01:00
  • 27fc2bce49 Lib: Disable autocomplete on card inputs christoph 2024-12-16 12:42:16 +01:00
  • 57b4253d99 Data/Season: Stream drivers, races and substitutes as promises for data/season page christoph 2024-12-16 04:03:37 +01:00
  • cb51e01e98 Hooks: Log requests christoph 2024-12-16 04:03:05 +01:00
  • 3904201033 Env: Add sveltekit node server adapter christoph 2024-12-16 04:02:59 +01:00
  • 5bfb670347 Lib: Make LazyImage full width christoph 2024-12-16 02:58:30 +01:00
  • cb5203fbf8 Data/Season: Update imports christoph 2024-12-16 02:29:33 +01:00
  • 7bebc334f3 Data/Season: Implement image compression + downsizing for team/driver/race routes christoph 2024-12-16 02:29:27 +01:00
  • c1f9c6aa12 Lib: Dispatch CustomEvent instead of Event for DropdownChange christoph 2024-12-16 02:29:06 +01:00
  • 72154656fb Lib: Add imgwidth/imgheight to Card component so layout doesn't jump when lazyloading images christoph 2024-12-16 02:28:31 +01:00
  • 0d25f23818 Lib: Update index.ts christoph 2024-12-16 02:27:50 +01:00
  • 14516133de Lib: Implement LazyImage component (images will be loaded once visible) christoph 2024-12-16 02:27:45 +01:00
  • 57cae4d400 Lib: Define some constant values in lib/config.ts christoph 2024-12-16 02:27:13 +01:00
  • b7ca0582f4 Skeleton: Add site loading indicator to the main layout christoph 2024-12-16 02:26:45 +01:00
  • 66183d0600 Lib: Implement site loading indicator christoph 2024-12-16 02:26:35 +01:00
  • 1b6082ddfa Profile: Compress user avatars in update_profile route christoph 2024-12-15 23:53:23 +01:00
  • ef96cd1e2c Lib: Implement image downscaling + avif conversion helper christoph 2024-12-15 23:53:00 +01:00
  • 926e9fac44 Skeleton: Remove unused imports christoph 2024-12-15 23:52:21 +01:00
  • 325563394b Env: Don't bundle sharp (sharp needs node, so serverside only) christoph 2024-12-15 23:52:07 +01:00
  • c77a1dd6d5 Skeleton: Add race results link to layout christoph 2024-12-15 22:45:13 +01:00
  • b81f17c230 Data/Season: Add driver/team icons to driver/team dropdowns christoph 2024-12-15 22:45:02 +01:00
  • 35c6f59d4b Data/Season: Fix bug in create_driver action (don't ensure "active") christoph 2024-12-15 22:44:43 +01:00
  • 6d93ca7dab Lib: Allow icons in dropdown component list christoph 2024-12-15 22:44:15 +01:00
  • 2989e8a2ed Data/Season: Add "active" switches on drivers page christoph 2024-12-15 21:44:27 +01:00
  • 4003cb5645 Lib: Fix wrong label in substitution card christoph 2024-12-15 21:44:02 +01:00
  • 655a9377fe Data/Season: Implement substitutions page christoph 2024-12-15 20:58:00 +01:00
  • dbd423dfd3 Lib: Implement substitution card christoph 2024-12-15 20:57:48 +01:00
  • 69e9ca1400 Lib: Rename field in schema christoph 2024-12-15 20:57:39 +01:00
  • 0ed6e24852 Lib: Remove unused event from clear_spring event handler in racecard component christoph 2024-12-15 20:57:31 +01:00
  • 0baaf51e53 Lib: Add action field to dropdown component christoph 2024-12-15 20:57:14 +01:00
  • 7648886ca4 Lib: Only pass single "team_select_value" into component except of all of them christoph 2024-12-15 20:56:49 +01:00
  • 72abc891e5 Data/Season: Implement races page christoph 2024-12-15 00:55:37 +01:00
  • ef6554f2c5 Lib: Allow key exceptions in form_data_clean + implement date format conversion for pocketbase christoph 2024-12-15 00:55:25 +01:00
  • f11b516088 Lib: Implement racecard component christoph 2024-12-15 00:54:43 +01:00
  • 2ae436dbe5 Env: Add date-fns library christoph 2024-12-15 00:11:52 +01:00
  • 3b6c45e86e Lib: Fix bug in form_data_clean (mutating while iterating) christoph 2024-12-15 00:11:42 +01:00
  • 2e0539a9b8 Lib: Add schema definitions for race and substitution christoph 2024-12-15 00:11:23 +01:00
  • 88f3014238 Lib: Fix readonly + required in dropdown component by preventing keypress events christoph 2024-12-14 17:14:27 +01:00
  • 5cbbb89ee1 Data/Season: Use team/driver card components christoph 2024-12-14 17:14:00 +01:00
  • 52a8d8f4ff Lib: Implement team and driver cards christoph 2024-12-14 17:13:45 +01:00
  • dcd1444ba7 Profile: Redirect to current page instead of "/" when logging in/out or changing/creating profile christoph 2024-12-14 15:55:17 +01:00
  • 218e105815 Hooks: Load template avatar url if user didn't set one christoph 2024-12-14 15:54:21 +01:00
  • 43638f5f40 Env: Add sharp for image conversion to avif christoph 2024-12-14 15:53:43 +01:00
  • ae8310aeba App: Change Locals interface user type to User schema christoph 2024-12-14 15:53:29 +01:00
  • 758ee8de27 Data/Season: Display template graphics (for new driver/team etc.) christoph 2024-12-14 15:52:59 +01:00
  • 6cc5a1a0fa Data/Season: Load template graphics christoph 2024-12-14 15:52:43 +01:00
  • 95a2d086ee Lib: Replace get_by_id helper with more general get_by_value (key can be chosen) christoph 2024-12-14 15:52:20 +01:00
  • 16a315c1a5 Lib: Add Graphic and User schemas christoph 2024-12-14 15:51:58 +01:00
  • 66d2d9b878 Lib: Disable text input in Dropdown component christoph 2024-12-14 15:51:48 +01:00
  • b08b73b337 Data/Season: Implement create_driver, update_driver and delete_driver routes christoph 2024-12-14 03:35:28 +01:00
  • 402f067877 Data/Season: Add team select to seasondata drivers page christoph 2024-12-14 03:35:06 +01:00
  • 9f45469f01 Env: Add UUID package christoph 2024-12-14 03:34:39 +01:00
  • 2c5a7a1143 Lib: Update type information christoph 2024-12-14 03:34:21 +01:00
  • 304ffd45ba Lib: Implement dropdown + search/autocomplete components christoph 2024-12-14 03:34:08 +01:00
  • 0abfaff004 App: Add TS type information christoph 2024-12-13 19:56:47 +01:00
  • 04569ea683 Skeleton: Manually ":hover" the button to the current page in navbar christoph 2024-12-13 14:47:03 +01:00
  • 96fc1ed2aa Profile: Move /user routes to /profile christoph 2024-12-13 14:46:36 +01:00
  • 7a8abbe0a9 Lib: Disable input label text wrapping christoph 2024-12-13 14:46:10 +01:00
  • 5d1ec12d95 Lib: Allow to manually enable :hover on Button christoph 2024-12-13 14:46:02 +01:00
  • 8060c4971d Migrate from DaisyUI to SkeletonUI christoph 2024-12-12 23:29:24 +01:00
  • 2f934537a2 Env: Update tailwindcss safelist christoph 2024-12-12 23:29:13 +01:00
  • ff553c99ec Env: Replace daisyui with skeletonui christoph 2024-12-12 18:21:06 +01:00
  • 97872cc9b9 Env: Update prettier config christoph 2024-12-12 18:20:45 +01:00
  • 4ce40e7145 Skeleton: Disable "draggable" on links and images christoph 2024-12-12 12:49:49 +01:00
  • b69647cd48 Skeleton: Move seasondata tabs into +layout.svelte christoph 2024-12-12 12:10:56 +01:00
  • 51651b976a Data/Season: Add stub page for drivers/races routes christoph 2024-12-12 12:10:42 +01:00
  • 7623a426c9 Lib: Rename forms.ts to form.ts christoph 2024-12-12 12:09:53 +01:00
  • f1830d1b1c Skeleton: Make "Login" button the default on enter (instead of "Register") christoph 2024-12-12 11:43:36 +01:00
  • 55bdf0fa18 Data/Season: Implement seasondata/teams page + creation/deletion/updating christoph 2024-12-12 04:41:36 +01:00
  • 1410811167 User: Add login/register/profile form handling christoph 2024-12-12 04:41:13 +01:00
  • 27620fc70e Add stub page for / route christoph 2024-12-12 04:40:46 +01:00
  • eb8aa01109 Skeleton: Add main page skeleton (navbar) christoph 2024-12-12 04:40:28 +01:00
  • dd1e6ee6c1 Hooks: Add request event handler for authentication christoph 2024-12-12 04:39:51 +01:00
  • a7b2bfb56b Static: Add favicon + logo christoph 2024-12-12 04:39:09 +01:00
  • b3c10147df Env: Update devshell commands christoph 2024-12-12 04:39:01 +01:00