Commit Graph
100 Commits
Author SHA1 Message Date
christoph f88c8dc7ed Lib: Use new date formatting helpers in RaceCard 2025-03-14 00:08:01 +01:00
christoph 54d154e445 Lib: Fix removing sprints in RaceCard 2025-03-14 00:07:48 +01:00
christoph b9aea2e501 Lib: Fix missing label separator in Input 2025-03-14 00:06:08 +01:00
christoph b4552f7d50 Lib: Remove DateTimeInput 2025-03-14 00:05:52 +01:00
christoph f4fcb2e745 Lib: Add DateTimeInput 2025-03-14 00:00:06 +01:00
christoph 965504ed4e Lib: Update date formatting helpers 2025-03-13 23:59:46 +01:00
christoph 780706ce4a Layout: Don't check for username/firstname in profile update handler 2025-02-27 01:11:50 +01:00
christoph d4d44a79f6 Seasonpicks: Fix accordion lag 2025-02-27 00:55:58 +01:00
christoph 63ba16bd4d Racepicks: Fix accordion lag 2025-02-27 00:55:52 +01:00
christoph 750c89823d Seasonpicks: Sort teamwinners and podiums 2025-02-27 00:52:00 +01:00
christoph 55d0525b37 Racepicks: Fix "Your Race Pick" accordion opening lag 2025-02-27 00:51:49 +01:00
christoph a80f2e6fcd Lib: Comments 2025-02-27 00:51:26 +01:00
christoph 1933ad8ca8 Pocketbase: Update schema 2025-02-27 00:13:20 +01:00
christoph 4d7b96b5cc Seasonpick: Fix modal component typo 2025-02-27 00:10:35 +01:00
christoph e5fd61aa49 Skeleton: Register SeasonPickCard modal component 2025-02-27 00:10:11 +01:00
christoph 4a2b5e8781 Lib: Implement SeasonPickCard 2025-02-27 00:09:24 +01:00
christoph 53396fce19 Lib: Display full driver names in dropdown labels + sort alphabetically 2025-02-26 23:37:22 +01:00
christoph dcd62cdbfa Lib: Sort driver options in RaceResultCard 2025-02-26 23:37:06 +01:00
christoph 08774fc40b Raceresults: Fetch substitutions 2025-02-26 23:21:43 +01:00
christoph bc8a86c025 Lib: Respect substituted drivers in RaceResultCard 2025-02-26 23:21:29 +01:00
christoph 3178840b02 Lib: DISABLE PXX DISPLAY IN RACERESULTCARD CHIPS 2025-02-26 22:56:28 +01:00
christoph 161929f1c2 Seasonpicks: Hide Doohan text if no pick 2025-02-26 22:30:29 +01:00
christoph 6475c49af0 Seasonpicks: Implement "Your Season Pick" Accordion 2025-02-26 22:28:16 +01:00
christoph b6f02c683f Racepicks: Show all picked/outstanding users with scroll 2025-02-26 22:28:03 +01:00
christoph 5b02b37e38 Lib: Assign imgclass also to image container 2025-02-26 22:27:43 +01:00
christoph c119567a90 Seasonpicks: Make first column width match racepicks page 2025-02-26 21:24:16 +01:00
christoph 99de8eec72 Seasonpicks: Only display hottakes before deadline 2025-02-26 21:20:45 +01:00
christoph f7bb4c7978 Lib: Disable draggable on Button links 2025-02-26 21:20:22 +01:00
christoph f63d143ba5 Skeleton: Fix user-select: none for firefox 2025-02-26 21:10:31 +01:00
christoph cb8eb26d22 Seasonpicks: Refactor current seasonpick acquisition + user new fetchers 2025-02-26 21:04:21 +01:00
christoph 1ca384700a Racepicks: Refactor current racepick acquisition + use new fetchers 2025-02-26 21:04:08 +01:00
christoph 2952cac6ef Lib: Add fetcher for hottakes + use "visible..." collections for picks 2025-02-26 21:03:47 +01:00
christoph 0a26c82200 Lib: Update PickedUser schemas + add Hottake schema 2025-02-26 21:03:14 +01:00
christoph f8365adc37 Pocketbase: Add schema 2025-02-26 20:39:07 +01:00
christoph 6c8738366a Seasonpicks: Implement first (rough) seasonpick display page 2025-02-25 20:47:43 +01:00
christoph cd31d50cb2 Lib: Fix double semicolon in LazyImage 2025-02-25 20:11:30 +01:00
christoph d31576a4d5 Racepicks: Make vertical race name font smaller on small screens 2025-02-25 18:59:39 +01:00
christoph 98e4f92485 Seasonpicks: Fetch users that already made their seasonpick 2025-02-18 01:21:15 +01:00
christoph fcf389bf29 Lib: Add seasonpickedusers fetcher 2025-02-18 01:21:03 +01:00
christoph f06fdb3c2e Lib: Add SeasonPickedUser to schema 2025-02-18 01:20:57 +01:00
christoph 9b1de1d4b7 Data/Users: Don't await graphics 2025-02-18 01:20:45 +01:00
christoph 03c19480a0 Racepicks: Don't await graphics 2025-02-18 01:20:37 +01:00
christoph 34c8ef57bf Lib: Don't await graphics 2025-02-18 01:20:32 +01:00
christoph 2fb7a7d597 Seasonpicks: Fetch teams/drivers/seasonpicks 2025-02-18 00:43:05 +01:00
christoph 036733b287 Racepicks: Use pointer cursor for race column (to highlight result popups) 2025-02-18 00:42:49 +01:00
christoph 55765d2d42 Lib: Add SeasonPick schema 2025-02-18 00:42:22 +01:00
christoph c8a0a3d5f2 Lib: Add fetcher for seasonpicks 2025-02-18 00:42:15 +01:00
christoph c67ee16641 Skeleton: Remove dependencies/subscriptions on view collections 2025-02-18 00:02:01 +01:00
christoph c74b31907f Lib: Remove manual data invalidation in favor of pocketbase subscriptions 2025-02-17 23:51:12 +01:00
christoph 98b11f7b9b Skeleton: Subscribe to pocketbase realtime events for all collections 2025-02-17 23:33:35 +01:00
christoph aaf919af0a Lib: Add pocketbase realtime subscribe/unsubscribe helpers 2025-02-17 23:33:23 +01:00
christoph 8c2754cebc Racepicks: Also fetch missing substitutions 2025-02-17 23:32:30 +01:00
christoph ba5dac81fd Racepicks: Fix picked users grid padding inconsistency 2025-02-17 23:32:18 +01:00
christoph 5f73f0f952 Lib: Remove SkeletonData schema and use correct PageData types instead 2025-02-17 23:31:57 +01:00
christoph 4a1fcc6447 Skeleton: Some login logic fixes 2025-02-17 22:56:03 +01:00
christoph 04b69611a1 Skeleton: Define dependencies when fetching data 2025-02-17 21:15:00 +01:00
christoph 25a55ec94e Skeleton: Delegate data fetching to specific routes and only load what's needed 2025-02-17 21:12:11 +01:00
christoph 2b90f977d5 Lib: Fix invalid field in schema 2025-02-17 20:59:56 +01:00
christoph 8c8be5273b Lib: Move data fetching functions to library 2025-02-17 20:59:50 +01:00
christoph 37f4234c87 Lib: Implement driver headshot compression 2025-02-17 18:15:32 +01:00
christoph 29d992affe Lib: Implement race pictogram compression 2025-02-17 18:15:23 +01:00
christoph 24d557958a Lib: Implement team banner compression 2025-02-17 18:15:15 +01:00
christoph 524ccc13d2 Skeleton: Implement user avatar compression 2025-02-17 18:15:06 +01:00
christoph 8142c72c93 Api/Compress: Add image compression server endpoint 2025-02-17 18:14:50 +01:00
christoph 8ca1e3d511 Env: Remove obsolete node deps + re-add sharp 2025-02-17 18:14:34 +01:00
christoph 6093553ce5 Lib: Update server-side image compression 2025-02-17 18:14:18 +01:00
christoph bd7e962f83 Lib: Fix deleting from wrong collection in RaceCard 2025-02-17 18:07:09 +01:00
christoph 9e39547936 Skeleton: Fetch RaceResults asynchronously in root layout 2025-02-17 15:58:07 +01:00
christoph e58b94022a Env: Remove obsolete flake contents 2025-02-17 15:51:20 +01:00
christoph c211aa21bb Env: Remove obsolete node deps + add image-conversion 2025-02-17 15:51:11 +01:00
christoph 65e3c0651c Lib: Fix public pocketbase url 2025-02-08 16:42:53 +01:00
christoph f868d779e7 DISABLE SSR AND TRANSITION TO SPA 2025-02-08 16:37:58 +01:00
christoph 91fc3ae7a2 Lib: Add "Select Random" button to RacePickCard 2025-02-07 00:04:40 +01:00
christoph 88fb24a20c Lib: Refactor nullhandling in RaceResultCard 2025-02-06 23:59:26 +01:00
christoph 6f4b5e45cc Lib: Update RacePickCard labelwidth 2025-02-06 23:13:35 +01:00
christoph 705b66f638 Lib: Fix promise handling and reactive placeholder/chips in RaceResultCard 2025-02-06 23:10:23 +01:00
christoph bea45b8339 Lib: Update promise handling in RacePickCard 2025-02-06 23:10:05 +01:00
christoph 76a5388e18 Lib: Reorder card scripts 2025-02-06 23:09:40 +01:00
christoph bbd700f755 Lib: Move dateformat function to lib 2025-02-06 23:06:21 +01:00
christoph 0b64425284 Lib: Replace the <Dropdown> popup with a native select element + bind the value 2025-02-06 19:48:25 +01:00
christoph c8ce8118cb Lib: Allow binding the <Input> value 2025-02-06 19:47:44 +01:00
christoph 5d6d33fe9f Lib: Remove unused Search component 2025-02-06 16:45:04 +01:00
christoph d76bbe8979 Racepicks: Fetch currentrace at the end in the load function 2025-02-06 00:32:20 +01:00
christoph 3d51ea3e10 RaceResultCard: WIP - Make PXXs reactive based on selected race 2025-02-06 00:01:54 +01:00
christoph 685a30b9a9 Skeleton: Add page titles 2025-02-05 22:33:07 +01:00
christoph 5f43c9ac52 Lib: Use Promise.all for nested {#await} blocks 2025-02-05 22:20:37 +01:00
christoph 894ad9aaa6 Racepicks: Use Promise.all for nested {#await} blocks 2025-02-05 22:14:57 +01:00
christoph 178adef327 Lib: Simplify RaceResultCard 2025-02-05 21:56:41 +01:00
christoph 6947eeae3f Racepicks: Fix width of guess badges 2025-02-05 21:56:32 +01:00
christoph 735c73e435 Racepicks: Stream loaded data and resolve promises in markup 2025-02-05 20:38:28 +01:00
christoph 907e4fefb1 Lib: Type data passed to cards from the page context 2025-02-05 20:14:05 +01:00
christoph 8cb665cae8 Lib: Fix nullpointer in RacePickCard/SubstitutionCard preview handler 2025-02-05 03:01:29 +01:00
christoph da47668c29 Lib: Simplify RacePickCard 2025-02-05 02:56:31 +01:00
christoph f90f5734e8 Lib: Simplify SubstitutionCard 2025-02-05 02:33:46 +01:00
christoph 042cb42e65 Lib: Simplify RaceCard 2025-02-05 02:11:02 +01:00
christoph 2a51c76e2f Lib: Remove caching from dropdown options generators 2025-02-05 01:49:40 +01:00
christoph 206d897fca Lib: Simplify DriverCard 2025-02-05 01:49:30 +01:00
christoph 603c7d0e40 Lib: Simplify TeamCard 2025-02-05 01:48:37 +01:00
christoph 347b5e1470 Racepicks: Fix progressive form enhancement (derive variables correctly) 2025-02-04 23:38:39 +01:00
christoph ecee4ac5ab Skeleton: Use progressive form enhancement for register/login 2025-02-04 23:02:05 +01:00