Commit Graph
100 Commits
Author SHA1 Message Date
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
christoph 022054c1f1 Racepicks: Use progressive form enhancement for racepicks 2025-02-04 23:01:54 +01:00
christoph 887a9ea2ae Lib: Use progressive form enhancement for all cards 2025-02-04 23:01:35 +01:00
christoph 09519c18fa Racepicks: Only allow picking active drivers and apply substitutions 2025-02-04 21:56:30 +01:00
christoph b586a9ee23 Lib: Only display active/inactive drivers in SubstitutionCard dropdowns 2025-02-04 21:56:08 +01:00
christoph d6ea629d32 Lib: Don't cache driver dropdown options 2025-02-04 21:55:46 +01:00
christoph 31749f6e0f Skeleton: Limit username input to 10 characters 2025-02-04 21:22:26 +01:00
christoph 479d8aaec5 Lib: Display PXX in RaceResultCard selection chips 2025-02-04 21:22:17 +01:00
christoph df993f61bc Racepicks: Set a min width for the guess table columns 2025-02-04 09:14:26 +01:00
christoph d33c663c06 Racepicks: Increase race result popup z-index so it doesn't get hidden by navbar 2025-02-04 09:12:23 +01:00
christoph 2c0ad9ee21 Rules: Add basic text boxes 2025-02-03 23:51:32 +01:00
christoph d0870eb06e Racepicks: Add comment 2025-02-03 23:40:26 +01:00
christoph efc33d6f20 Lib: Fix TeamCard colorpreview 2025-02-03 23:40:18 +01:00
christoph 346fdb3b75 Skeleton: Fetch static data (teams/drivers/races/substitutions) in global layout asynchronously 2025-02-03 22:34:07 +01:00
christoph 3bb2e318b1 Lib: Specify missing HTMLButtonAttributes explicitly 2025-02-03 22:33:22 +01:00
christoph 4cdc7713c8 Lib: Force length 7 for color input in TeamCard 2025-02-03 22:32:59 +01:00
christoph 8db2b634d3 Lib: Add helpers to obtain certain template graphics 2025-02-03 21:31:21 +01:00
christoph 0dc5e63e25 Lib: Use <a> for button component's href mode (fixes preloading) 2025-02-03 21:31:04 +01:00
christoph 6dd3f24d32 Lib: Move dropdown options creation into library 2025-02-03 19:39:33 +01:00
christoph 49c08eeead Data/Raceresults: Implement entering race results 2025-02-03 09:32:53 +01:00
christoph 2efd12a28d Lib: Implement RaceResultCard 2025-02-03 09:32:34 +01:00
christoph 186e6430e0 Lib: Fix bug in form_data_remove (keys where deleted while iterating) 2025-02-03 09:25:53 +01:00
christoph 46124cd9ec Lib: Add comment 2025-02-03 09:06:46 +01:00
christoph 09054d2134 Lib: Implement helper to remove formData fields 2025-02-03 09:06:34 +01:00
christoph eb7e3c67a5 Env: Update skeleton + svelte 2025-02-03 09:06:12 +01:00
christoph 7bbd38d807 Racepicks: Update guess table styling 2025-02-03 09:05:44 +01:00
christoph c299cd626e Workflow: Update formula11 dockerfile 2025-02-02 23:03:05 +01:00
christoph 00d3330262 Env: Move sharp back to dependencies (shouldn't get bundled as devDependency) 2025-02-02 23:02:55 +01:00
christoph 999081f6d2 Workflow: Update formula11 dockerfile 2025-02-02 22:45:03 +01:00
christoph 7cb8402b39 Workflow: Update formula11 dockerfile 2025-02-02 22:43:03 +01:00
christoph 16b9b1343b Env: Remove empty dependencies from package.json 2025-02-02 22:42:54 +01:00
christoph 743ca7ad2d Env: Update check command 2025-02-02 22:42:42 +01:00
christoph 2a87228654 Hooks: Update pocketbase URL 2025-02-02 22:28:00 +01:00
christoph d54d75576d Workflow: Fix formula11 workflow steps 2025-02-02 21:36:13 +01:00
christoph 44cd03eec4 Workflow: Add formula11 docker workflow 2025-02-02 21:34:09 +01:00
christoph 53c7f6c669 Env: Move all node dependencies into devDependencies 2025-02-02 21:27:39 +01:00
christoph 6ef94372fd Workflow: Lock alpine version for pocketbase image 2025-02-02 20:56:40 +01:00
christoph 463a784c74 Workflow: Remove PB_VERSION variable 2025-02-02 20:53:29 +01:00
christoph defd20e8f9 Workflow: Rewrite build command 2025-02-02 20:52:05 +01:00
christoph a2aced39b3 Workflow: Fix multiline run 2025-02-02 20:49:48 +01:00
christoph 964ba6bdce Workflow: Fix pocketbase workflow branch name 2025-02-02 20:49:35 +01:00
christoph 02879f0787 Workflow: Update pocketbase workflow steps 2025-02-02 20:49:35 +01:00
christoph 8d0ba8bfe4 Workflow: Add pocketbase docker workflow 2025-02-02 20:49:35 +01:00
christoph 11935f26f0 Hooks: Use PB host/port from env variables if defined 2025-02-02 20:08:26 +01:00
christoph ca8fb7dc25 Data/Raceresults: Add missing create result handler to button 2025-01-31 23:23:23 +01:00
christoph 2add774fef Racepicks: Center result popup driver codes 2025-01-31 23:22:57 +01:00
christoph 4c8bfc1133 Lib: Fix typo in DriverCard 2025-01-31 23:18:57 +01:00
christoph 45929e5775 Data/Raceresults: Use guess colorings pxx/dnf badges 2025-01-31 23:14:20 +01:00
christoph bc6d9e7612 Lib: Move pxx guess colorings into config.ts 2025-01-31 23:13:44 +01:00
christoph 43b0fd9aa2 Data/Raceresults: Implement initial raceresult display table 2025-01-31 22:56:06 +01:00
christoph 25e41f7ae4 Lib: Fix disabled_inputs propagation to create team/driver/race/substitution buttons 2025-01-31 22:19:11 +01:00
christoph 14001be46c Racepicks: Update table styling 2025-01-31 22:16:27 +01:00
christoph a3bdd8cbbd Racepicks: Center countdown horizontally 2025-01-31 01:00:05 +01:00
christoph c6f2213d5c Racepicks: Update accordion width + breakpoints 2025-01-31 00:59:00 +01:00
christoph 30d4693846 Racepicks: Center driver codes in guess table 2025-01-31 00:56:57 +01:00
christoph 5c75728163 Lib: Make RacePickCard labelwidth smaller 2025-01-31 00:56:47 +01:00
christoph 01d58e3d1e App: Use /racepicks as default page (reroute / + change Formula11 button destination) 2025-01-31 00:49:26 +01:00
christoph 0985936c64 Lib: Hide seconds in countdown component 2025-01-31 00:40:53 +01:00
christoph c222b2a63f Racepicks: Add pxx/dnf separator in result popup + format racedate + display race pxx 2025-01-31 00:39:04 +01:00
christoph 4330bed94d Racepicks: Highlight logged in users guess column in red 2025-01-31 00:31:52 +01:00
christoph 97013e335e Racepicks: Display relevant race results when clicking on race 2025-01-31 00:31:40 +01:00
christoph 4425b8eb6b Racepicks: Add points color legend 2025-01-31 00:02:13 +01:00
christoph e5b43ad4f2 Racepicks: Color past picks based on raceresults 2025-01-30 23:35:11 +01:00
christoph 53c4462599 Racepicks: Improve overview race step styling + add countdown 2025-01-30 22:36:49 +01:00
christoph f4b89ec839 Lib: Implement countdown component 2025-01-30 22:33:52 +01:00
christoph b4931611b3 Lib: Add stopwatch svg icon component 2025-01-30 22:33:44 +01:00
christoph 261b761069 Racepicks: Make margins on small screens more consistent 2025-01-30 21:17:03 +01:00
christoph 2dc170561d Users: Display driver headshot template if user doesn't have avatar 2025-01-30 21:08:59 +01:00
christoph 6ebe30e949 Racepicks: Fix races + guesses vertical alignment on smaller screens 2025-01-29 00:42:28 +01:00
christoph abb4452d9c Racepicks: Justify overview cards 2025-01-29 00:32:18 +01:00