mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-20 16:52:10 +08:00
@@ -40,25 +40,10 @@ TESTING_GROUNDS_SLOT_DEFINITIONS = (
|
||||
},
|
||||
{
|
||||
"id": TESTING_GROUND_2,
|
||||
"name": "Offset Testing",
|
||||
"description": "All GM non-linear torque cars: sigmoid d offset sweep for both left/right (-0.100 to +0.100). A proper offset should see near-zero I term in Plots.",
|
||||
"aLabel": "A - Installed tune",
|
||||
"bLabel": "B - d -0.030",
|
||||
"cLabel": "C - d -0.040",
|
||||
"dLabel": "D - d -0.050",
|
||||
"eLabel": "E - d -0.060",
|
||||
"fLabel": "F - d -0.070",
|
||||
"gLabel": "G - d -0.080",
|
||||
"hLabel": "H - d -0.090",
|
||||
"iLabel": "I - d -0.100",
|
||||
"jLabel": "J - d +0.030",
|
||||
"kLabel": "K - d +0.040",
|
||||
"lLabel": "L - d +0.050",
|
||||
"mLabel": "M - d +0.060",
|
||||
"nLabel": "N - d +0.070",
|
||||
"oLabel": "O - d +0.080",
|
||||
"pLabel": "P - d +0.090",
|
||||
"qLabel": "Q - d +0.100",
|
||||
"name": "Unused",
|
||||
"description": "",
|
||||
"aLabel": "A",
|
||||
"bLabel": "B",
|
||||
},
|
||||
{
|
||||
"id": TESTING_GROUND_3,
|
||||
|
||||
@@ -76,16 +76,6 @@
|
||||
margin: 0 0 var(--margin-xs);
|
||||
}
|
||||
|
||||
.testingGroundPlotsLink {
|
||||
margin-top: var(--margin-xs);
|
||||
}
|
||||
|
||||
.testingGroundInlineLink {
|
||||
color: var(--main-fg);
|
||||
font-size: var(--font-size-sm);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.testingGroundMuted {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { html, reactive } from "https://esm.sh/@arrow-js/core"
|
||||
import { Link } from "/assets/components/router.js"
|
||||
|
||||
const state = reactive({
|
||||
loading: true,
|
||||
@@ -46,10 +45,6 @@ function getActiveSlot() {
|
||||
return slots.find((slot) => slotId(slot) === activeId) || null
|
||||
}
|
||||
|
||||
function isOffsetTestingSlot(slot) {
|
||||
return String(slot?.id || "").trim() === "2"
|
||||
}
|
||||
|
||||
function getVariantLabels(slot) {
|
||||
if (!slot || typeof slot !== "object") {
|
||||
return { A: "A" }
|
||||
@@ -262,10 +257,6 @@ export function TestingGround() {
|
||||
<div class="testingGroundDetails">
|
||||
<h3>${getSelectedSlot().name}</h3>
|
||||
${() => getSelectedSlot().description ? html`<p>${getSelectedSlot().description}</p>` : ""}
|
||||
${() => isOffsetTestingSlot(getSelectedSlot())
|
||||
? html`<p class="testingGroundPlotsLink">${Link("/plots", html`Open Plots to watch I term`, null, "testingGroundInlineLink")}</p>`
|
||||
: ""
|
||||
}
|
||||
</div>
|
||||
` : ""}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user