From eeaec77fbb2116877f0b98819ae3718acb43b0bd Mon Sep 17 00:00:00 2001 From: Dominik Broj Date: Tue, 7 Nov 2023 11:08:39 +0100 Subject: [PATCH] Unify Grafana Cloud OnCall wording (#3279) # What this PR does - Unify naming in the app of Grafana Cloud / Cloud OnCall / Grafana Cloud OnCall so that it's always **Grafana Cloud OnCall** - Unify naming the same way in docs ## Which issue(s) this PR fixes https://github.com/grafana/oncall/issues/1468 ## Checklist - [x] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) --- CHANGELOG.md | 5 +++ .../installation-and-setup/index.md | 8 ++-- docs/sources/open-source/_index.md | 6 +-- .../MobileAppConnection.tsx | 6 +-- .../MobileAppConnection.test.tsx.snap | 4 +- .../parts/connectors/PhoneConnector.tsx | 16 ++++---- .../CloudPhoneSettings/CloudPhoneSettings.tsx | 26 ++++++------ .../pages/settings/tabs/Cloud/CloudPage.tsx | 40 ++++++++++--------- grafana-plugin/src/pages/users/Users.tsx | 6 +-- 9 files changed, 62 insertions(+), 55 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e41e1d7..4621c54b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Changed + +- Unify naming of Grafana Cloud / Cloud OnCall / Grafana Cloud OnCall + so that it's always Grafana Cloud OnCall ([#3279](https://github.com/grafana/oncall/pull/3279)) + ## v1.3.54 (2023-11-06) ### Added diff --git a/docs/sources/mobile-app/installation-and-setup/index.md b/docs/sources/mobile-app/installation-and-setup/index.md index d463822d..c20da7d6 100644 --- a/docs/sources/mobile-app/installation-and-setup/index.md +++ b/docs/sources/mobile-app/installation-and-setup/index.md @@ -44,14 +44,14 @@ To access your QR code: 1. Navigate to the **Users** tab, then tap **View my profile** 1. tap **Mobile app connection** in your profile ->**Note**: The QR code will timeout for security purposes - Screenshots of the QR code are unlikely to work for authentication. +> **Note**: The QR code will timeout for security purposes - Screenshots of the QR code are unlikely to work for authentication. ### Connect to your open source Grafana OnCall account -Grafana OnCall OSS relies on Grafana Cloud as on relay for push notifications. -You must first connect your Grafana OnCall OSS to Grafana Cloud for the mobile app to work. +Grafana OnCall OSS relies on Grafana Cloud OnCall as on relay for push notifications. +You must first connect your Grafana OnCall OSS to Grafana Cloud OnCall for the mobile app to work. -To connect to Grafana Cloud, refer to the Cloud page in your OSS Grafana OnCall instance. +To connect to Grafana Cloud OnCall, refer to the Cloud page in your OSS Grafana OnCall instance. For Grafana OnCall OSS, the QR code includes an authentication token along with a backend URL. Your Grafana OnCall OSS instance should be reachable from the same network as your mobile device, preferably from the internet. diff --git a/docs/sources/open-source/_index.md b/docs/sources/open-source/_index.md index 11107e4d..ae0ca4bb 100644 --- a/docs/sources/open-source/_index.md +++ b/docs/sources/open-source/_index.md @@ -197,13 +197,13 @@ Refer to the following steps to configure the Telegram integration: ## Grafana OSS-Cloud Setup -The benefits of connecting to Grafana Cloud include: +The benefits of connecting to Grafana Cloud OnCall include: -- Cloud OnCall could monitor OSS OnCall uptime using heartbeat +- Grafana Cloud OnCall could monitor OSS OnCall uptime using heartbeat - SMS for user notifications - Phone calls for user notifications. -To connect to Grafana Cloud, refer to the **Cloud** page in your OSS Grafana OnCall instance. +To connect to Grafana Cloud OnCall, refer to the **Cloud** page in your OSS Grafana OnCall instance. ## Supported Phone Providers diff --git a/grafana-plugin/src/containers/MobileAppConnection/MobileAppConnection.tsx b/grafana-plugin/src/containers/MobileAppConnection/MobileAppConnection.tsx index 1a293c5b..4e87938f 100644 --- a/grafana-plugin/src/containers/MobileAppConnection/MobileAppConnection.tsx +++ b/grafana-plugin/src/containers/MobileAppConnection/MobileAppConnection.tsx @@ -45,15 +45,15 @@ const MobileAppConnection = observer(({ userPk }: Props) => { return ( - Please connect Cloud OnCall to use the mobile app + Please connect Grafana Cloud OnCall to use the mobile app diff --git a/grafana-plugin/src/containers/MobileAppConnection/__snapshots__/MobileAppConnection.test.tsx.snap b/grafana-plugin/src/containers/MobileAppConnection/__snapshots__/MobileAppConnection.test.tsx.snap index b583c4b8..1f46a2a3 100644 --- a/grafana-plugin/src/containers/MobileAppConnection/__snapshots__/MobileAppConnection.test.tsx.snap +++ b/grafana-plugin/src/containers/MobileAppConnection/__snapshots__/MobileAppConnection.test.tsx.snap @@ -2901,7 +2901,7 @@ exports[`MobileAppConnection it shows a warning when cloud is not connected 1`] - Please connect Cloud OnCall to use the mobile app + Please connect Grafana Cloud OnCall to use the mobile app
- Connect Cloud OnCall + Connect Grafana Cloud OnCall diff --git a/grafana-plugin/src/containers/UserSettings/parts/connectors/PhoneConnector.tsx b/grafana-plugin/src/containers/UserSettings/parts/connectors/PhoneConnector.tsx index 434a9ba9..aa35f74e 100644 --- a/grafana-plugin/src/containers/UserSettings/parts/connectors/PhoneConnector.tsx +++ b/grafana-plugin/src/containers/UserSettings/parts/connectors/PhoneConnector.tsx @@ -35,11 +35,11 @@ const PhoneConnector = (props: PhoneConnectorProps) => { - + - + ); @@ -49,7 +49,7 @@ const PhoneConnector = (props: PhoneConnectorProps) => { @@ -63,11 +63,11 @@ const PhoneConnector = (props: PhoneConnectorProps) => { - + ); case 3: @@ -76,7 +76,7 @@ const PhoneConnector = (props: PhoneConnectorProps) => { @@ -90,7 +90,7 @@ const PhoneConnector = (props: PhoneConnectorProps) => { label="Phone" disabled={true} labelWidth={12} - tooltip={'OnCall uses Grafana Cloud for SMS and phone call notifications'} + tooltip={'OnCall uses Grafana Cloud OnCall for SMS and phone call notifications'} > diff --git a/grafana-plugin/src/containers/UserSettings/parts/tabs/CloudPhoneSettings/CloudPhoneSettings.tsx b/grafana-plugin/src/containers/UserSettings/parts/tabs/CloudPhoneSettings/CloudPhoneSettings.tsx index 29809d02..405582f6 100644 --- a/grafana-plugin/src/containers/UserSettings/parts/tabs/CloudPhoneSettings/CloudPhoneSettings.tsx +++ b/grafana-plugin/src/containers/UserSettings/parts/tabs/CloudPhoneSettings/CloudPhoneSettings.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from 'react'; -import { Button, VerticalGroup, LoadingPlaceholder } from '@grafana/ui'; +import { Button, LoadingPlaceholder, VerticalGroup } from '@grafana/ui'; import { observer } from 'mobx-react'; import PluginLink from 'components/PluginLink/PluginLink'; @@ -53,10 +53,10 @@ const CloudPhoneSettings = observer((props: CloudPhoneSettingsProps) => { case 0: return ( - Cloud notifications enabled, but Grafana Cloud instance is not connected. + Cloud notifications enabled, but Grafana Cloud OnCall instance is not connected. @@ -65,11 +65,11 @@ const CloudPhoneSettings = observer((props: CloudPhoneSettingsProps) => { return ( - We can’t find a matching account in the connected Grafana Cloud instance (matching by e-mail + We can’t find a matching account in the connected Grafana Cloud OnCall instance (matching by e-mail {email && ': ' + email}). ); @@ -77,10 +77,10 @@ const CloudPhoneSettings = observer((props: CloudPhoneSettingsProps) => { return ( - Your account successfully matched with the Grafana Cloud account. Please verify your phone number.{' '} + Your account successfully matched with the Grafana Cloud OnCall account. Please verify your phone number.{' '} ); @@ -88,10 +88,10 @@ const CloudPhoneSettings = observer((props: CloudPhoneSettingsProps) => { return ( - Your account successfully matched with the Grafana Cloud account. Your phone number is verified.{' '} + Your account successfully matched with the Grafana Cloud OnCall account. Your phone number is verified.{' '} ); @@ -99,11 +99,11 @@ const CloudPhoneSettings = observer((props: CloudPhoneSettingsProps) => { return ( - We can’t find a matching account in the connected Grafana Cloud instance (matching by e-mail + We can’t find a matching account in the connected Grafana Cloud OnCall instance (matching by e-mail {email && ': ' + email}). ); @@ -113,10 +113,10 @@ const CloudPhoneSettings = observer((props: CloudPhoneSettingsProps) => { return ( - OnCall uses Grafana Cloud for SMS and phone call notifications + OnCall uses Grafana Cloud OnCall for SMS and phone call notifications {syncing ? (