Changed pavement classification default from 'airport' to 'reported' to help clarify that the number needs to be entered, not the airport ID

This commit is contained in:
handfly 2026-05-15 09:42:23 -04:00
parent 4c3b543536
commit f426885282
3 changed files with 1768 additions and 5 deletions

1766
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -9,11 +9,12 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"npm": "^11.14.1",
"react": "^18", "react": "^18",
"react-dom": "^18" "react-dom": "^18"
}, },
"devDependencies": { "devDependencies": {
"vite": "^7", "@vitejs/plugin-react": "^4",
"@vitejs/plugin-react": "^4" "vite": "^7"
} }
} }

View file

@ -1164,7 +1164,7 @@ const PavementModule = ({ theme, aircraft }) => {
<SegmentedControl options={[{ value: "pcn", label: "PCN" }, { value: "pcr", label: "PCR" }]} value={system} onChange={setSystem} theme={theme} /> <SegmentedControl options={[{ value: "pcn", label: "PCN" }, { value: "pcr", label: "PCR" }]} value={system} onChange={setSystem} theme={theme} />
</div> </div>
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<input type="number" value={airportPavementInput} onChange={(e) => setAirportPavementInput(e.target.value)} placeholder={`Airport ${system.toUpperCase()}`} style={{ ...inputStyle, height: "100%", boxSizing: "border-box", fontSize: "13px", padding: "0 12px", margin: 0 }} {...focus} /> <input type="number" value={airportPavementInput} onChange={(e) => setAirportPavementInput(e.target.value)} placeholder={`Reported ${system.toUpperCase()}`} style={{ ...inputStyle, height: "100%", boxSizing: "border-box", fontSize: "13px", padding: "0 12px", margin: 0 }} {...focus} />
</div> </div>
</div> </div>
</div> </div>