From 23e7656a583b201341108bf77ff9d2d4ac9f62a0 Mon Sep 17 00:00:00 2001 From: Carl Henderson Date: Fri, 8 Dec 2023 17:37:28 -0500 Subject: [PATCH] chore: replace blues.io with blues.com (#126) * chore: replace blues.io with blues.com * and nix a "Wireless" too --- README.md | 7 ++++--- cypress/integration/homepage.spec.js | 4 ++-- src/components/layout/Footer.tsx | 4 ++-- src/constants/ui.ts | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index de1a56e..30d01b2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🐦 Sparrow Reference Web App -An example web application to configure and view sensor data from Blues Wireless Sparrow devices. +An example web application to configure and view sensor data from Blues Sparrow devices. - [🐦 Sparrow Reference Web App](#-sparrow-reference-web-app) - [Development Overview](#development-overview) @@ -16,7 +16,8 @@ An example web application to configure and view sensor data from Blues Wireless - [Create a tunnel to a server running the reference app](#create-a-tunnel-to-a-server-running-the-reference-app) - [Localtunnel](#localtunnel) - [Ngrok](#ngrok) - - [Set up a Notehub route to your tunnel](#set-up-a-notehub-route-to-your-tunnel) + - [Set up a Notehub route and dashboard URL to your tunnel](#set-up-a-notehub-route-and-dashboard-url-to-your-tunnel) + - [Set up a Project Dashboard URL to your tunnel](#set-up-a-project-dashboard-url-to-your-tunnel) - [Database](#database) - [Create the database](#create-the-database) - [Custom PostgreSQL Server](#custom-postgresql-server) @@ -548,4 +549,4 @@ yarn cypress:open If you run into any issues using this repo, feel free to create an [issue](issues/new) on this repository, or to reach out on our developer -[forum](https://discuss.blues.io/). +[forum](https://discuss.blues.com/). diff --git a/cypress/integration/homepage.spec.js b/cypress/integration/homepage.spec.js index 1e6df82..a537637 100755 --- a/cypress/integration/homepage.spec.js +++ b/cypress/integration/homepage.spec.js @@ -17,10 +17,10 @@ describe("Sparrow Application", () => { // Check footer links are correct cy.get('[data-testid="notecard-link"]') .should("have.attr", "href") - .and("include", "https://blues.io/products"); + .and("include", "https://blues.com/products"); cy.get('[data-testid="blues-link"]') .should("have.attr", "href") - .and("include", "https://blues.io"); + .and("include", "https://blues.com"); }); it("should be able to click on a gateway UID and see the details of that gateway and its related nodes", function () { diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index b965324..99661b1 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -13,7 +13,7 @@ const FooterComponent = () => { @@ -34,7 +34,7 @@ const FooterComponent = () => { diff --git a/src/constants/ui.ts b/src/constants/ui.ts index 9a2f642..32cb5f0 100644 --- a/src/constants/ui.ts +++ b/src/constants/ui.ts @@ -42,7 +42,7 @@ const ERROR_MESSAGE = { GATEWAY_NOT_FOUND: "We were unable to locate any gateways. Ensure your environment variables are configured correctly.", INTERNAL_ERROR: - "An internal error occurred. If this problem persists, contact Blues Support.", + "An internal error occurred. If this problem persists, contact Blues Support.", UNAUTHORIZED: "Authentication failed. Please ensure you have a valid HUB_AUTH_TOKEN environment variable.", NODES_NOT_FOUND: