Skip to content

Commit 69bf2cb

Browse files
committed
console: Add lora cloud banner
1 parent e949964 commit 69bf2cb

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

pkg/webui/console/views/application-integrations-lora-cloud/index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import Breadcrumb from '@ttn-lw/components/breadcrumbs/breadcrumb'
2626
import { useBreadcrumbs } from '@ttn-lw/components/breadcrumbs/context'
2727
import Link from '@ttn-lw/components/link'
2828
import Collapse from '@ttn-lw/components/collapse'
29+
import Notification from '@ttn-lw/components/notification'
2930

3031
import Message from '@ttn-lw/lib/components/message'
3132
import ErrorView from '@ttn-lw/lib/components/error-view'
@@ -57,6 +58,8 @@ const m = defineMessages({
5758
'With the LoRa Cloud Modem and Geolocation Services protocol, you can manage common device functionality at the application layer for LoRaWAN-enabled devices.',
5859
glsDescription:
5960
'LoRa Cloud Geolocation is a simple cloud API that can be easily integrated with The Things Stack to enable estimating the location of any LoRa-based device.',
61+
loraSupportTitle: 'LoRa Cloud support',
62+
loraSupport: 'The support for this integration will be dropped after July.',
6063
})
6164

6265
const LoRaCloud = () => {
@@ -89,6 +92,13 @@ const LoRaCloud = () => {
8992
>
9093
<ErrorView errorRender={SubViewError}>
9194
<div className="container container--xl grid">
95+
<Notification
96+
warning
97+
content={m.loraSupport}
98+
title={m.loraSupportTitle}
99+
small
100+
className="item-12"
101+
/>
92102
<PageTitle title="LoRa Cloud Modem and Geolocation Services" />
93103
<div className="item-12">
94104
<img

pkg/webui/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,8 @@
951951
"console.views.application-integrations-lora-cloud.index.officialLoRaCloudDocumentation": "Official LoRa Cloud documentation",
952952
"console.views.application-integrations-lora-cloud.index.dasDescription": "With the LoRa Cloud Modem and Geolocation Services protocol, you can manage common device functionality at the application layer for LoRaWAN-enabled devices.",
953953
"console.views.application-integrations-lora-cloud.index.glsDescription": "LoRa Cloud Geolocation is a simple cloud API that can be easily integrated with The Things Stack to enable estimating the location of any LoRa-based device.",
954+
"console.views.application-integrations-lora-cloud.index.loraSupportTitle": "LoRa Cloud support",
955+
"console.views.application-integrations-lora-cloud.index.loraSupport": "The support for this integration will be dropped after July.",
954956
"console.views.application-integrations-mqtt.index.publicAddress": "Public address",
955957
"console.views.application-integrations-mqtt.index.publicTlsAddress": "Public TLS address",
956958
"console.views.application-integrations-mqtt.index.generateApiKey": "Generate new API key",

pkg/webui/locales/ja.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,8 @@
951951
"console.views.application-integrations-lora-cloud.index.officialLoRaCloudDocumentation": "",
952952
"console.views.application-integrations-lora-cloud.index.dasDescription": "",
953953
"console.views.application-integrations-lora-cloud.index.glsDescription": "",
954+
"console.views.application-integrations-lora-cloud.index.loraSupportTitle": "",
955+
"console.views.application-integrations-lora-cloud.index.loraSupport": "",
954956
"console.views.application-integrations-mqtt.index.publicAddress": "",
955957
"console.views.application-integrations-mqtt.index.publicTlsAddress": "",
956958
"console.views.application-integrations-mqtt.index.generateApiKey": "",

0 commit comments

Comments
 (0)