Config page updates and fix for #65 (#66)

* Update User.tsx

Fix Issue #65

* Add descriptions and spelling fixes

Start to add descriptions for Module configs Canned message, serial, range test and telemetry.
Fixes for Config pages for Bluetooth, LoRa, Position and Power

* Updates to Power and position config pages

Part of previous commit. Spelling and description updates.

* Revert "Add descriptions and spelling fixes"

This reverts commit to Peers.tsx.

* Module config pages description updates

Additional updates for External Notification and MQTT config pages.
This commit is contained in:
Garrett M
2023-01-02 19:40:02 +11:00
committed by GitHub
parent b6a2d51a28
commit 09c473c3cb
11 changed files with 54 additions and 54 deletions
@@ -81,7 +81,7 @@ export const Bluetooth = (): JSX.Element => {
render={({ field: { value, ...rest } }) => (
<Toggle
label="Enabled"
description="Enable or disbale Bluetooth"
description="Enable or disable Bluetooth"
checked={value}
{...rest}
/>
@@ -138,7 +138,7 @@ export const LoRa = (): JSX.Element => {
render={({ field: { value, ...rest } }) => (
<Toggle
label="Transmit Enabled"
description="Description"
description="Enable/Disable transmit (TX) from the LoRa radio"
checked={value}
{...rest}
/>
@@ -146,7 +146,7 @@ export const Position = (): JSX.Element => {
return (
<BitwiseSelect
label="Position Flags"
description="Description"
description="Configuration options for POSITION messages"
error={error?.message}
selected={value}
decodeEnun={Protobuf.Config_PositionConfig_PositionFlags}
@@ -80,7 +80,7 @@ export const Power = (): JSX.Element => {
render={({ field: { value, ...rest } }) => (
<Toggle
label="Enable power saving mode"
description="Description"
description="Select if powered from a low-current source (i.e. solar), to minimize power consumption as much as possible."
checked={value}
{...rest}
/>
@@ -129,7 +129,7 @@ export const Power = (): JSX.Element => {
</FormSection>
<Input
label="No Connection Bluetooth Disabled"
description="If the device does not revieve a bluetooth connection, the BLE radio will be disabled after this long"
description="If the device does not receive a Bluetooth connection, the BLE radio will be disabled after this long"
suffix="Seconds"
type="number"
error={errors.waitBluetoothSecs?.message}
@@ -85,7 +85,7 @@ export const User = (): JSX.Element => {
<Input
label="Short Name"
description="Shown on small screens."
maxLength={3}
maxLength={4}
{...register("shortName")}
/>
<Input