Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Point relay pairing at the Pulse Mobile install page

rcourtmand43255889d5c
diff --git a/docs/RELAY.md b/docs/RELAY.md
index f9e9e1cf9d..11264bbd1f 100644
--- a/docs/RELAY.md
+++ b/docs/RELAY.md
@@ -82,7 +82,7 @@ Relay configuration is stored encrypted in `relay.enc` in the Pulse data directo
### iOS / Android
-1. Join mobile early access when available.
+1. Pulse Mobile is in early access. Relay and Pro customers get install links from the authenticated [download page](https://pulserelay.pro/download.html).
2. Open Pulse Mobile and tap **Connect to Server**.
3. Scan the QR code from **Settings → Relay** in your Pulse web UI.
4. The app connects via the relay for push notifications and secure Open Pulse handoff.
diff --git a/frontend-modern/src/components/Settings/RelayPairingSection.tsx b/frontend-modern/src/components/Settings/RelayPairingSection.tsx
index 5441816188..edb74ddd2e 100644
--- a/frontend-modern/src/components/Settings/RelayPairingSection.tsx
+++ b/frontend-modern/src/components/Settings/RelayPairingSection.tsx
@@ -2,11 +2,15 @@ import { Component, For, Show } from 'solid-js';
import type { OnboardingQRResponse } from '@/api/onboarding';
import { Card } from '@/components/shared/Card';
import { formField, formHelpText, labelClass } from '@/components/shared/Form';
+import { PULSE_PRO_DOWNLOAD_URL } from '@/utils/licensePresentation';
import {
getRelayDiagnosticClass,
RELAY_CODE_BLOCK_CLASS,
RELAY_DIAGNOSTICS_TITLE_CLASS,
RELAY_DIAGNOSTICS_WRAP_CLASS,
+ RELAY_PAIRING_APP_AVAILABILITY_TEXT,
+ RELAY_PAIRING_APP_DOWNLOAD_LINK_CLASS,
+ RELAY_PAIRING_APP_DOWNLOAD_LINK_LABEL,
RELAY_PRIMARY_BUTTON_CLASS,
RELAY_QR_IMAGE_CLASS,
RELAY_SECONDARY_BUTTON_CLASS,
@@ -62,7 +66,17 @@ export const RelayPairingSection: Component<RelayPairingSectionProps> = (props)
</div>
<p class={formHelpText}>
- Generate a QR code that provisions a dedicated Pulse Mobile relay access credential.
+ Generate a QR code that provisions a dedicated Pulse Mobile relay access credential.{' '}
+ {RELAY_PAIRING_APP_AVAILABILITY_TEXT}{' '}
+ <a
+ href={PULSE_PRO_DOWNLOAD_URL}
+ target="_blank"
+ rel="noreferrer"
+ class={RELAY_PAIRING_APP_DOWNLOAD_LINK_CLASS}
+ >
+ {RELAY_PAIRING_APP_DOWNLOAD_LINK_LABEL}
+ </a>
+ .
</p>
<Show when={props.showPairing}>
diff --git a/frontend-modern/src/components/Settings/__tests__/RelaySettingsPanel.test.ts b/frontend-modern/src/components/Settings/__tests__/RelaySettingsPanel.test.ts
index 47a305c94f..e81b645efc 100644
--- a/frontend-modern/src/components/Settings/__tests__/RelaySettingsPanel.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/RelaySettingsPanel.test.ts
@@ -55,4 +55,9 @@ describe('Onboarding QR payload contract', () => {
expect(relaySettingsPanelStateSource).toContain('setInterval(() => void loadStatus(), 5000)');
expect(relayPairingSectionSource).toContain('getRelayDiagnosticClass');
});
+
+ it('points pairing users at the download page for the Pulse Mobile app', () => {
+ expect(relayPairingSectionSource).toContain('PULSE_PRO_DOWNLOAD_URL');
+ expect(relayPairingSectionSource).toContain('RELAY_PAIRING_APP_AVAILABILITY_TEXT');
+ });
});
diff --git a/frontend-modern/src/utils/relayPresentation.ts b/frontend-modern/src/utils/relayPresentation.ts
index 2a69c9b5ea..cb13ba1efa 100644
--- a/frontend-modern/src/utils/relayPresentation.ts
+++ b/frontend-modern/src/utils/relayPresentation.ts
@@ -40,6 +40,11 @@ export const RELAY_ENABLE_HELP_TEXT =
export const RELAY_ACTIVATION_REQUIRED_LABEL = 'Activation required';
export const RELAY_ACTIVATION_REQUIRED_MESSAGE =
'Remote Access is enabled, but this instance does not have an active Relay token. Activate a Relay-capable plan or turn Remote Access off before pairing mobile clients.';
+export const RELAY_PAIRING_APP_AVAILABILITY_TEXT =
+ 'Pulse Mobile is in early access; install links for Relay and Pro plans are on';
+export const RELAY_PAIRING_APP_DOWNLOAD_LINK_LABEL = 'your download page';
+export const RELAY_PAIRING_APP_DOWNLOAD_LINK_CLASS =
+ 'font-medium text-blue-600 underline-offset-2 hover:underline dark:text-blue-400';
export function getRelayDiagnosticClass(severity: 'warning' | 'error'): string {
return severity === 'error'