Commit Graph

38 Commits

Author SHA1 Message Date
0b64425284 Lib: Replace the <Dropdown> popup with a native select element + bind the value 2025-02-06 19:48:25 +01:00
3d51ea3e10 RaceResultCard: WIP - Make PXXs reactive based on selected race 2025-02-06 00:01:54 +01:00
5f43c9ac52 Lib: Use Promise.all for nested {#await} blocks 2025-02-05 22:20:37 +01:00
178adef327 Lib: Simplify RaceResultCard 2025-02-05 21:56:41 +01:00
735c73e435 Racepicks: Stream loaded data and resolve promises in markup 2025-02-05 20:38:28 +01:00
907e4fefb1 Lib: Type data passed to cards from the page context 2025-02-05 20:14:05 +01:00
8cb665cae8 Lib: Fix nullpointer in RacePickCard/SubstitutionCard preview handler 2025-02-05 03:01:29 +01:00
da47668c29 Lib: Simplify RacePickCard 2025-02-05 02:56:31 +01:00
f90f5734e8 Lib: Simplify SubstitutionCard 2025-02-05 02:33:46 +01:00
042cb42e65 Lib: Simplify RaceCard 2025-02-05 02:11:02 +01:00
206d897fca Lib: Simplify DriverCard 2025-02-05 01:49:30 +01:00
603c7d0e40 Lib: Simplify TeamCard 2025-02-05 01:48:37 +01:00
887a9ea2ae Lib: Use progressive form enhancement for all cards 2025-02-04 23:01:35 +01:00
b586a9ee23 Lib: Only display active/inactive drivers in SubstitutionCard dropdowns 2025-02-04 21:56:08 +01:00
479d8aaec5 Lib: Display PXX in RaceResultCard selection chips 2025-02-04 21:22:17 +01:00
efc33d6f20 Lib: Fix TeamCard colorpreview 2025-02-03 23:40:18 +01:00
4cdc7713c8 Lib: Force length 7 for color input in TeamCard 2025-02-03 22:32:59 +01:00
6dd3f24d32 Lib: Move dropdown options creation into library 2025-02-03 19:39:33 +01:00
2efd12a28d Lib: Implement RaceResultCard 2025-02-03 09:32:34 +01:00
46124cd9ec Lib: Add comment 2025-02-03 09:06:46 +01:00
4c8bfc1133 Lib: Fix typo in DriverCard 2025-01-31 23:18:57 +01:00
25e41f7ae4 Lib: Fix disabled_inputs propagation to create team/driver/race/substitution buttons 2025-01-31 22:19:11 +01:00
5c75728163 Lib: Make RacePickCard labelwidth smaller 2025-01-31 00:56:47 +01:00
aee0da174d Lib: Add RacePickCard component 2025-01-27 23:47:10 +01:00
36c2789304 All: Replace <b> with <span class="font-bold"> 2025-01-27 19:38:08 +01:00
999cf5bf16 Lib: Remove LazyCard component 2025-01-25 16:27:56 +01:00
bcd8f3dfb5 Lib: Close Team/Driver/Race/Substitution cards when clicking on the image 2024-12-27 19:43:36 +01:00
00a577520c Lib: Allow to pass an onclick handler for the card image 2024-12-27 19:43:16 +01:00
80d2fe2297 Lib: Load modal meta data required for "create" driver/race/team/substitution cards 2024-12-27 19:35:47 +01:00
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
e4a4a15367 Data/Season: Add create team button 2024-12-23 17:32:45 +01:00
29eb59a983 Lib: Read disable_inputs from modalStore meta for driver-/race-/substitution-/team-card 2024-12-23 16:47:46 +01:00
a4c2461471 Lib: Make race-/substitution-card buttons fill the card width 2024-12-23 16:15:27 +01:00
392e61ca49 Lib: Make driver-/race-/team- and substitution-card non-lazy 2024-12-23 16:15:27 +01:00
471163de2f Lib: Update lazycard props name to differentiate from non-lazy card 2024-12-23 16:15:27 +01:00
a23f12b69f Lib: Add non-lazy variants for card, image and dropdown 2024-12-23 16:15:27 +01:00
68d9d7e60d Lib: Move teamcard into cards/ + implement new team schema 2024-12-23 16:15:27 +01:00
b3629fbe95 Lib: Move cards into cards/ directory 2024-12-23 16:15:27 +01:00