Fix descriptions
This commit is contained in:
@@ -76,7 +76,7 @@ export const Bluetooth = (): JSX.Element => {
|
||||
render={({ field: { value, ...rest } }) => (
|
||||
<Toggle
|
||||
label="Enabled"
|
||||
description="Description"
|
||||
description="Enable or disbale Bluetooth"
|
||||
checked={value}
|
||||
{...rest}
|
||||
/>
|
||||
@@ -84,7 +84,7 @@ export const Bluetooth = (): JSX.Element => {
|
||||
/>
|
||||
<Select
|
||||
label="Pairing mode"
|
||||
description="This is a description."
|
||||
description="Pin selection behaviour."
|
||||
{...register("mode", { valueAsNumber: true })}
|
||||
>
|
||||
{renderOptions(Protobuf.Config_BluetoothConfig_PairingMode)}
|
||||
@@ -95,7 +95,7 @@ export const Bluetooth = (): JSX.Element => {
|
||||
pairingMode !== Protobuf.Config_BluetoothConfig_PairingMode.FIXED_PIN
|
||||
}
|
||||
label="Pin"
|
||||
description="This is a description."
|
||||
description="Pin to use when pairing"
|
||||
type="number"
|
||||
{...register("fixedPin", {
|
||||
valueAsNumber: true,
|
||||
|
||||
@@ -94,7 +94,7 @@ export const LoRa = (): JSX.Element => {
|
||||
</Select>
|
||||
<Input
|
||||
label="Bandwidth"
|
||||
description="Max transmit power in dBm"
|
||||
description="Channel bandwidth in MHz"
|
||||
type="number"
|
||||
suffix="MHz"
|
||||
error={errors.bandwidth?.message}
|
||||
@@ -105,7 +105,7 @@ export const LoRa = (): JSX.Element => {
|
||||
/>
|
||||
<Input
|
||||
label="Spread Factor"
|
||||
description="Max transmit power in dBm"
|
||||
description="Indicates the number of chirps per symbol"
|
||||
type="number"
|
||||
suffix="CPS"
|
||||
error={errors.spreadFactor?.message}
|
||||
@@ -116,7 +116,7 @@ export const LoRa = (): JSX.Element => {
|
||||
/>
|
||||
<Input
|
||||
label="Coding Rate"
|
||||
description="Max transmit power in dBm"
|
||||
description="The denominator of the coding rate"
|
||||
type="number"
|
||||
error={errors.codingRate?.message}
|
||||
{...register("codingRate", {
|
||||
@@ -140,7 +140,7 @@ export const LoRa = (): JSX.Element => {
|
||||
/>
|
||||
<Select
|
||||
label="Region"
|
||||
description="This is a description."
|
||||
description="Sets the region for your node"
|
||||
{...register("region", { valueAsNumber: true })}
|
||||
>
|
||||
{renderOptions(Protobuf.Config_LoRaConfig_RegionCode)}
|
||||
@@ -161,7 +161,7 @@ export const LoRa = (): JSX.Element => {
|
||||
/>
|
||||
<Input
|
||||
label="Frequency Offset"
|
||||
description="This is a description."
|
||||
description="Frequency offset to correct for crystal calibration errors"
|
||||
suffix="Hz"
|
||||
type="number"
|
||||
error={errors.frequencyOffset?.message}
|
||||
@@ -170,7 +170,7 @@ export const LoRa = (): JSX.Element => {
|
||||
</FormSection>
|
||||
<Input
|
||||
label="Hop Limit"
|
||||
description="This is a description."
|
||||
description="Maximum number of hops"
|
||||
suffix="Hops"
|
||||
type="number"
|
||||
error={errors.hopLimit?.message}
|
||||
|
||||
Reference in New Issue
Block a user