diff --git a/src/lib/compatibility-meta.json b/src/lib/compatibility-meta.json index 6b0c7279..bd60269f 100644 --- a/src/lib/compatibility-meta.json +++ b/src/lib/compatibility-meta.json @@ -1,3 +1,3 @@ { - "last_updated": "June 13, 2026" + "last_updated": "June 21, 2026" } \ No newline at end of file diff --git a/src/lib/utils/harnesses.js b/src/lib/utils/harnesses.js index ab8091a3..d367c649 100644 --- a/src/lib/utils/harnesses.js +++ b/src/lib/utils/harnesses.js @@ -44,6 +44,7 @@ async function initializeHarnesses() { backordered: harness?.backordered, // these overrides are only shown if the harness is out of stock in Shopify setupNotes: model.setup_notes, setupVideo: model.setup_video, + requiresCommaPower: model.requires_comma_power === true, }; }).filter(Boolean); }); diff --git a/src/lib/vehicles.json b/src/lib/vehicles.json index 383a7646..842e54c6 100644 --- a/src/lib/vehicles.json +++ b/src/lib/vehicles.json @@ -3336,7 +3336,9 @@ "footnotes": [ ], "setup_notes": [ - ] + "Mazda vehicles \u003cb\u003erequire\u003c/b\u003e comma power installation." + ], + "requires_comma_power": true }, { "name": "Mazda CX-9 2021-23", @@ -3351,7 +3353,9 @@ "footnotes": [ ], "setup_notes": [ - ] + "Mazda vehicles \u003cb\u003erequire\u003c/b\u003e comma power installation." + ], + "requires_comma_power": true } ], "Nissan": [ diff --git a/src/routes/setup/+page.svelte b/src/routes/setup/+page.svelte index 65084b91..ed95970c 100644 --- a/src/routes/setup/+page.svelte +++ b/src/routes/setup/+page.svelte @@ -38,6 +38,8 @@ const handleHarnessSelection = (value) => { selectedVehicle = value; } + $: requiresCommaPower = selectedVehicle?.requiresCommaPower === true; + $: totalSteps = requiresCommaPower ? 6 : 5; function getVideoEmbedSrc(videoLink) { const url = new URL(videoLink); @@ -71,7 +73,7 @@
- Pair your comma four with connect.comma.ai on your phone to see your recorded drives. + {#if requiresCommaPower} + Installing comma power is required for this vehicle. + {:else} + Installing the comma power is entirely optional and can be done at any time. + {/if} + Simply connect one end to your car's OBD-II port and the other to the harness box.
-+ With a comma power: +
+- Installing the comma power is entirely optional and can be done at any time. - Simply connect one end to your car's OBD-II port and the other to the harness box. -
-- With a comma power: + Pair your comma four with connect.comma.ai on your phone to see your recorded drives.
-