Browse Source
Merge pull request #192 from mzac/master
Add seconds properties to fields that are missing them
pull/244/head
Hunter Thornsberry
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with
28 additions and
4 deletions
-
src/components/PageComponents/Config/Display.tsx
-
src/components/PageComponents/Config/Position.tsx
-
src/components/PageComponents/ModuleConfig/DetectionSensor.tsx
-
src/components/PageComponents/ModuleConfig/MQTT.tsx
-
src/components/PageComponents/ModuleConfig/NeighborInfo.tsx
-
src/components/PageComponents/ModuleConfig/Paxcounter.tsx
-
src/components/PageComponents/ModuleConfig/RangeTest.tsx
-
src/components/PageComponents/ModuleConfig/Telemetry.tsx
|
|
|
@ -32,7 +32,7 @@ export const Display = (): JSX.Element => { |
|
|
|
label: "Screen Timeout", |
|
|
|
description: "Turn off the display after this long", |
|
|
|
properties: { |
|
|
|
suffix: "seconds", |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
@ -50,6 +50,9 @@ export const Display = (): JSX.Element => { |
|
|
|
name: "autoScreenCarouselSecs", |
|
|
|
label: "Carousel Delay", |
|
|
|
description: "How fast to cycle through windows", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: "toggle", |
|
|
|
|
|
|
|
@ -94,12 +94,18 @@ export const Position = (): JSX.Element => { |
|
|
|
name: "positionBroadcastSecs", |
|
|
|
label: "Broadcast Interval", |
|
|
|
description: "How often your position is sent out over the mesh", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: "number", |
|
|
|
name: "gpsUpdateInterval", |
|
|
|
label: "GPS Update Interval", |
|
|
|
description: "How often a GPS fix should be acquired", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: "number", |
|
|
|
|
|
|
|
@ -38,6 +38,9 @@ export const DetectionSensor = (): JSX.Element => { |
|
|
|
label: "Minimum Broadcast Seconds", |
|
|
|
description: |
|
|
|
"The interval in seconds of how often we can send a message to the mesh when a state change is detected", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
disabledBy: [ |
|
|
|
{ |
|
|
|
fieldName: "enabled", |
|
|
|
|
|
|
|
@ -138,6 +138,9 @@ export const MQTT = (): JSX.Element => { |
|
|
|
name: "mapReportSettings.publishIntervalSecs", |
|
|
|
label: "Map Report Publish Interval (s)", |
|
|
|
description: "Interval in seconds to publish map reports", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
disabledBy: [ |
|
|
|
{ |
|
|
|
fieldName: "enabled", |
|
|
|
|
|
|
|
@ -36,8 +36,11 @@ export const NeighborInfo = (): JSX.Element => { |
|
|
|
type: "number", |
|
|
|
name: "updateInterval", |
|
|
|
label: "Update Interval", |
|
|
|
description: |
|
|
|
description: |
|
|
|
"Interval in seconds of how often we should try to send our Neighbor Info to the mesh", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
disabledBy: [ |
|
|
|
{ |
|
|
|
fieldName: "enabled", |
|
|
|
|
|
|
|
@ -37,6 +37,9 @@ export const Paxcounter = (): JSX.Element => { |
|
|
|
name: "paxcounterUpdateInterval", |
|
|
|
label: "Update Interval (seconds)", |
|
|
|
description: "How long to wait between sending paxcounter packets", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
disabledBy: [ |
|
|
|
{ |
|
|
|
fieldName: "enabled", |
|
|
|
|
|
|
|
@ -37,6 +37,9 @@ export const RangeTest = (): JSX.Element => { |
|
|
|
name: "sender", |
|
|
|
label: "Message Interval", |
|
|
|
description: "How long to wait between sending test packets", |
|
|
|
properties: { |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
disabledBy: [ |
|
|
|
{ |
|
|
|
fieldName: "enabled", |
|
|
|
|
|
|
|
@ -32,7 +32,7 @@ export const Telemetry = (): JSX.Element => { |
|
|
|
label: "Query Interval", |
|
|
|
description: "Interval to get telemetry data", |
|
|
|
properties: { |
|
|
|
suffix: "seconds", |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
@ -41,7 +41,7 @@ export const Telemetry = (): JSX.Element => { |
|
|
|
label: "Update Interval", |
|
|
|
description: "How often to send Metrics over the mesh", |
|
|
|
properties: { |
|
|
|
suffix: "seconds", |
|
|
|
suffix: "Seconds", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
|