verbiage updates

This commit is contained in:
gabrielburnworth 2017-10-03 22:17:02 -07:00
parent fc56137cee
commit c75686261d
6 changed files with 8 additions and 7 deletions

View file

@ -316,7 +316,7 @@ export namespace Content {
refreshing the page.`.replace(/\s+/g, " ");
export const MQTT_DISCONNECTED =
`Your web browser is unable to connect to the message broker (MQTT).
`Your web browser is unable to connect to the message broker.
You might be behind a firewall or disconnected from the Internet. Check
your network settings.`.replace(/\s+/g, " ");

View file

@ -115,7 +115,7 @@ export class Move extends React.Component<MoveProps, {}> {
</WidgetHeader>
<WidgetBody>
<MustBeOnline
fallback="Bot is offline."
fallback="FarmBot is offline."
lockOpen={process.env.NODE_ENV !== "production"}
status={sync_status}>
<label className="text-center">

View file

@ -15,7 +15,8 @@ export namespace DiagnosticMessages {
connected to the internet (or have been recently). Try rebooting FarmBot
and refreshing the browser. If the issue persists, something may be
preventing FarmBot from accessing the message broker (used to communicate
with your web browser in real-time). Is a firewall blocking port 8888?`);
with your web browser in real-time). If you are on a company or school
network, a firewall may be blocking port 1883.`);
export const WIFI_OR_CONFIG = trim(`Your browser is connected correctly,
but we have no recent record of FarmBot connecting to the internet.

View file

@ -139,7 +139,7 @@ export function ConnectivityDiagram(props: ConnectivityDiagramProps) {
{nodeLabel("Browser", DiagramNodes.browser)}
{nodeLabel("Web App", DiagramNodes.API)}
{nodeLabel("Message Broker", DiagramNodes.MQTT)}
{nodeLabel("Bot", DiagramNodes.bot)}
{nodeLabel("FarmBot", DiagramNodes.bot)}
{nodeLabel("Raspberry Pi", DiagramNodes.RPI, "end")}
{nodeLabel(board, DiagramNodes.arduino, "start")}
</g>

View file

@ -11,7 +11,7 @@ export function botToAPI(lastSeen: moment.Moment | undefined,
const status: StatusRowProps = {
connectionName: "botAPI",
from: "Bot",
from: "FarmBot",
to: "Web App",
connectionStatus: false,
children: "We have not seen messages from FarmBot yet."
@ -31,7 +31,7 @@ const NOT_SEEN = "We are not seeing any realtime messages from the bot right now
export function botToMQTT(stat: ConnectionStatus | undefined): StatusRowProps {
return {
connectionName: "botMQTT",
from: "Bot",
from: "FarmBot",
to: "Message Broker",
connectionStatus: !!(stat && stat.state === "up"),
children: stat ?

View file

@ -82,7 +82,7 @@ export function StepButtonCluster({ dispatch, current }: StepButtonProps) {
step={{
kind: "send_message",
args: {
message: "Bot is at position {{ x }}, {{ y }}, {{ z }}.",
message: "FarmBot is at position {{ x }}, {{ y }}, {{ z }}.",
message_type: "success"
}
}}